In part document setttings where you have the dimensiondisplayenum, how do i set these? In particaular i want to set to kDimensionDisplayAsTolerance.
Solved! Go to Solution.
Solved by philippe.leefsma. Go to 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.
Thanks Philippe. Not sure how i didnt join the dots to get the answer originally.
opartdoc.ComponentDefinition.Parameters.DimensionDisplayType = kDimensionDisplayAsTolerance