zwonko Posted September 6, 2021 Posted September 6, 2021 (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 September 6, 2021 by zwonko Quote
Jonathan Handojo Posted September 6, 2021 Posted September 6, 2021 I'm not too clear on your request. The best I can offer is this one I wrote up myself: Align To Direction Quote
zwonko Posted September 6, 2021 Author Posted September 6, 2021 (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 September 6, 2021 by zwonko Quote
zwonko Posted September 21, 2021 Author Posted September 21, 2021 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. Quote
BIGAL Posted September 22, 2021 Posted September 22, 2021 Does Zwcad not have grips that would move the end DIM, or are you trying to stretch all proportionally. Quote
zwonko Posted September 22, 2021 Author Posted September 22, 2021 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) Quote
eldon Posted September 22, 2021 Posted September 22, 2021 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. Quote
zwonko Posted September 22, 2021 Author Posted September 22, 2021 (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) For example for vertical dims it will change "position Y". So it should work like stretch command with the frame like here for horizontal: dimchainage.dwg Edited September 22, 2021 by zwonko Quote
zwonko Posted September 22, 2021 Author Posted September 22, 2021 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 Quote
eldon Posted September 22, 2021 Posted September 22, 2021 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. Quote
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.