Looking for a way to bring AutoCAD Groups into Dynamo. Here is an example of what I mean:
Note the “Group = A1” associated with both lines.
If there was a way to generate a list of geometry by Group, it would make it easy to create Revit wall elements directly from a CAD file. I have a graph that, once a line pair is identified, will generate a centerline for the wall location and derive a wall thickness indexed to a corresponding family type. Add that to my stair, door, column, floor and room/area modules, and you have a nice building level, all programmatically created with the geometry exactly like the asbuilt floor plan.
Unfortunately, there seems to be no way to pair up all the lines programmatically, no matter how many sorting, grouping, ClosestTo nodes I strung together. It also requires a lot of work prepping the CAD file. Having that Group reference would let you only select wall lines and group them. Know any AI or machine learning nodes that can do this on a complicated floor plan?
If Revit truly imports CAD drawings, then wouldn’t Group dictionaries be included? Nothing I could find in the Revit API gave any clues either way:
It says DWG file, not “curves”…
In another post, I asked for help with a ZT node that theoretically could do this directly from CAD. I don’t care how it’s done (Python script?), just want my Groups!
Any insight is appreciated.