Hi,
Is it possible by iLogic to determin whether a dimension is angular or not?
I know it is possible to add angular dimension by AddAngular but is it possible to check the existing one?
I could not find any difference between Linear and Angular dimension except that the Precision parameter in the Edit Dimension window is called Primary Unit or Angular Unit and also Tolerance Precision called Primary Tolerance and Angular Tolerance but actually, they belong to the same parameters Precision and TolerancePrecision so I cannot use Try-Catch to determine whether the dimension is Angular or Linear, maybe there is some other way, something else that make difference between Linear and Sngular dimensions.
Thank you
Have a lovely day.
Solved! Go to Solution.
Solved by Ralf_Krieg. Go to Solution.
Hello
Check the Dimension.Type if it is ObjectTypeEnum.kLinearGeneralDimensionObject or ObjectTypeEnum.kAngularGeneralDimensionObject
Could you also write the Enum Object Type for the diametric/radial dimensions for iLogic, please?
Hello
kDiameterGeneralDimensionObject and kRadiusGeneralDimensionObject
Can't find what you're looking for? Ask the community or share your knowledge.