Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set dimension display as tolerance?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
CadUser46
322 Views, 2 Replies

How to set dimension display as tolerance?

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
2 REPLIES 2
Message 2 of 3

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

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report