I Wonder if there is a script that let me select all the rectangels in view and generate a hatch?
i ask, because i import a dwg - file that contiains a lot of houses, and i need to be able to color them in revit - but selecting every single line would take me forever
i have now tried to setup a script like yours - but i have some problems getting it to work.
i switch to the dynamo window - presses âSelectâ, goes back to revit, and then i select the imported dwg - but i then get the error âWarning: Internal error, please report: Dereferencing a non-pointer.â in the Element.Geometry.
if i then explode the dwg, and use select again - i can only select one line at a time - and this gives me the error âWarning: FilledRegion.ByCurves operation failed.
Curves do not form a closed loop.â in the FilledRegion.ByCurves.
Does the âAutodesk.DesignScript.Geometry.Polycurveâ; code block require any addons?
Iâm sure iâm doing something wrong - but i donât know what :-/
Does your script run automatically or manually? Try setting it manually and running it connecting one node at a time. However it could be the dwgâs faultâŚ