hagemeijer Posted November 26, 2019 Share Posted November 26, 2019 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. Quote Link to comment
Pat Stanford Posted November 26, 2019 Share Posted November 26, 2019 Try GetObjectVariableInt(H1,26). From the Vectorscript Appendix: Quote Link to comment
hagemeijer Posted November 27, 2019 Author Share Posted November 27, 2019 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). Quote Link to comment
Pat Stanford Posted November 27, 2019 Share Posted November 27, 2019 Sounds like you found the best option. Quote Link to comment
Recommended Posts
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.