Can't attache a SketchBlockInstance to an entity

Hello,

In a Drawing, when I insert a SketchBlockInstance and i set "SetLeader". I am not able to attache this block to an entity. Otherwise there is an api "GetAttachedEntities" but not api "SetAttachedEntities" !

Does anybody has already attache block to an entity programmatically ?

Thanks,

Renald

SolidworksApi macros