Region

class Region(Body)

Introduced in DXF version R13 (AC1012), dxftype is REGION.

An object created by an ACIS based geometry kernel provided by the Spatial Corp. Create Region objects in layouts and blocks by factory function add_region().

Region.get_acis_data()

Get the ACIS source code as a list of strings.

Region.set_acis_data(test_lines)

Set the ACIS source code as a list of strings without line endings.

Region.edit_data()

Context manager for ACIS text lines, returns ModelerGeometryData.