Author Topic: who is parent of clone  (Read 1439 times)

0 Members and 1 Guest are viewing this topic.

nekitip

  • Guest
who is parent of clone
« 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.

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: who is parent of clone
« Reply #1 on: December 22, 2014, 01:13:55 PM »
parent?
Revit 2019, AMEP 2019 64bit Win 10

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: who is parent of clone
« Reply #2 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.

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

nekitip

  • Guest
Re: who is parent of clone
« Reply #3 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?