This may or may not be considered an API task, but I thought this forum the best place to start. We have been provided with a model where the user has created a single generic family which contains several component families. For example, a bathroom layout with all the fixtures combined into a single generic family (not a group). This generic family needs to be "exploded" so that the nested component families become resident in the host project. It is not possible to copy/paste between family and project. Would anyone care to propose either a manual process or a pseudo code approach? Don't even ask why it was done this way... Dale
Solved! Go to Solution.
This may or may not be considered an API task, but I thought this forum the best place to start. We have been provided with a model where the user has created a single generic family which contains several component families. For example, a bathroom layout with all the fixtures combined into a single generic family (not a group). This generic family needs to be "exploded" so that the nested component families become resident in the host project. It is not possible to copy/paste between family and project. Would anyone care to propose either a manual process or a pseudo code approach? Don't even ask why it was done this way... Dale
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Dear Dale,
I suggest these steps:
Cheers,
Jeremy
Dear Dale,
I suggest these steps:
Cheers,
Jeremy
Hi Dale,
There is no current API meet your requirement.
You need to do it manually as Jeremy mentioned above.
Hi Dale,
There is no current API meet your requirement.
You need to do it manually as Jeremy mentioned above.
With familyinstances based on Level it works. But with families based on faces of other familyinstance or on planes we can not do it.
Any example of how to insert into our project an element based on a face within a family, such as Familyinstance?
With familyinstances based on Level it works. But with families based on faces of other familyinstance or on planes we can not do it.
Any example of how to insert into our project an element based on a face within a family, such as Familyinstance?
As always, I meant those steps to describe an API solution, actually.
As always, before programming it, you need to ensure it can be done manually as well.
Cheers,
Jeremy
As always, I meant those steps to describe an API solution, actually.
As always, before programming it, you need to ensure it can be done manually as well.
Cheers,
Jeremy
Does this help?
Cheers,
Jeremy
Does this help?
Cheers,
Jeremy
I need to insert into the project each one of the Nested FamilyInstance that contains the family (Supercomponent)
So I need to know the Host and HostFace of each sub Familyinstance to create the SketchPlanes / Levels or similar and insert them into the project.
I need to insert into the project each one of the Nested FamilyInstance that contains the family (Supercomponent)
So I need to know the Host and HostFace of each sub Familyinstance to create the SketchPlanes / Levels or similar and insert them into the project.
Just wanted to share my solution to this - see link below to my post on the Dynamo forum:
Just wanted to share my solution to this - see link below to my post on the Dynamo forum:
Can't find what you're looking for? Ask the community or share your knowledge.