Creating External Object References
 
Functions Introduced:
The ProWExtobjRef object is an opaque workspace handle that defines an external object reference. To allocate the memory for a new external object reference, call the function ProExtobjRefAlloc(). To free the memory occupied by an object reference, call the function ProExtobjRefFree().
If you have the ProSelection object that corresponds to your intended reference geometry, you can set this ProSelection to be the reference by calling the function ProExtobjRefselectionSet(). To obtain the ProSelection object for a specified reference, use ProExtobjRefselectionGet().
You might need to use “reference types” to differentiate among the references of an external object. To set a reference type, call the function ProExtobjReftypeSet(). To obtain the reference type of the specified reference, call the function ProExtobjReftypeGet().
Once you have set the ProSelection and the reference type for an external object reference, you must add the reference to the external object using the function ProExtobjRefAdd(). To remove a reference from an external object, use ProExtobjRefRemove().
這是否有幫助?