I’m trying to establish a workflow from Rhino to Revit using Dynamo with Rhynamo. The task is to read a stick model from Rhino into Dynamo and assign Revit families to it. Background: I’m working on a high rise and want to use the engineers’ centerlines of the structural diagrid to generate the architectural cladding. Until now, this has been done in Rhino with Grasshopper and exported to Revit as .sat-files. For various reasons, I want to generate the cladding directly in Revit.
Basicly it’s working as it should - as you might see from the screens in the link below, the challenge however is the rotation of the structural framing-families on sloped sides. I need to rotate those objects and am wondering, how to do this in a smart way in Dynamo. Would it be someting like detecting whether a line is angled and rotate it based on this? I just started to scratch the surface of Dynamo and am not very experienced in terms of scripting - any input is very appreciated.
I put a package with the files and some screens here: