Basepoint of Block Instance
Windows only
Demonstrates how to find the basepoint coordinates of a block instance.
ON_3dPoint BlockInstanceInsertionPoint(const CRhinoInstanceObject* instance_obj)
{
ON_3dPoint pt = ON_UNSET_POINT;
if (instance_obj != 0)
{
pt = ON_origin;
pt.Transform(instance_obj->InstanceXform());
}
return pt;
}