How to convert selected Revit Elements to family instances

Hello dear professionals.
Could you please advise how to convert selected Revit Elements to family instances so the Nod
Set Rotation will work.

I have Str column and I would like to rotate it with the node FamilyInstance.SetRotation

It can be done with way where I will select ALL family instances of a Family Type. But I dont need all. I need only the selected ones. So please advise how to jump from Model Elements to Family instances

1 Like

i suggest to use Rotate Family node from archilab package

I hope this could be an alternative. With this script you do not have to convert the selected element into family instance. You need only to determine the family type you would be working on and select the element whose correspondent family type is the same as what you have early selected.

1 Like

Doesn’t Dynamo (and DesignScript) have the ability to convert Element directly to FamilyInstance? If it doesn’t, this seems like a significant departure from the Revit API (which has the conversion Element as FamilyInstance) which adds complexity. Surely something like FamilyInstance.FromElement() exists?