Skip to main content
5-Regular Member
September 20, 2022
Question

IpfcBaseDimension.show instructions

  • September 20, 2022
  • 1 reply
  • 679 views

I am using Creo Parametric - Release 5.0 (connected) Release 5.0 and Datecode5.0.1.0

I have a dimension As IpfcBaseDimension. I want to show() it but I need of "_instructions as Object" and I have no idea of what this object is. Can you help me?

1 reply

15-Moonstone
September 20, 2022

This object Specifies the location where the dimension should be shown:

    - Pass null to show the dimension in the top level part or assembly.
    - Pass an instance of ComponentDimensionShowInstructions to show the dimension contained in an assembly component in a top level assembly.
    - Pass an instance of DrawingDimensionShowInstructions to show the dimension in a drawing view.
You can create one of these instances using methods:

pfcAssembly.ComponentDimensionShowInstructions_Create(/*optional*/ ComponentPath)

pfcView2D.DrawingDimensionShowInstructions_Create(View2D, /*optional*/ ComponentPath)

 

This is official documentation from jlink but I believe it is same for all Creo APIs.