Message 1 of 8
Copy entity - new ObjectId / Handle?
Not applicable
05-04-2006
09:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have a problem with ObjectIDs / handles.
In my drawing I have a dynamic block and a text which shows the attributes of that. To keep it up-to-date I added XDATA to the text, with the handle of the block. So I can update the text sometimes.
But when I copy (ACAD copy) both, the block and the text, I get a very big problem. The handle at the XDATA of the text is the same like before. But it should be the handle of the copy.
Is it possible to manage this?
Perhaps I can add an event-listener. But how do I get the oldID and the copyID of the block.
Thank you.
I have a problem with ObjectIDs / handles.
In my drawing I have a dynamic block and a text which shows the attributes of that. To keep it up-to-date I added XDATA to the text, with the handle of the block. So I can update the text sometimes.
But when I copy (ACAD copy) both, the block and the text, I get a very big problem. The handle at the XDATA of the text is the same like before. But it should be the handle of the copy.
Is it possible to manage this?
Perhaps I can add an event-listener. But how do I get the oldID and the copyID of the block.
Thank you.