Answers for "cropbox dynamo python"

0

cropbox dynamo python

import clr
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
#The inputs to this node will be stored as a list in the IN variables.
views = UnwrapElement(IN[0])

doc = DocumentManager.Instance.CurrentDBDocument
TransactionManager.Instance.EnsureInTransaction(doc)

for v in views:
	v.CropBoxVisible = False
	
TransactionManager.Instance.TransactionTaskDone()
#Assign your output to the OUT variable.
OUT = 0
Posted by: Guest on July-08-2021

Code answers related to "cropbox dynamo python"

Python Answers by Framework

Browse Popular Code Answers by Language