AcDbObjectPointer<AcDbBlockReference> padbr(adoiEditId, AcDb::kForRead);
AcGePoint3d pInsert = padbr->position();
adoiEditId是块参照的ID
pInsert是插入点
AcDbObjectPointer<AcDbBlockReference> padbr(adoiEditId, AcDb::kForRead);
AcGePoint3d pInsert = padbr->position();
adoiEditId是块参照的ID
pInsert是插入点
转载于:https://www.cnblogs.com/xzh1993/p/4996583.html