Use the GetContextID() iLogic API to get the key context for querying Nastran entity parameters.
Syntax
GetContextID( [KeyContext] As Long)
Parameters
Name | Type | Description |
---|---|---|
KeyContext | Long | Output parameter that specifies the key context. This key context must be supplied when working with any B-Rep entities (e.g. Face, Edge, Vertex). The key context thus obtained is passed to GetReferenceKey() Inventor API to get the reference key for an entity. Then the KeyToString() Inventor API is called to get the String form of the reference key of the entity—which is passed to GetNastranEntityParams() Inventor Nastran iLogic API. |