edmiWideCopyInstanceBN
EdmiError edmiWideCopyInstanceBN(SdaiInstance instanceId, SdaiModel modelId, SdaiInteger options, SdaiString *INinclusiveExclusiveRecursive, SdaiString *INinclusiveExclusiveShallow, SdaiString *OUTinclusiveExclusiveRecursive, SdaiString *OUTinclusiveExclusiveShallow, SdaiInstance *newInstanceId);
The data model locating the source instance must be open for read access and the target data model must be open for write access, before this operation can be successfully performed.
Arguments
Type | Name | Comment |
SdaiInstance | instanceId | A numeric instanceID that uniquely identifies the instance to be copied in the EDMdatabase. |
SdaiModel | modelId | A numeric modelID that uniquely identifies the data model locating the target instance(s). |
SdaiInteger | options | Specifies the options to be used in the invocation of the edmiWideCopyInstanceBN function. The <options> value can be specified as a bitwise OR between the actual options to enable. All option names are defined on the header file sdai.h. |
SdaiString | INinclusiveExclusiveRecursive |
|
SdaiString | INinclusiveExclusiveShallow |
|
SdaiString | OUTinclusiveExclusiveRecursive |
|
SdaiString | OUTinclusiveExclusiveShallow |
|
SdaiInstance | newInstanceId | An address to a variable that will receive a numeric instanceID that will uniquely identify the created instance (target instance) in the EDMdatabase. |
Return Value
Options
Option | Comment | |
---|---|---|
1 | INCLUDE_FILTER |
|
2 | EXCLUDE_FILTER |
|
Example
<example>
See also
Filter by label
There are no items with the selected labels at this time.