Jump to content
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

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.

×
×
  • Create New...