Mirror Revit families

Good morning,

I am trying to mirror an list of families and at the same time I want to be sure that the mirrored families arent copies, but just mirrored.

I found a code in Dynamobim.com (https://forum.dynamobim.com/t/mirror-revit-familys/10584/10) but I am not really willing to replicate it in rhino.inside python.

from Autodesk.Revit import DB
from System.Collections.Generic import List

icollection = List[DB.ElementId](family.Id)
ElementTransformUtils.MirrorElements(doc, icollection, plane, False)

The problem is, my rhino python doesnt accept the expresion List[DB.ElementId](family.Id)
Does anybody have a clue where the issue is coming from?

Thanks in advance!

igmema, its similar to the Railing post, you make a List object and add your items (in this case family.Id) to the List.

curves = List[DB.Curve]()
1 Like

thanks a lot Rickson!

icollection = List[DB.ElementId]()
1 Like