Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to checked radion button Display as expression
from code API?
UnitsOfMeasure
Default Parameter Input Display
Solved! Go to Solution.
How to checked radion button Display as expression
from code API?
UnitsOfMeasure
Default Parameter Input Display
Solved! Go to Solution.
You have the following two options in API:
Sub DimensionDisplay() Dim oDoc As PartDocument Set oDoc = ThisApplication.ActiveDocument Dim oDef As PartComponentDefinition Set oDef = oDoc.ComponentDefinition oDef.Parameters.DimensionDisplayType = DimensionDisplayTypeEnum.kDimensionDisplayAsExpession End Sub Sub DimensionDisplayViaCommand() Dim oDef As ControlDefinition Set oDef = ThisApplication.CommandManager.ControlDefinitions("DimensionDisplayEqn") oDef.Execute End Sub
cheers,