Article - CS112668

Object Reference APIs in Windchill

Modified: 22-May-2025   


Applies To

  • Windchill PDMLink 9.1 to 13.0

Description

  • Object References and APIs related to them
  • Getting the Windchill object handle using its reference string
  • Initializing an object from its reference
  • How to initialize an object from the string representation of its reference in Windchill?
  • Difference between the Version Reference(VR:) and the Object Reference (OR:) for Windchill objects
  • API to get an object (WTPart, WTDocument etc.) from its VersionReference string identifier (e.g. VR:wt.part.WTPart:XXXXXX )
  • API to get an object (WTPart, WTDocument etc.) from its ObjectReference string identifier (e.g. OR:wt.part.WTPart:XXXXXX )
  • How to programmatically get the object from "Version Reference" or "Object Reference"
  • How to programmatically get the object (e.g. MPMProcessPlan), using a format string "VR:<Object_Class>:<Id>"
  • API to get the Version Reference of an object in the format VR:<Object_Class>:<Id>
  • API to get the Object Reference of an object in the format OR:<Object_Class>:<Id>
  • API to get object from object id from database, eg, ApplicationData object
This is a printer-friendly version of Article 112668 and may be out of date. For the latest version click CS112668