Hi everyone,
I’m trying to create a Dynamo (or Python) script that can change which line in a roof footprint defines the slope of the roof. So far, I’ve managed to:
-
Access the geometry of the footprint lines
-
Change the slope value of the roof itself
However, I’m struggling to programmatically change wich line is set to define the slope (the slope-defining edge). I also tried a workaround by predefining the slopes manually, but when the roof has more than one sloped sides with diffrent values, the roof type doesn’t show individual slope parameters for each edge.
Has anyone successfully controlled the slope-defining line in a roof footprint through Dynamo or the Revit API? Any guidance or examples would be greatly appreciated!
Thanks!
