How to get multiple Elevation Marker Locations

Never mind that last question.
@jacob.small, that was very helpful.
I have to correct myself though - the python script that you want to use for this task is the one shown below. I guess it helps if your Dynamo preview is not turned upside-down :stuck_out_tongue_winking_eye:

import clr

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

clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
clr.ImportExtensions(Revit.Elements)

clr.AddReference('RevitServices')
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument

elev = UnwrapElement(IN[0])
view = UnwrapElement(IN[1])

bbox = elev.BoundingBox[view]
minPt = bbox.Min.ToPoint()
maxPt = bbox.Max.ToPoint()

OUT = minPt, maxPt

bounding Box of an Elevation Marker

1 Like