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

insert horizontal/vertical odds with just one click

  • Thread starter Thread starter Mano63
  • Start date Start date

Mano63

Guest
Good evening to all,
I ask vs. help to speed up the insertion of quotas. I have so many "populated" planes from closed polylines (large rectangular/quadrate prevalence) spaced between them differently. the closed polylines represent exhibition spaces, while the spaces between the closed polylines represent the access lanes to the aforementioned spaces.
I come to this point: I would like to quote the lanes with just one click, specifying first whether the quota should be horizontal or vertical. I try to explain myself better: if I have two closed polylines flanked at distance "x" I would like a command "horizontal rate" that, with a click between the two polylines insert the quota, vice versa, if I have two polylines one above and one below with the command "vertical rate" the program must perform the relative quotation (vertical).
I tried on the net, but unfortunately I didn't find anything.
Thank you in advance who will help me.
 
if I have two closed polylines flanked by distance "x" I would like a command "horizontal rate" that, with a click between the two polylines insert the quota,
if I have two polylines one above and one below with the command "vertical rate" the program must perform the relative quotation (vertical).
both octeni with the command dimlineare; of course you have to select the straight stretch of polylines. a polyline is a unique entity, but the quotation controls recognize the individual strokes
 
thanks massive,
with dimlineare I have to click 3 times. I look for a command that allows me to place the quota with just one click: the command should locate 1 point belonging to each of the two polylines (the closest to where I clicked)
 
I don't think there's such a command. you should create a lisp and associate it with a key or other recallable method
 
for the association to the button I have no problem, while for the lisp I know to load, but I am not able to create it.. I'm looking for help with this.
Thank you.
 
but use _qdim? (fast rate)
selections in block the 2 adjacent polylines and the point where you want to put the quota.
You're going to get more space dims, but an extra info doesn't hurt.
 
...unfortunately the surpluses would force me to cancel them. every day I have to put a seventy of odds on 10,15,20 tables... I don't know how valid my idea can be, and I can't imagine if what I think works as a concept can be translated into lisp without seriously committing who might be able to try to solve the problem. .
thanks crystal for the interest shown
 
I tried to make a lisp for your problem, once loaded the lisp you must click "v" and send (for vertical) or "o" and send (for horizontal) , you will see two concentric circles that will be pointer, the internal one indicates the approximate central position of the quota that you want to insert, the outer one the maximum search limit for the walls of support of the ends of the quota. the quota will be inserted only if the supporting walls are found, to change the parameters of the two driving circles you need to change the file lisp (opening it as text file) to rows 28 and 29, example from (setq sdis 500) in (setq sdis 20), this depends on the scale factors in which you are working, I don't know them, do a test
 

Attachments

It works! !
horizontal command everything ok
vertical command: sometimes (say 1 on 4-5) the outer circle (which I set with radius 4200, to quota lanes up to 8000 mm) intercepts the average points of the horizontal traits of the polylines, with the result that puts me a horizontal quota that measures the distance between the two average points. then I tried to disable the object snaps and (curiosity) by typing "or" or "v" the outer circle is blocked (remains visible but released from the cursor, and disappears with "esc"). so I have to work with active snaps (but this does not involve troubles).
a question: if you have already solved my problem, is the circle that determines the range of action indispensable? is it not possible to force the program to identify with "or" the two points (one to the right and one to the left) closer to the clicked point and with "v" the two points (one to the top and one down) closer to the clicked point (without the limits dictated by the outer circle)?
thanks for your job layer, and a greeting to all users.
 
thanks gp!!!
I would say perfect. choose from horizontal or vertical alone, they are speechless. I have to devise something to make myself useful to this community... I have many years of experience with autocad (poi architecture. ..) but only as a user, at most I can customize keyboard and command icons, but I totally miss the basics.
thanks again and you, joblayer, crystal and massivonweizen
 
Who wants to be holy?
starting from q.lsp or quotaov.lsp, it is possible that the quota inserted, in case it is less than 3000, the text of the quota is automatically visible in some way, e.g. text in red, or squared/circle text (between 3, for me it would be better red).
Don't work today, of course. My request is valid for the future, unless you commit too much.
Thank you.
 
works benign, but (at least to me) vertically does not go
and it seems to be difficult if the entities in the dwg are so many.
My problem?
difficult to say, the lisp does not do controls and works with "ordinated" polygons
attach a dwg where you don't work vertically
 

Forum statistics

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

Members online

No members online now.
Back
Top