Automatic dimension

Automatic dimension

larsr2866
Enthusiast Enthusiast
29,682 Views
60 Replies
Message 1 of 61

Automatic dimension

larsr2866
Enthusiast
Enthusiast

Hello everyone,

 

I did a bit of searching on this forum for automatic dimensions. I have found some interesting tips for automatic dimensions with selecting rectangles, but i'd try something else.

 

I made a screenshot for what i want to achieve. I want to automatically create 2 dimensions between the first lines/polylines/objects/... where i am clicking in. 

 

I hope it's clear on the screenshot i took ? (the red circle is the position i click, and at that position i would have a vertical en horizontal dimension between the first lines/plines.)

 

I don't know if there are options for this?

 

Thanks in advance.

Lars

dim.jpg

 

 
 
 
 
 
0 Likes
29,683 Views
60 Replies
Replies (60)
Message 61 of 61

marko_ribar
Advisor
Advisor

I finally updated my posted code... I made it shorter by adding (foo) sub function and added one new choice (dimensioning parallel to X axis, to Y axis, or both)... Also dimensioning should work as desired in rotated UCS...

The code is on previous page : https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/automatic-dimension/m-p/12789190/hig... 

Thanks for attention...

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes