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

create a lisp of a block with attribute

sardaro

Guest
Good morning to all,
I should insert n punctual interventions (plants) on a basic cartography. Every plant has a code. because I have coordinates, I thought I created a cad block, to be inserted in the x coordinates, y at my disposal and with attribute the system code. Since the interventions are multiple, I thought I would create a lisp by connecting the latter to a .txt file. I am not very practical of lisp: until now (by revamping on the web) I managed to create a code in which I insert a block in correspondence of the x,y coordinates but I have not yet managed to automate the insertion of the system code in the attribute.


Can someone help me?
thank you in advance for the help, we also accept other alternatives (except autocad scripts)
 
Good morning to all,
I should insert n punctual interventions (plants) on a basic cartography. Every plant has a code. because I have coordinates, I thought I created a cad block, to be inserted in the x coordinates, y at my disposal and with attribute the system code. Since the interventions are multiple, I thought I would create a lisp by connecting the latter to a .txt file. I am not very practical of lisp: until now (by revamping on the web) I managed to create a code in which I insert a block in correspondence of the x,y coordinates but I have not yet managed to automate the insertion of the system code in the attribute.


Can someone help me?
thank you in advance for the help, we also accept other alternatives (except autocad scripts)
If you already have the blocks positioned and you only have to enter the system code you can use the autocad expresstool commands to export the txt blocks then in excel easily add the information you need, finally reimport the txt file and the blocks will be updated.screen.webp
 

Forum statistics

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

Members online

No members online now.
Back
Top