• Returns a transformed copy of entity for exploding a block-like container (INSERT, dimension, table, ...) whose content is mapped by matrix.

    Most entities are simply cloned and passed to AcDbEntity.transformBy. When the transform scales the entity plane non-uniformly, entities that cannot represent the result are converted exactly, the way AutoCAD EXPLODE does for non-uniformly scaled blocks:

    • circles and arcs become ellipses / elliptical arcs
    • ellipses get correct principal axes
    • polylines with arc segments are exploded first and their arcs become elliptical arcs (a polyline cannot hold an elliptical segment)

    Other entities (text, nested block references, hatches, ...) fall back to their own transformBy, which approximates a non-uniform scale.

    Parameters

    • entity: AcDbEntity

      Source entity, typically owned by a block table record. It is not modified.

    • matrix: AcGeMatrix3d

      Transform from the container's local space to WCS.

    Returns AcDbEntity[]

    The transformed, non-database-resident entities.