Foreach (AcadEntity entity in doc. ModelSpace)
{
If (entity. EntityName=="AcDbBlockReference")
{
AcadBlockReference returnBlock=(AcadBlockReference) the entity;
The object min, Max;
ReturnBlock. GetBoundingBox (out min, out of Max);
Excuse me, here GetBoundingBox error, empty range, how be to return a responsibility excuse me?
CodePudding user response:
Some custom entity without access to the rectangular boxCodePudding user response: