I am using Rhythym Viewport,LocationData.
Getting an error, I have restarted Revit & Dynamo to no avail. Any suggestions would be much appreciated.
We are starting to learn python (JUST started) but yet to be able to do this through python.
Revit 2019 | Dynamo 2.0.1
also please see python below:
import clr
clr.AddReference(“RevitNodes”)
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
Import DocumentManager and TransactionManager
clr.AddReference(“RevitServices”)
from RevitServices.Persistence import DocumentManager
Import RevitAPI
clr.AddReference(“RevitAPI”)
from Autodesk.Revit.DB import *
doc = DocumentManager.Instance.CurrentDBDocument
assembly = UnwrapElement(IN[0])
OUT = assembly.BoundingBox[doc.ActiveView].ToProtoType()