Hello, in this script, I am attempting to convert a CAD block’s Geometry to a Revit element. The block is made of 6 circles, which I convert to surfaces, then to solids, so I can use the FamilyInstances.ByGeometry Node. However, only the outermost circle is processed and turned into an element. I tried using Solid.ByUnion to join all the solids together, but it didn’t work. Please help:
@Isaac71 post a copy of that cad file might help. and i think it might be a good idea to look into creating a several filled regions (rings) in the family editor then inserting instances into project environment.
Below you can find a link to my project files. I would rather not recreate the circles in the family editor because I already have them created in Dynamo from the CAD file’s geometries. It’s just a matter of joining the circles together.
@Isaac71 can you use Data.Remember as @jacob.small propose in the below:
The Data.Remember node doesn’t help much because my main issue is converting multiple Geometries into a single solid. However, it does make things a little easier in accessing the Geometries from CAD.
@Isaac71 this is not as convenient and lightweight as a filled region. i used a list of different thickness values for Surface.Thicken node just to display the circle’s outlines. furthermore, it might need a black material or some graphic overrides. still, this is a solid, not a 2D symbolic thing. (unless thats what u really want?)
i suppose the FamilyInstances.ByGeometry node creates geometries in family editor and loads the family for u, taking a few shortcuts nicely, though im not 100% sure. still, my guts tell me its better to stay in the family editing environment, even if u use dynamo to create/manipulate geometries.
This is pretty much what I’m looking for. Yes, it may need some editing in the family editor, but it does provide some easy shortcuts for setting up families. Thank you very much for your help!