Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.69 KB

appsettings.rst

File metadata and controls

64 lines (39 loc) · 1.69 KB

Application Settings

ezdxf.appsettings

This is a high-level module for working with CAD application settings and behaviors. None of these settings have any influence on the behavior of ezdxf, since ezdxf only takes care of the content of the DXF file and not of the way it is presented to the user.

Important

You need to understand that these settings work at the application level, ezdxf cannot force an application to do something in a certain way! The functionality of this module has been tested with Autodesk TrueView and BricsCAD, other applications may show different results or ignore the settings.

Set Current Properties

The current properties are used by the CAD application to create new entities, these settings do not affect how ezdxf creates new entities.

The module ezdxf.gfxattribs provides the class ~ezdxf.gfxattribs.GfxAttribs, which can load the current graphical entity settings from the HEADER section for creating new entities by `ezdxf`: ~ezdxf.gfxattribs.GfxAttribs.load_from_header

set_current_layer

set_current_color

set_current_linetype

set_current_lineweight

set_current_linetype_scale

set_current_textstyle

set_current_dimstyle

set_current_dimstyle_attribs

set_lineweight_display_style

Restore the WCS

restore_wcs

Update Extents

update_extents

Show Lineweight

show_lineweight