...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiEmptyContainerBN(SdaiModel modelId,
SdaiString containerName);
|
Removes all instances from an instance container identified by its name and the modelId. The removed instances will not be removed from the model. This function may not be used unless the container was assigned a name when it was created. I no name was assigned, use edmiEmptyContainer. Related functions: edmiCreateInstanceContainer, edmiDeleteInstanceContainer, edmiDeleteInstanceContainerBN, edmiEmptyContainer, edmiGetInstanceContainerId, edmiGetInstanceContainers, edmiSetContainerCheckedout, edmiSetContainerCheckedoutBN, edmiUnsetContainerCheckedout, edmiUnsetContainerCheckedoutBN, edmiInstanceToContainer, edmiInstanceToContainerBN, edmiInstancesToContainer, edmiInstancesToContainerBN.
Header:
#include "sdai.h"
Prototype:
EdmiError edmiEmptyContainerBN(SdaiModel modelId,
SdaiString containerName);
Arguments:
Arguments
...
Type | Name | Comment |
SdaiModel | modelId | Instance Id that uniquely identifies the edmModel in the EDMdatabase |
SdaiString | containerName | The optional name that was assigned to the instance container when it was created. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Option | Comment |
---|
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; SdaiModel modelId; . . . if (rstat = edmiEmptyContainerBN(modelId, "myContainer")) { |
...
printf("\nError %d in edmiEmptyContainerBN: %s", rstat, |
...
edmiGetErrorText(rstat)); |
...
goto err; |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|