Class LynX
LynX is a query system to introspect SystemGraph assets easily
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public static class LynX
Fields
Name | Description |
---|---|
BindingQueryFormat | The binding query format |
kBindingName | The constant binding name |
kEdge | The constant edge |
kEdgeFollower | The constant edge follower |
kGraphDatabaseGuid | The constant graph database unique identifier |
kGraphInstanceId | The constant graph instance identifier |
kGraphName | The constant graph name |
kGraphNodeGuid | The constant graph node unique identifier |
kGraphNodeIndex | The constant graph node index |
kGraphNodeIndexCreate | The constant graph node index create |
kLimitQueryCache | Limit count of instances in the query cache |
kNodeGuid | The constant node unique identifier |
kNodeIndex | The constant node index |
kParameterGuid | The constant parameter unique identifier |
kParameterIndex | The constant parameter index |
kParameterName | The constant parameter name |
kSep | Separator between fields of a query string |
mapGraphObject | Graph Object Local cache entries |
Methods
Name | Description |
---|---|
ConvertQuery(string, QueryFormat) | Convert the query to a new format |
Get<T>(string) | Get data from a query path string Query format: g:[graphName] (graphName is the file part of the filename) gi:[InstanceID] (Find graph asset from instanceID, can only find object instance, NOT the asset itself, always use the runtime graph instanceid here) gg:[graphDatabaseGUID] (Graph from the AssetDatabase GUID) gn:[graphNodeGUID] (The graph asset is deduced from a graph node) gni:[index] (Search graph node by index of creation in the asset, the function returns null when not found) gnic:[index] (Search graph node by index of creation in the asset in subgraph create new instance mode, the function returns null when not found) ng:[NodeGUID] (NodeGUID of SerializeNode) ni:[NodeIndex] (Retrieve Node by Index) e:[SrcPortName+DstPortName] (Retrieve edge) ef:[SrcPortName+DstPortName] (Retrieve edge, sNode points to connected node) pg:[ParameterGUID] (Retrieve Parameter by GUID) pn:[ParameterName] (Retrieve Parameter by Name) pi:[ParameterIndex] (Retrieve Parameter by Index) bn:[BindingName] (Retrieve the Binding name) |
Get<T>(string[]) | Get data from a query path array |
InvalidateAll() | Clear the cache |
SignalAssetChange(SystemGraphObject) | Signal Asset Change to invalid cache |
SubQuery(string, int, int) | Extract a sub query from the main query string using from/to indexing |