Jump to content

Accessing individual objects in an unknown number of nested groups


Recommended Posts

Hello Everyone,

I have a very nasty problem which until now nobody could solve. This is the problem.

I have a layer called laySupport. On that layer there can be an unlimited number of objects, groups and even nested groups inside other groups. The level of nested groups are unknown (can be 1, 10, infinite...). In short it cannot be predicted how many groups and especially nested groups there will be on the laySupport layer.

I have to disconnect all the records from every individual group member. I do that with a DelRecord(hndObject,1) instruction.

My problem.I cannot determine how many groups and escpecially nested groups there are present on the layer laySupport or inside another group. I need to access every individual group member.

Do you know how I can access every individual object inside an unknown number of nested groups?

I will appreciate your help very much. I am sure the one who can solve this problem, is very good indeed. If you need the example document, send me an email and I will send you the document with everything in it. The script is calling ResetGroup. We are using Vectorworks Architect 9.1 Dutch version for Mac.

I thank you very much and I wish you a nice day.

With friendly greetings,

StarGateEmail : woods@skynet.be

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...