Creating External Objects
 
Functions Introduced:
After the object class is registered, you can create the external object by calling the function ProExtobjCreate(). This function requires as input the object class and owner of the external object. (Currently, the owner of the external object can be a part or an assembly only.) As output, this function gives a pointer to the handle of the newly created external object.
When the external object is created, it is assigned an integer identifier that is persistent from session to session. The external object is saved as part of the model database and will be available when the model is retrieved next.
To delete an external object, call the function ProExtobjDelete(). This function requires as input both the object to be deleted and the class to which it belongs. To determine the class of an external object, call the function ProExtobjClassGet().
¿Fue esto útil?