Author Topic: Handle in xdata questions  (Read 1844 times)

0 Members and 1 Guest are viewing this topic.

csgoh

  • Newt
  • Posts: 176
Handle in xdata questions
« on: October 31, 2007, 02:37:16 AM »
i have a function which add a xdata to an entity
Command: getxdata
Select object with Xdata: (("WG_XSDATA" 20.0 1000 1000 41.0 -184.878 "Yaxis"
"9F" "Xaxis" "A0" "WG-OGL" "A1" "WG-AB1" "A2"))
where 9F A0 A1 and A2 are handles.
I copied this entity and get its xdata and it returns the same.

Command: copy
Select objects: 1 found

Select objects:  Specify base point or displacement, or [Multiple]: Specify
second point of displacement or <use first point as displacement>:
Command: getxdata
Select object with Xdata: (("WG_XSDATA" 20.0 1000 1000 41.0 -184.878 "Yaxis"
"9F" "Xaxis" "A0" "WG-OGL" "A1" "WG-AB1" "A2"))

By right the handle of the new copied entity should be "A6D".
Shouln't handles of entities be also updated in xdata.
Does it mean the way I set up my xdata is wrong?
However, if I copy the object into another dwg, it is updated.
The xdata is also the same when I explode the Lwpolyline entity
Any advice??