Message 1 of 10
Best place for xdata
Not applicable
04-23-2000
11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all.
I have an application which needs to save its data into the AutoCAD file.
The data is basically a long list, which is made up of other nested lists.
It can be of variable length.
I've read the xdata stuff in the ACG, but I have a couple of outstanding
questions.
1) What is the best entity to attach the xdata to ? I need to be able to
hide the entity from the user, stop him/her from deleting it and it must
survive between sessions. I would guess it should be a block insertion, but
can I create an "empty", unselectable block ?
2) I understand that the data should be an association list. However, in my
case this seems unecessary - I could just add (-3 (the big list)) to the
end. Is this a bad idea ?
Thanks
Andy
I have an application which needs to save its data into the AutoCAD file.
The data is basically a long list, which is made up of other nested lists.
It can be of variable length.
I've read the xdata stuff in the ACG, but I have a couple of outstanding
questions.
1) What is the best entity to attach the xdata to ? I need to be able to
hide the entity from the user, stop him/her from deleting it and it must
survive between sessions. I would guess it should be a block insertion, but
can I create an "empty", unselectable block ?
2) I understand that the data should be an association list. However, in my
case this seems unecessary - I could just add (-3 (the big list)) to the
end. Is this a bad idea ?
Thanks
Andy