AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Object Data in C#

1 REPLY 1
Reply
Message 1 of 2
ilia.borisov
1266 Views, 1 Reply

Object Data in C#

Can someone share part of code that create object data table and assign values to object?

1 REPLY 1
Message 2 of 2
norman.yuan
in reply to: ilia.borisov

You will use AutoCAD Map .NET API to do it. 

 

You can download AutoCAD Map ObjectARX SDK (not AutoCAD ObjectARX SDK, which you probably already downloaded, if you have already been doing AutoCAD .NET API, which is necessary base knowledge/kill before you can go on with Map .NET API). As AutoCAD ObjectARX SDK, Map ObjectARX SDK comes with Map .NET API sample code. Included are sample code dealing with ObjectData.

 

You can also directly find sample code online from AutoCAD Map Development document (saving you from downloading Map ObjectARX SDK), such as here (for AutoCAD Map 2014, but since Map .NET API remains unchanged for many years, it applies to latest Map 2020):

 

http://docs.autodesk.com/MAP/2014/ENU/Developer_Guides/index.html?url=filesMAP_GEO/GUID-295BB5A9-DA3... 

 

HTH

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost