Create nested block definitions in C++


i’m already creating blocks according to the sample

But now i’m struggling to add block instances into the block definition. How do i add a instance object to another definition? Because the AddInstanceObject from the CRhinoInstanceDefinitionTable does not have a switch to add as definition like the AddObject from CRhinoDoc?


Hi @dsw,

See of the attached sample is helpful.

cmdTestWolfgang.cpp (3.2 KB)

– Dale

1 Like

That’s exactly what i needed. @dale you are the best! :ok_hand: