Nested block from Grasshopper to AutoCAD

I have a couple of plates & beams that I want to make them into block individually, but then also grouping them altogether into one big block so that they can be scaled together in AutoCAD.
I could not figure out a way to do this, could somebody please help? Attached is the Grasshopper script that I used.
p/s: if possible, could you please show me how to colour each line differently as well? Currently it comes into AutoCAD as all black no matter how I try. Cheers!
SPECKLE.gh (16.2 KB)

Hi @Hung , two points:

  1. in your current script, try creating an Instance from your first (nested) definition, and passing that instance into the geometry : https://latest.speckle.systems/projects/3f895e614f/models/647254f4e4@e5f1e77098

  2. Coloring right now (afaik) is not supported in our legacy grasshopper connector out of the box: you can use a c# component to create a displayStyle object that contains the color and attach it to your definition geometry instead.

On this note, :red_exclamation_mark:the Next-Gen Grasshopper connector (alpha) lets you assign colors easily, but currently does not have block support :sweat_smile: We’ll be adding block support soon in our Beta release, I’ll let you know when that is ready!