To make object snap work on BlockReference entities you can get the nested entity by using the Workspace.GetCrossingEntities() overload that accepts the accumulated parent transformation as a parameter, and then transforms the resulting snap points with the accumulated parent transformation. You can check this approach into the GetSnapPoints() method of our DrafingDemo sample.
Object snap on BlockReference entity

Alberto Bencivenni
This content is available only to customers with an active subscription. Please ensure your subscription is current to access this article.
Please sign in to access this article.
If you believe this is an error, please contact our support team for assistance.
Comments
Hello Alberto.
I have i think exact this problem. I would like to select Face,Edge,Vertex with VisiblePyPickDynamic on a Assambly STEP. The STEP File contains 2 or more parts.
Can you give me please an Example.
Thank you
Please check the "Edit Assembly" command of the AssemblyDemo source code sample. Using this command you'll be able to navigate the assembly tree and possibly to activate selection on the desired item.
Please sign in to leave a comment.