I am trying to set the “default” for the Room Area Computation Location, and I thought I was getting the correct thing, but it appears that when I change the setting, it is not actually changing Revit. It seems like I am missing a call to “set” the options once they have been defined, but I must be missing something. Any help here would be appreciated.
import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * clr.AddReference('RevitServices') import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager clr.AddReference("RevitAPI") import Autodesk from Autodesk.Revit.DB import * doc = DocumentManager.Instance.CurrentDBDocument #The inputs to this node will be stored as a list in the IN variables. results =  TransactionManager.Instance.EnsureInTransaction(doc) try: spEB = SpatialElementBoundaryOptions() spEB.SpatialElementBoundaryLocation = SpatialElementBoundaryLocation.Finish results.append(spEB.SpatialElementBoundaryLocation) except: results.append(False) TransactionManager.Instance.TransactionTaskDone() #Assign your output to the OUT variable. OUT = results