Author Topic: Enter data to entities with data object - AutoCAD Map 3D.  (Read 1197 times)

0 Members and 1 Guest are viewing this topic.

arperezinf

  • Mosquito
  • Posts: 2
Enter data to entities with data object - AutoCAD Map 3D.
« on: August 15, 2023, 07:27:59 PM »
Hello everyone.

I need a Lisp command, for AutoCAD Map 3D, to input data to blocks with defined data objects.
I need to save the information in POSTE blocks, their layer names start with "POSTE_" and also in PROPIEDAD blocks, their layer names start with "PROPIEDAD_".

POSTE fields:

Street name goes in the "NOMBRE_CALLE" field.
Height goes in the "ALTURA" field.
Height in meters goes in the field "ALTURA_MTS"
Material goes in the “MATERIAL” field
Status goes in the "ESTADO" field.

PROPIEDAD fields:

Street name goes in the "NOMBRE_CALLE" field.
Height goes in the "ALTURA" field.
Number of floors goes in the field "CANT_PISOS"
Number of departments goes in the field "CANT_DEPARTAMENTOS"
Quantity of premises goes in the field "CANT_LOCALES"

I hope you can help me.
Thank you so much.
Greetings.
« Last Edit: August 15, 2023, 07:40:19 PM by arperezinf »

CHulse

  • Swamp Rat
  • Posts: 504
Re: Enter data to entities with data object - AutoCAD Map 3D.
« Reply #1 on: August 16, 2023, 06:49:00 AM »
What is the source format of the data you intend to push into the blocks (ESRI Shapefile, table, etc)?
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

arperezinf

  • Mosquito
  • Posts: 2
Re: Enter data to entities with data object - AutoCAD Map 3D.
« Reply #2 on: August 16, 2023, 08:57:16 AM »
Hello CHulse.

The data was defined in tables, which were then assigned to the elements (blocks).

I explain what is inside the document that I uploaded, on the left side there is a rectangle with the legend of the elements that appear in the drawing.
Inside that rectangle there are two smaller rectangles, the first on the top are the elements of the "POLES" type and the second on the bottom are the elements of the "PROPERTY" type.
If you select an element and look at the properties of the selected element, you will find below a property called "OD", if I select a "POLE", it will say that property "OD:POLES", if I select a "PROPERTY", it will say "OD:PROPERTY", those are table fields that were created in AutoCAD Map 3D from the "MAP CONFIGURATION" toolbar, in the option called "DEFINE OBJECT DATA", when you click on that option , a window will appear where it shows several tables, the tables that have the fields of those elements are the "POSLES" table and the "PROPERTY" table.

I hope I have helped you with this explanation. Any questions, do not hesitate to contact me.
Thank you so much.
Greetings.

CHulse

  • Swamp Rat
  • Posts: 504
Re: Enter data to entities with data object - AutoCAD Map 3D.
« Reply #3 on: August 16, 2023, 10:05:31 AM »
So are you then trying to extract the block data out to another format?
Sorry, I just don't follow what you are asking for here.
What is the end result you are looking for?
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023