This function saves the selected instance and its dependencies in a stream.
Syntax
//
// Strong typing definition
//
int64_t SaveInstanceNetworkS(
OwlInstance owlInstance,
bool includeInverseRelations,
const void * callback,
int64_t size
);
//
// Weak typing definition
//
int64_t __declspec(dllexport) __stdcall SaveInstanceNetworkS(
int64_t owlInstance,
bool includeInverseRelations,
const void * callback,
int64_t size
);
Property owlInstance
Size: 64 bit / 8 byte (value)
The handle to the specific instance in the design tree. The instance handle is static within one open model but is most probably different when the same instance is opened in another model. The instance is always exactly of one unique class.
Property includeInverseRelations
Size: 8 bit / 1 byte (value)
When deciding what instances should be included in the network, each instance related through an inverse relation (recursively) should be included if this value is set to true.
Property callback
Size: 32 bit / 4 byte (reference)
The pointer to the function that will be called within this function. Please look at the examples how to create the callback function and how it will be called. In case this is not possible or complex there is an array call, technically the same call, however the callback function is embedded within the library.
Property size
Size: 64 bit / 8 byte (value)
The (maximum) size of the content handled by the callback function.