UnderlayDefinition

class UnderlayDefinition(DXFObject)

Introduced in DXF version R13 (AC1012), dxftype is PDFDEFINITION, DWFDEFINITION and DGNDEFINITION.

UnderlayDefinition defines an underlay, which can be placed by the Underlay entity. Create UnderlayDefinition by the Drawing factory function add_underlay_def().

DXF Attributes for UnderlayDefinition

UnderlayDefinition.dxf.filename

Relative (to the DXF file) or absolute path to the image file as string

UnderlayDefinition.dxf.name

defines what to display

  • pdf: page number
  • dgn: ‘default’
  • dwf: ???