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

lips or tools for loading area/length and quotas

  • Thread starter Thread starter eug994
  • Start date Start date

eug994

Guest
Hello, I would need help in creating a command (if it does not already exist) that allows me to insert inside blocks with attributes the characteristics (e.g. surface and length) of the selected polylinea.
I know that there is the command input data field, but this command is not automatic, I have to manually insert it of the block attribute, and then adapt the polyline to the new "return".
I would also like to know if there is a command that allows me to insert two odds, maybe perpendicular to each other or that follow the perimeter of the closed polylinea selected.
Thank you.
 
per la seconda domanda guarda qua: for the first I can not help you but as a simple "user" I must say that I did not understand well what you need, maybe if you write a little more clearly what you need (and maybe attach an example), someone who knows how to do it (so not I) can help you more easily
 
Thank you very much for the answer. that lisp is great only that obviously takes into account also of possible reservges while I was looking for a less "cooled".
I still follow your advice and try to explain better what I look for.
in the attached image there are a series of polylines of compartment, and in each attribute I have to insert surface and perimeter (besides other features) inside the block with attributes, then insert them manually is a workmanship as well as being always at risk of error.
Therefore I was looking for a lisp that allows me to connect the attribute to the characteristics of polylinea.
I could do this in part with the "data field" by copying the command in the attribute in the interest block by copying the combo "block*polilinea" in each compartment and adapting the polylinea to the compartment manually, but it takes as much time.
So ultimately I try or a lisp that connects block with attributes to the polylinea or maybe if there is a command that I do not know that allows me to adapt a polyline to the compartment in which it is inserted (no _bpoly that obviously does not allow me to connect it to the block).
 

Attachments

  • Screenshot (7).webp
    Screenshot (7).webp
    53.3 KB · Views: 13

Attachments

Thank you very kind! ! !
I imagine this is the fastest way to run the operation I described, so I can reduce the errors a lot.
instead to "extend" a certain polylinea along the compartment of interest (so maybe another polylinea created with cont command) is there something you know?
I'll explain better by attaching an image in this case.
I have connected through the command "data field" the surface attribute to blue polylinea, now copying n times this combo (block with attributes+blue polylinea) inside the rooms of my interest, with a command that extends the blue polylinea along the rooms (green polyline) I could be even faster using the command "rigen".
 

Attachments

  • Screenshot (9).webp
    Screenshot (9).webp
    45.7 KB · Views: 13
practically the command should be "blue polyline extends on green pollinea" or extend blue polylinea to the next contour(? )
 
practically the command should be "blue polyline extends on green pollinea" or extend blue polylinea to the next contour(? )
look to me what you ask is not easy to plan and the use that could be done in general is almost null.
But I have an idea for an "ignorant" solution:
there are lisp to create polylinese with a specific offset set on an existing polylinea (just look, maybe try with different codes), try to set offset to 0 (the polyline draws you overlay), copy in each apartment (or compartment) your block with surface and area and then use the lisp above to insert the data in the block.
"ignorant" but functional solution. . .
 

Forum statistics

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

Members online

No members online now.
Back
Top