How to create FamilyInstances with correctly assigned workplane?

Hi everyone,

I’m currently playing around with a script that replaces detail items with actual 3D furniture families. One major issue I’ve come across is that as far as I can see, there exists no OOTB node in Dynamo for creating FamilyInstances that results in elements that are properly hosted to a given workplane. By “properly” I mean that after insertion of the instance, it is assigned to a given workplane in such a way that it can be mirrored and copied to another level, basically behaving like any element created via “place instance” from the project browser.
Every node I’ve tried (FamilyInstance.ByPoint, FamilyInstance.ByHostAndPoint, FamilyInstance.ByCoordinates) will inevitably places instances that are either not hosted to anything at all or hosted “partially” or incorrectly, for example making it impossible to change the workplane or pick a new host.

Does anyone on here know if this is possible at all and if so, how to do it?

@hwo.osa

check out this topic

show your progress :wink:

1 Like

Andreas, thank you so much.
I had to modify the Python script to accept multiple inputs but apart from that it works perfectly.
See Modifying a Python Script to process list of objects - Developers - Dynamo (dynamobim.com) for the full solution.

1 Like