Revit 3d12/20/2023 ' at RevitCommandListener.RevitCommandListenerService. ' C 0 12:17:22.868 1:< Exception in exportToObj() method :: Setting active view is temporarily disabled. Note: Modelless dialog activates 3D view without any problem.Ĭode Snippet to activate 3D View: Document doc = įilteredElementCollector viewCollector = new FilteredElementCollector(doc) ĮlementClassFilter viewFilter = new ElementClassFilter(typeof(.View3D)) įoreach (.View3D vw in viewCollector) Please refer the code below and the journal output. Revit® BIM software helps architecture, engineering and construction (AEC) teams create high-quality buildings and infrastructure. Is there any way to get around this exception?. After that I am trying to activate 3D view but I am getting some exception (Setting active view is temporarily disabled). I have opened a revit document using Revit API 2014 from within Idling event handler.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |