New thread created to continue discussion from the following post:
My dynamo script builds gantry bases and pile caps along a road. The user specifies in a spreadsheet the chainage to put the base at, the offset distance from the edge of carriageway string, and then specifies the size of the pile cap itself, plus the location and dimensions of the 4 piles
My output at the moment means I am getting 5 separate objects appear within Civil3D for each of the gantry bases
What I would like is for Dynamo to be able to turn those 5 items into a block, similar to selecting those 5 items within Civil3D and typing in BLOCK to turn those objects into a block.
Ideally I would also be able to add attributes to that block as well. That would allow me to add information to the block such as the gantry name (eg G500 from the screenshot above) plus setting out points for the pile cap and piles.
My thoughts are to have a node which allows the user to create a new block definition within the current drawing, by providing the node with a block name, list of geometry objects, and the basepoint.
For my particular situation, I would prefer that list of geometry to be Dynamo geometry objects, but you might need/want a version that provides a list of objects that are already within the DWG file