How to set dimension display as tolerance?

How to set dimension display as tolerance?

CadUser46
Collaborator Collaborator
394 Views
2 Replies
Message 1 of 3

How to set dimension display as tolerance?

CadUser46
Collaborator
Collaborator

In part document setttings where you have the dimensiondisplayenum, how do i set these?  In particaular i want to set to kDimensionDisplayAsTolerance.

 

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
0 Likes
Accepted solutions (1)
395 Views
2 Replies
Replies (2)
Message 2 of 3

philippe.leefsma
Alumni
Alumni
Accepted solution

If you look in the Help Files for DimensionDisplayTypeEnum, the only property of this type is Parameters.DimensionDisplayType.

 

So can access that from PartDocument.ComponentDefinition.Parameters.DimensionDisplayType.

 

Hope that helps,

Philippe.

 

 



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

CadUser46
Collaborator
Collaborator

Thanks Philippe. Not sure how i didnt join the dots to get the answer originally.

 

opartdoc.ComponentDefinition.Parameters.DimensionDisplayType = kDimensionDisplayAsTolerance

 

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
0 Likes