Jump to content

Streach coolinear dimension (on the same line)


Recommended Posts

Posted (edited)

Looking for lisp to stretch dimension on the same line. Think that somebody can have made something like this but "google'ing" not giving me results (word like coolinear, same line, chain, dimension group). 

Need something similar to autocad function like on the movie (stretch dimension group):

 

 

https://screencast.autodesk.com/Embed/Timeline/63343bb4-2e04-4a03-ad05-de363ae5043a

 

but ZWCAD doen't have it and also, the autocad function stretching few groups of dimesnion.

Found something like this:

https://translate.google.com/translate?sl=pl&tl=en&u=https://kojacek.wordpress.com/2020/04/16/dim-mo/comment-page-1/?unapproved%3D1001%26moderation-hash%3D6118beff7105091e3f92180303c41b82%23comment-1001

But it moves every dimension on curent X or Y, so if they are even not connected dimensions they are moved.

Edited by zwonko
Posted (edited)

Thanks for reply! but nor can't I use it or its just not what i need.

 

Changed link in first post. The movie shows what I'm thinkig about.

1) select one dimension

2)program is selecting nearly dimensions (colinear, on the same line, continous, I don't know how to name it)

3) program let user to stretch this dimensions.

Edited by zwonko
  • 2 weeks later...
Posted

Nobody hasn't got something even nearly what I need? I will try my best to do it myself, but even don't know how to start. The only idea is that program will catch startpoint/endopint of dimension and catch next if there is dimension in the same point. But I think that there are better options. 

Any help, even just the program functions will be helpfull.

 

image.thumb.png.842edec56fa69ad09c7423249227c69b.png

 

Posted

Does Zwcad not have grips that would move the end DIM, or are you trying to stretch all proportionally.

Posted

It has grip but it moves only one dim not all dimensions (all line, comtinous). Three is not option that could stretch dimensions group like on AutoCAD (video on first post)

 

Posted

Have you tried to scale the dimensions?

 

If you know what one dimension should be, you could scale all the dimensions using the Reference option.

 

Post a drawing because your screen picture is not very visible.

Posted (edited)

DWG in attachment.

@eldon If I understand You good, it is not what I want. Scale also change measurement. For me it is only require to move line with dims (like dimline offset from catching point). For example for horizontal dims, it will change dims "position Y" of dimline (one more picture to explain)

image.thumb.png.a88a8e90fbf55758ad38a05c077974fe.png 

 

For example for vertical dims it will change "position Y". So it should work like stretch command with the frame like here for horizontal:

image.thumb.png.92b65605485a5f96dbcdc4759c87cc08.png

 

dimchainage.dwg

Edited by zwonko
Posted

It works. But this is only the sample DWG , very simple DWG. But if having something like in attachment there is a problem with selecting dim line because there is plenty of other object to remove from frame.  Probably LAYISO and LAYUNISO will be helpfull for selecting, but, there are still dimension lines where are very close to each other and user must be carefull for selecting streatching frame or must unselect unwanted elements.

 

real2.dwg

Posted

I found Stretch worked very well.

 

I locked all layers and then unlocked the dimension layer. Then I used Stretch with the crossing-polygon selection window. I had to de-select a few objects, but really no problem even with the rotated section.

 

 

stretch on the slant.PNG

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...