.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Properties style palette

2 REPLIES 2
Reply
Message 1 of 3
SRSDS
259 Views, 2 Replies

Properties style palette

I need some advice. 

 

The 'application' I am trying to make currently adds entites to a drawing. Each entity has data associated with it but also part of a tree of infomation so I store xrecord data along with the objectID in a dictionary tree within the drawing. 

 

I want to be able to select multiple entities and have any matching data shown in a palette. The same way the properties palette behaves.

 

I have it working but I can see AutoCAD crunching the data. It cycles through the selection set and the dictionary tree extracting entity data until it finds an ID match in the xrecord.

 

Does anyone have any thoughts on how the properties palette works so quickly or suggestions on how I could improve the speed.

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: SRSDS

Is objectID the key in the xrecord?

Message 3 of 3
SRSDS
in reply to: Anonymous

No.

I would never have thought of it and didn't know it was possible.

Thankyou. I'll have to investigate.

 

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost