Creo Simulate Object References
References to specific Creo Simulate items are contained within the Creo Simulate object references structure. This structure is represented in Creo TOOLKIT by the opaque handle, ProMechObjectref.
Functions Introduced:
• ProMechobjectrefAlloc()
• ProMechobjectrefTypeGet()
• ProMechobjectrefTypeSet()
• ProMechobjectrefIdGet()
• ProMechobjectrefIdSet()
• ProMechobjectrefPathGet()
• ProMechobjectrefPathSet()
• ProMechobjectrefFree()
• ProMechobjectrefProarrayFree()
The function ProMechobjectrefAlloc() allocates memory for the Creo Simulate object references handle.
The function ProMechobjectrefTypeGet() returns the type of the specified Creo Simulate object. The output argument type is one of the PRO_SIMULATION* types.
The function ProMechobjectrefTypeSet() sets the type of the Creo Simulate object.
The function ProMechobjectrefIdGet() obtains the ID of the specified Creo Simulate object.
The function ProMechobjectrefIdSet() sets the ID of the specified Creo Simulate object.
The function ProMechobjectrefPathGet() returns the complete path of the Creo Simulate object reference from the root assembly to the part or assembly that owns the specified Creo Simulate object.
The function ProMechobjectrefPathSet() sets the complete path for the Creo Simulate object reference.
Use the function ProMechobjectrefFree() to release the memory assigned to the Creo Simulate object reference handle.
Use the function ProMechobjectrefProarrayFree() to release the memory assigned to a ProArray of Creo Simulate object reference handles.