...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetStepIdOfInstance(SdaiAppInstance instId,
SdaiInteger *stepId);
|
The function edmiReadStepFile can create a STEP identifier model that holds
...
the corresponding instanceID within the EDMdatabase for each instance identifier on the STEP file (stepID)
...
. This function will return the numeric stepID that corresponds to the specified numeric instanceID.
...
The actual data model must be open before this function can be successfully performed.
...
Info |
---|
No STEP identifier model can be created when the ADD_TO_EXISTING_MODEL option is enabled in the edmiReadStepFile or the edmiImportStepFile operation |
...
Arguments
...
Type | Name | Comment |
SdaiAppInstance | instId | A numeric instanceID that uniquely identifies the instance in the EDMdatabase to find the corresponding step identifier of. |
SdaiInteger | stepID | Address of a variable that will receive the numeric stepID that corresponds to the instance specified by the instId argument. This stepID can be used to identify the actual entity instance on the STEP file that was imported into the EDMdatabase when the actual instance was created in EDMdatabase. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiAppInstance instId; EdmiError rstat; SdaiInteger stepId; . . . if (rstat = edmiGetStepIdOfInstance(instId, &stepId)) { /* Error in operation */ printf("\nError: %s in edmiGetStepIdOfInstance\n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf ("\nInstanceID: %lu corresponds to StepID: %ld", instId, stepId); |
...
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|