• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

lisp for 2d polylinear quotas

  • Thread starter Thread starter chrirehp
  • Start date Start date

chrirehp

Guest
Good morning, everyone!
for work we create polylines of vain, at the end of work it is necessary to quote the planimetria, I would be comfortable to have a lisp that shares the design using the polylines.
Is there already? or would it be feasible to create it?
thanks in advance
 
In fact you do not understand anything from your request. If I had written, "I would have liked to have a lisp doing good things" would have been the same.
 
I'm sorry!
I am looking for a lisp that can quote the various sides or arches of a polylinea.
Is that clear?
 
You're still too vague. There are countless ways to quote the sides of a polyline. If you show an example of how you do "handed" work now, it might give you an idea of what you need.
 
If you really found why you don't share the solution here? the forum is not only to receive but it is also to give; someone in the future might have a need similar to yours.
 
pdim returns associated shares, qt no. from this point of view I would say that it is better pdim. Can someone help me make membership even the quotas of qt?

thanks in advance
 
Actually, the top would be a mix between the two.
qt does not make associative quotas (which I personally prefer - associatives sometimes generate problems) and quota the arc portions correctly. but puts all the quotas with the quota line directly on the line.
pdim generates associative quotas, but does not correctly share the arches. but distance of a tot the quota line from the pline that is listing.
I think we should take part in the p3 value drawn up by education.
(vla-adddimaligned space (vlax-3d-point p1) (vlax-3d-point p2) (vlax-3d-point p3))
But I don't have time to put my hands on...
 
Thanks the same, crystal!
qt use it with a specific quote style (without quota line and without extension lines) for personal needs (They want them like that at work... ). after quotation I use a second lisp that eliminates overlapping odds (when two closed polylines have a matching side).. in this case, if I used qt the two odds disappear (because absolutely coincidences), while if I use pdim, not always the quotas of the coincidence sides disappear, because probably the parameter that defines the distance of the quota text from the relative line does not determine an exact overlap.
 
Actually, the top would be a mix between the two.
......
I believe that we should take action on the value of p3
modified qt.lsp.
now asks for a offset value between the polylinea and the quota line, and personally I like it much more. if someone is more practical than dcl you could also insert it between options. the value of the offset must never be zero. any number is negative and positive, but never zero, otherwise it crashes.
 

Attachments

1712916278943.webpI would say fabulous! Thanks crystal.
I have an extra alternative now. However, regarding the associated quotas, I understand your perplexities, but for me they are fundamental. with these commands is quoted in a moment, but once processed the dwg, ask me tens if not hundreds of stretches I do with the grip (not with the iron command, with iron I would only do the polygon above, but 999 times on 1000 I have rectangles).
qt is (for my work) almost perfect. but does not associate the quotas at the top of the closed polylines.
pdim, instead it generates associated quotas, but the parameter that determines the distance of the text from the quota line (which for me is ideal when it coincides with the segment of polylinea to be quoted) does not always allow me to use effectively a lisp that eliminates the overlapping quotas (I remember that often the rectangles that quoto have coincident sides = with qt they generate 2 odds on the 2 matching sides, while with pdim as well said, but not always, but not always

Finally I have noticed that pdim, always in case it has to quota two rectangles with one side coincidence, associates yes the quotas, but not targeted at the summits of the relative rectangle. In fact, in the case of two rectangles coincident for one side, if iron (with the grip) a side that is not the coincident one or its opposite, but a perpendicular side to the coincident sides, the operation carried out with the grip also affects the quota of the rectangle near. This problem I think is difficult to solve, because the associated quotas are aligned (and not linear) quotas.

I realize that it is difficult to follow the speech and the case is very personal, but if someone wants to deepen, I remain available to provide possibly support, with example files and also with the supply of the lisp that eliminates the overlapping odds.

a greeting to all
 
ask me tens if not hundreds of stretches I do with the grip
You mean grip on the middle of the side? If yes, I can't help you.
if the grip on the edge, keep in mind that if you select a crossing (intercepting also the quota), acting on the edge grip, you will also pull behind the grip of the quota.
and keep in mind that the grips are selectable in "multiplo" simply by holding down shift, so if you want to iron a rectangle and the relative share, just select everything and then act on the 2 grips of the side (selecting them via shift). You will iron both the rectangle and the altitude.
even if in my opinion you would do first with irony.
 
but 999 times over 1000 I have rectangles).
But yes, I'll shoot her. . .
and if you ttu create a dynamic block with already the quotas inside and with the two ironing parameters called b and h?
to change it, select the object, keeping the property panel open (ctrl+1). that shows you the two parameters, manually adjust (example) h from 25 to 32.5 and automatically your block updates the design graphically by pulling behind the odds...

Maybe I get it. the rectangles come to you from some sofware that automatically generates them. How not said...
 

Attachments

I've tried a lot. with blocks and also with lisp to adapt groups with polylines, data fields and constraints. then gp. had given me a huge hand in this discussion:
1712935934767.webpThe problem that persists is the absurd needs of my employer. so, by habit, I always try alternatives. and I hope that by sharing them they are also useful to others.

Anyway go, thanks again.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top