Posts

Showing posts with the label Dynamo

Add multiple filters to current view

Image
This script will add filters from Revit project to current view with visibility control option. Script scheme is: "View & it name" node code is: import clr clr . AddReference( "RevitServices" ) import RevitServices from RevitServices.Persistence import DocumentManager doc = DocumentManager . Instance . CurrentDBDocument myview = doc . ActiveView myviewname = myview . Name OUT = myviewname, myview "WindowsForm Create" node code is: import clr clr . AddReference( 'System.Windows.Forms' ) clr . AddReference( 'System.Drawing' ) from System.Drawing import * from System.Windows.Forms import * class TESForm (Form): def __init__ ( self , args, viewname): viewlen = len (viewname) * 15 self . Text = "Add multiple filters to current view" self . Width = viewlen + 80 self . Height = 350 self . MaximizeBox = Fal...

Load & reload (redefine) families in Autodesk Revit

Image
I'm glad to represent you a script for load/reload families in Revit project. Just run the script from Dynamo player, choose a folder with families and families in window and click the button - all selected families will be reloaded.