copy it and remove the source-object.
- alfred -
Yeah.... I meant more via programming. Well... hold on, maybe you are on to something. I will explore that idea a little more, it's a little roundabout, but that might work.
I want use match properties for hatch patterns, but since our notes are linked to the handle ID numbers of that hatch, a different hatch means it needs a differnt label. I get the area and other data via xdata. Match prop keeps the same handle number but assigns it a different pattern name. I need it to destroy the handle ID and give it a new one.
No, you can't assign an arbitrary handle to an object.
>> No, you can't assign an arbitrary handle to an object.
Maybe not with LISP (I don't use LISP so my knowledge is very limited for that), but with dotNET or ARX you can. You can e.g. create a new line to get a new handle and then exchange the handle between any object and the handle of that line. Afterwards you can then delete the line.
- alfred -
Thats not assigning a new handle, its creating a copy of the object which AutoCAD then assigns a unique handle ID during the creation process. Its not the original object, even if it has the same properties. For example, you can't create a new line (even a copy) with handle ID "456AB" even if it's currently unassigned.
Start with some of our most frequented solutions to get help installing your software.