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


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


defines what to display

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