Not applicable
08-19-2021
10:12 PM
I'm trying to write a basic extension to toggle point cloud visibility in the active vew as shown below. But I receive this eror...
TypeError: bool is not callable
import clr
clr.AddReference('RevitAPI')
clr.AddReference('RevitAPIUI')
from Autodesk.Revit import DB
uidoc = __revit__.ActiveUIDocument
doc = __revit__.ActiveUIDocument.Document
view = doc.ActiveView
t = DB.Transaction(doc)
t.Start('Set Pt Cloud Color Mode')
view.ArePointCloudsHidden(False, True)
t.Commit()
Solved! Go to Solution.
Link copied