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

quotas on the sides of rectangles (polyline) with only one click

  • Thread starter Thread starter Mano63
  • Start date Start date
you can quote directly the side, it also works with the inserted osnap, but if you remove it (osmode = 0) it is better.. .
View attachment 63319
Thank you, now it's all clear! what you showed me works exactly the same way to me too. I was obviously wrong to express myself. the quota that I have to insert has a particularity: is composed of the only text that is detached from the hypothetical quota line of a x value. the quota line "invisible must coincide with the side of the polylinea and the final effect is a text along the side of the polylinea. for this I was talking about a single click (clicking the side you should place the quota "only text") instead you click 2: one to select the side and one to place the quota. Perhaps with dim what I look for is impossible, but still thank you!
 
returning to the quotas with 1 click, this time of the spaces between the closed polylines (v. dwg attached), I have two lisp (which allego): qint2 (starting by typing dimhorver) and (launches by typing q1). - qint2 ha il advantage to quote, by clicking at any point of the lanes between the closed polylines, in sequence (without each time giving back the command) but it disadvantage (not always) to simultaneously insert two quotas (a horizontal and a vertical if you click on the central lane (see dwg)- What? ha il advantage be selective and choose, by clicking at a point of choice, if to return the horizontal or vertical quota (in addition, if you click between the two green polylines, the text of the quota is colored red - signaling a dimension less than the minimum allowed in the project). I do. disadvantage is the fact that at each inserted quota you have to give back the command.
according to you is possible insert in q1click a string to have the always active command and then click and quote in sequence?
thanks to the saints who will support me!
 

Attachments

regarding your need to quote in sequence, I can suggest a somewhat brutal, but functional method, insert between the third and fourth row the following text (repeated 100100 or number, please. . , then before the penultimate row insert a closing bracket)this will repeat for 100 times what is found within the cycle, in fact the whole program.
the flaw is in the fact that if you want to stop the cycle, before 100 clicks, you have to press "esc" leaving prematurely and losing the old settaggio of the variable "pickstyle" that will remain set to zero.
 
thanks joblayer! it works.. and do not reset me pickstyle (at least from a first verification. . )
but I found a mistake: after entering some quotas (the blue ones below) has inserted me the circled quota by clicking in the point indicated by the cross (but the thing is tolerablesssssima)1632992410225.webp100 grazi!!!
 
Unfortunately I found "on the field" that the error is not so tolerable. I attach a test dwg and 2 lisp:
- q1click (let type q1)
- q1click200 ( launches by typing qq)

in the dwg, the lanes to be listed are bound by polylines inserted in groups. as easily verifiable q1click always works, while q1click200 (with sequence command up to 200 times) "high" often the nearest polylines.
 

Attachments

Unfortunately I found "on the field" that the error is not so tolerable. I attach a test dwg and 2 lisp:
- q1click (let type q1)
- q1click200 ( launches by typing qq)

in the dwg, the lanes to be listed are bound by polylines inserted in groups. as easily verifiable q1click always works, while q1click200 (with sequence command up to 200 times) "high" often the nearest polylines.
You have to excuse me but I've calculated wrong, the closing bracket ) was put a higher line to understand us before (setvar 'pickstyle gr)
 
What do you say? !
thanks joblayer, now it's perfect. 200 clicks in 5 min. and perfect odds against 20 min. and possibility of wrong hooks. all multiplied by 5/8 times a day.. .
 
On the sides of the rectangles, with the attached lisp, the quotas on all sides are obtained with a single selection. the negative aspect is that the quotas in blue (v. below) are all double (overlapping).
1633070366554.webp1) Can the lisp be corrected so that all the quotas on the overlapping sides of the closed (rectangular) polylines are not inserted?
2) alternatively, is there a command that with a single selection can eliminate the odds that would overlap each other (I mean both, not one or the other)?
Thank you.
 

Attachments

or, if simpler, obtain with the lisp qt a different coloring of the blue quotas (double) and the green quotas (internal) in order to be able to manage them separately (with successive commands you could eliminate in a single blow the blue quotas and bring outside the rectangles the green quotas also in a single stroke)1633071328862.webpThank you.
 
Okay, this last problem solved it in another section.
then I bring attention to another aspect seen above:
1635760839985.webpand I ask:
can you quote with only 1 selection four polylines closed one adjacent to the other each with two odds on the external sides (commanding to the lisp not to put quotas on the coincident sides of the polylines)?
 

Forum statistics

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

Members online

No members online now.
Back
Top