Solid

class Solid(GraphicEntity)

A solid filled triangle or quadrilateral, dxftype is SOLID. Access corner points by name (entity.dxf.vtx0 = (1.7, 2.3)) or by index (entity[0] = (1.7, 2.3)). Create solids in layouts and blocks by factory function add_solid().

DXF Attributes for Solid

Common DXF Attributes for DXF R12

Common DXF Attributes for DXF R13 or later

Solid.dxf.vtx0

location of the 1. point (2D/3D Point in OCS)

Solid.dxf.vtx1

location of the 2. point (2D/3D Point in OCS)

Solid.dxf.vtx2

location of the 3. point (2D/3D Point in OCS)

Solid.dxf.vtx3

location of the 4. point (2D/3D Point in OCS)