TheSwamp

Code Red => .NET => Topic started by: nekitip on December 22, 2014, 10:52:02 AM

Title: who is parent of clone
Post by: nekitip on December 22, 2014, 10:52:02 AM
Is there any way to tell who is the parent of clone?
Since, now I'm sort of overruling cloning, and expecting that clone of that object will be next... sort of. Also, one may also write values to xdata... have not tried that, but...
Is there a way to just read objectid of clone somehow?
This would be so logical, I cant think its not there.
Title: Re: who is parent of clone
Post by: MexicanCustard on December 22, 2014, 01:13:55 PM
parent?
Title: Re: who is parent of clone
Post by: Kerry on December 22, 2014, 03:57:51 PM
parent has different meanings for different circumstances.

It may mean the object containing the child.

It may mean the object the child is derived from.

As best I know there is not a way to determine the clone source object.

Title: Re: who is parent of clone
Post by: nekitip on December 22, 2014, 04:03:16 PM
Well, I didn't know how to call it.
Polyline (in DB with ObjectID) gets cloned in worlddraw overrule and you get only clone of this polyline, (and drawable has no objectID). So, if you have something in worlddraw overrule, how to tell objectid of original polyline?