I’m crunching my head on the following.
I want to place the entities of a tag in a separate skp file.
What proces does ruby have to follow to accomplish this?
All the best!
I’m crunching my head on the following.
I want to place the entities of a tag in a separate skp file.
What proces does ruby have to follow to accomplish this?
All the best!
This may be confusing because tags (called layers in the API) are not geometric collections. So, a tag cannot “own” any entities. Tags (layers) are only a shared display property set and an entity is assigned to “use” a tag for display purposes.
So, the answer is that you must iterate the entities collection of the model and any used component definitions and export groups or instances that are assigned to use the “target tag”.