Hi everyone.
I am tring to placing fireproof covering family on the top face of beam automatically by Dynamo.
The fireproof covering is a line-based family so I just need to secelct the centeral line of the beam while doing it manually.
I tried to use the “FamilyInstances.ByLine” node but it reqiures a level but I dont know how to get the top level of the beam.
I bilieve that there are better ways to do it but I just cannot find suitable nodes. Also not familar with APIs to wrinting scripts.
Be grateful if you can offer any suggestions.
Best regards.
Why not ask the beam what level it is on, and use that? Check for a Element.Level node, and if not check for a parameter and use a Element.GetParameterValueByName node.
Thanks for replying.
I tried Element.Level node but what I wanted to do is not associating created components with the level where hosted beams are(the 1st picture) but exactly the top planes of the beams(the 2nd picture).
I am sorry that I am using japanese Revit but I can translate that the 2nd row of parameter is the workplane that the created firecovering is associating with. I wanna let it be the beam so the created firecovering can follow the beam when its hosted beam is moved.
Is there any node that can check for the top plane of beams directly?
I think you are trying to move the location, correct? Or is it the parameter value?
Well actually what I wanted to do is to host the firecovering to the beam. When I place the firecovering manualy, it can be hosted on the centeral line of the beam (which the “StructuralFraming.Location” node checks for) . I supppose to do the same thing with Dynamo.
That should be the same as what we are doing here. If not post your current .dyn a sample .rvt with two beams, one of which has the fire proofing and one of which does not, so we can understand what you are after.
OK here is the .dyn and .rvt files.
The .dyn file contains 2 methods to place the fire proofing instance and please ignore other groups for now.
Fire proofing test.rvt (6.7 MB)
Fire proofing.dyn (59.2 KB)
The problem is solved by myself.
Thanks a lot anyway.