Jump to content
Developer Wiki and Function Reference Links Read more... ×
Matthias Schwarz

Angular Dimension, how to set "Interior Arc" in C++

Recommended Posts

Hi all,

 

for dimensioning of polygonal parts we want to display the inner angle of the corners.

On concave corners ( > 180°) the angular dimensions appears on the outside of the polygon with an value of < 180°.

In the dimension info palette I can use "Interior Arc" to switch the arc to the other side.

The only (boolean) dimension object variable that seems to differ is ovDimTextPosInside, but setting this to true or false does not change anything.

 

So how can I switch an angular dimension to the >180° side in code?

Any suggestions?

 

Thanks and regards

 Matthias

capture_002_28032019_134240.jpg

Share this post


Link to post

OK, i found the problem/solution:

 

gSDK->SetObjectVariable(fhObject, ovDimTextPosInside, true);

does not work, it has to be

gSDK->SetObjectVariable(fhObject, ovDimTextPosInside, (Boolean)true);

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×