Jump to content
hagemeijer

Finding the dimType of a dimension in a drawing

Recommended Posts

Hello Vectworkscript profesionals,

 

I'm trying to write an import and export system do export selected objects in a drawing to a text file and vise versa.

 

For importng a linearDim, I need the dimType, but can't find a way to determine this from a dimension object in the source document.

 

Thanks in advance for any help.

 

Erik Hagemeijer.

Share this post


Link to post

Thanks Pat for your answer.

 

The value of Dimension Type is always 0, constrained. I need to know if it is horizontal or vertical constrained.

What I did is look at the dimension text and the delta X and Y. That way I can determine if it is horizontal or vertical (most of the time).

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...