Grasshopper API
GH_LexerPerformLexicalReplaceT Method (GH_Lexer, GH_Lexer, DataTreeT, DataTreeT) |
Lexical Find..Replace operations.
Namespace: Grasshopper.Kernel.Data
Assembly: Grasshopper (in Grasshopper.dll)

public static void PerformLexicalReplace<T>( GH_Lexer source, GH_Lexer target, DataTree<T> tree_in, DataTree<T> tree_out )
Public Shared Sub PerformLexicalReplace(Of T) ( source As GH_Lexer, target As GH_Lexer, tree_in As DataTree(Of T), tree_out As DataTree(Of T) )
Parameters
- source
- Type: Grasshopper.Kernel.DataGH_Lexer
Search mask. - target
- Type: Grasshopper.Kernel.DataGH_Lexer
Replace pattern. - tree_in
- Type: GrasshopperDataTreeT
Source data tree. - tree_out
- Type: GrasshopperDataTreeT
Target data tree.
Type Parameters
- T
- Type of data in target tree.
