SaveInstanceNetworkA

This function saves the selected instance and its dependancies in an array.

Syntax

//
//   Strong typing definition
//
int64_t         SaveInstanceNetworkA(
                        OwlInstance             owlInstance,
                        bool                    includeInverseRelations,
                        unsigned char           * content,
                        int64_t                 * size
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall SaveInstanceNetworkA(
                                                int64_t                 owlInstance,
                                                bool                    includeInverseRelations,
                                                unsigned char           * content,
                                                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 content

Size: 64 bit / 8 byte (reference)
The content of this IO call, the size of the content is defined by attribute size.

Property size

Size: 64 bit / 8 byte (reference)
The size of the content as defined in number of bytes.