
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In my company I receive Autocad drawings from another department. They are exported from Inventor.
In this drawings everything is only in ModelSpace - PaperSpace is void.
Believe it or not, but this drawings do not have scale on them. I try to find out this scale using VBA.
So I managed to find properties of the frame in drawing (name of this frame is "Ramki ZREW") and it turns out that VBA sees different size of elements than I see on a drawing.
In attachment you can see a drawing with dimensioned frame and screen of vba locals window. This frame consists only of 4 lines so it is easy to compare. As you can see, I have length of 200 in vba and 4000 in autocad . The other dimension in vba is 287 and in autocad it is 5740 - so the scale of drawing is presumably 20.
The same goes to all entities such as TitleBlock elements. With vba I can only get the "starting value" and not the real value in Autocad drawing.
Of course all scaling factors in dimension styles are set to 1.
I think that there is a ModelSpace scale but I am unable to find it with vba.
Can you help?
Solved! Go to Solution.