Can Dynamo align framing members to a sloped reference plane?

If the Revit approach doesn’t work, you could try this…

File: StrFrmSlope.dyn

Note that running the script repeatedly toggles the beam position between new and old.

20151015-8