edmiGetModelBN
SdaiModel edmiGetModelBN(SdaiString repositoryName, SdaiString modelName);
Returns the numeric modelID that uniquely identifies the specified model in the EDMdatabase.
Arguments
Type | Name | Comment |
SdaiString | repositoryName | Specifies the name of the repository in the EDMdatabase that holds the model of interest. Repository names are case sensitive. |
SdaiString | modelName | Specifies the name of the model of interest. Model names are case sensitive. The combination of the <repositoryName> and <modelName> arguments uniquely identifies a model in an EDMdatabase. |
Return Value
Â
Type | Comment |
SdaiModel | Â |
Options
Â
Example
Â
SdaiModel modelId; . . . modelId = edmiGetModelBN("DataRepository", "AP203_Bumper"); if (! modelId) { /* Error in operation */ printf("\nError: %s in edmiGetModelBN\n", edmiGetErrorText(sdaiErrorQuery())); goto error; } /* print modelId of model */ printf("\nModelId : %lu", modelId); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â