Adding property in general section

Adding property in general section

arpeet.shah
Community Visitor Community Visitor
578 Views
3 Replies
Message 1 of 4

Adding property in general section

arpeet.shah
Community Visitor
Community Visitor

Hello Folks, Can we modify the "Properties Palette functionality" of AutoCAD to add a custom property in the General section for each entity using AutoCAD .Net api ?

I am facing challenges to add a property in the General section so that I can fetch it in Navvisworks and forge. Please let me know if it is possible and if we can add a property in the General section. Below is the reference image for you to understand the exact location where I wish to add custom field in the pallet.

Thanks in advance.

0 Likes
579 Views
3 Replies
Replies (3)
Message 2 of 4

Ed__Jobe
Mentor
Mentor

See this topic.

https://forums.autodesk.com/t5/net/how-to-create-custom-prop-in-properties-palettes-and-assign-to/m-...

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 4

arpeet.shah
Community Visitor
Community Visitor

Hello @Ed__Jobe , the solution that you have provided above doesn't provide us the desired results.
We are trying to add custom properties in the general section of the Property pallet.

For a clear view, we have tried the following solutions as well:

https://through-the-interface.typepad.com/through_the_interface/2009/03/exposing-autocads-properties...

https://www.keanw.com/2009/03/exposing-autocads-properties-palette-functionality-to-net---part-2.htm...

But somehow we are not able to build the code in this. We are looking for the similar solution in AutoCAD 2020 and above.

0 Likes
Message 4 of 4

Ed__Jobe
Mentor
Mentor

The post I linked to mentioned that you can't do it without C++ to develop an *.arx file. That's what Kean did in part 1, the post you linked to. In part 2, he supplied the code for the arx project and a arx file, plus the NET code to use the arx. To compile the arx code, you need to use C++, even though the code looks similar to C#.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes