Change in the hierarchy

Is there any DXL Script to change the hierarchy of the objects based on the attribute value mentioned.

Suppose if the attribute value is "2.2.2.1", then the corresponding object number should be changed from "x" to "2.2.2.1"

Just a replacement of the readonly attribute value "Object Number"

Matthew
Lion29 - Tue Mar 16 14:08:21 EDT 2010

Re: Change in the hierarchy
llandale - Wed Mar 17 14:17:26 EDT 2010

the 'number' is a function of the object's position in the Hierarchy. That means you'd need to move the object relative to some other object, in this case 'below' object '2.2.2'.

Surely someone wrote a very clever script to do this, but it would require the attrubute values to be consistent; such as 2.2.2 must exist and there should not be another 2.2.2.1.

Understand that text objects will look like 2.2.2.1.0-1, but I doubt your attrubute looks like that.

  • Louie

Re: Change in the hierarchy
Lion29 - Wed Mar 17 14:47:27 EDT 2010

llandale - Wed Mar 17 14:17:26 EDT 2010
the 'number' is a function of the object's position in the Hierarchy. That means you'd need to move the object relative to some other object, in this case 'below' object '2.2.2'.

Surely someone wrote a very clever script to do this, but it would require the attrubute values to be consistent; such as 2.2.2 must exist and there should not be another 2.2.2.1.

Understand that text objects will look like 2.2.2.1.0-1, but I doubt your attrubute looks like that.

  • Louie

Can you send me the script so that i can check if it works for my modules...
if it works fine, then no problem.. or else we can try modifying tat script... :-)

Re: Change in the hierarchy
PDU - Thu Mar 18 14:17:26 EDT 2010

Lion29 - Wed Mar 17 14:47:27 EDT 2010
Can you send me the script so that i can check if it works for my modules...
if it works fine, then no problem.. or else we can try modifying tat script... :-)

Perhaps the beginning of a solution here ?

http://www.smartdxl.com/content/?page_id=122

Pierre