Article - CS115855

How to Set / Change Model Unit System through JLink for Creo Parametric?

Modified: 13-Jan-2016   


Applies To

  • Pro/ENGINEER and Creo Elements/Pro Wildfire to Wildfire 5.0
  • Creo Parametric 1.0 to 3.0
  • Creo Parametric J-Link API

Description

  • How to Set / Change Model Unit System through JLink for Creo Parametric?
  • Synchronous mode JLink Example code to set current model unit system to "millimeter Kilogram Sec (mmKs)"
  • Key J-Link methods used:
    • GetPrincipalUnits(), ListUnitSystems(), pfcUnits.UnitConversionOptions_Create(), SetPrincipalUnits()
This is a printer-friendly version of Article 115855 and may be out of date. For the latest version click CS115855