- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a custom entity with some complex properties such as a dynamically populating list, enumerations etc. I tried the non-COM way of populating the property palette but couldnt find how to display the list of properties. I tried the Square sample provided in the ObjectARX 2015 SDK to see how the COM way of displaying the property palette works. Unfortunately I couldnt get it work.
Could you provide me with a sample of displaying the properties of a custom object in property palette please?
What I am trying to achieve is in my custom object I have a list. This list is populated at run time. for one instance of the custom object I might have 3 items in the list, for another instance of the custom object I might 5 items in the list. for example, the list has 3 items say A, B, and C, I should be able to see 3 individual properties A, B and C in the property palette in addition to my other properties.
So when I select my object, the property palette should display something like
A ----
B ----
C ----
other_properties_1 -----
other_properties_2 -----
I also would like to know if there is a simple way to display the properties of a custom object through C#.NET. I can wrap the custom entity to use in .NET but not sure how to display its properties in the palette. I have seen an article in the through_the_interface blog http://through-the-interface.typepad.com/through_the_interface/2009/03/exposing-autocads-properties-... , but it is more of dynamic properties.
Thanks,
Ram.
Solved! Go to Solution.