Dimension to Level


#1

Anyone know if its possible to dimension to level? Need to get the level as a reference or line or something.


#2

OOTB nodes can do this, or are you looking to incorporate some levels into a multi-Revit.DB.Reference dimension chain?


#3

Thanks Ewan, I’m trying to incorporate them into a multi-Revit.DB.Reference dimension chain?


#4

Give this a whirl. :wink:

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

levels= UnwrapElement(IN[0])
Rlist=[]

for l in levels:
	Rlist.append(l.GetPlaneReference())
OUT=Rlist

#5

My dynamo addiction has left me scrambling to put together a big building consent this week. Look forward to trying this next week! Thanks Ewan!


#6

I get this sometimes as well :roll_eyes: good luck!

P.S. Sounds like the first #DUG-NZ was a great event :grinning:
I’'ll have to try and get along to the next one. :+1: