Change Modeling Dimension display using iLogic

Change Modeling Dimension display using iLogic

Anonymous
Not applicable
579 Views
1 Reply
Message 1 of 2

Change Modeling Dimension display using iLogic

Anonymous
Not applicable

Hi,

 

Is there a way to change the Modeling Dimension Display to 'Display tolerance' using iLogic

 

Cheers,

Mark

 

Display Tolerance.JPG

 

0 Likes
Accepted solutions (1)
580 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Hi,

 

Yes of course.

Public Sub SketchDimensions()
Dim oparam As Inventor.Parameters

Set oparam = ThisApplication.ActiveDocument.ComponentDefinition.Parameters
oparam.DimensionDisplayType = DimensionDisplayTypeEnum.kDimensionDisplayAsTolerance

End Sub

The code should do what you need.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature