Aligning Mullions

Is there a way to align curtain wall mullion to a mullion grid via pick or via Dynamo?

The way to do is is entering the value of the Offset parameter manually. But to do then you then to measure first which is time consuming.

Am just wondering if there is a better way.

1 Like

@Revit_Noob ,

what do you want exactly? align to what ? can you explain more in detail

import clr

clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument

def tolist(x):
	if hasattr(x, "__iter__"): return x
	else: return [x]
	
collector = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Walls)
all_walls = collector.WhereElementIsNotElementType().ToElements()


OUT = all_walls, [getattr(w,("CurtainGrid"), None) is not None for w in all_walls]

PyCurtainWall.dyn (12.2 KB)

KR

Andreas

1 Like

I think OP want to align the mullions on the (sloped) roof with the vertical mullions @Draxl_Andreas

1 Like

@Revit_Noob ,

@bvs1982 if that is the case i would create grids or reference planes that are give the desired structure to align, any grid or elements…

KR

Andreas

Thanks. I want to align the Curtain wall Mullions to the Slope glazing mullions (which act as a raised floor)

Will give this code a try.

EDIT :
just finished testing the code…
Nothing happens, or do I need to wire something before the Python?

Here’s what I want to achieve. I want to align the Vertical Mullions (RED) to the raised floor mullions (BLUE)

SampleFile.rvt (2.3 MB)
I also attached a sample file

1 Like