TechDraw PageDefault/ru

Описание
The New Default tool creates a new Page object using the the template file specified in the TechDraw Preferences.



Применение

 * Press the button. (An active document must exist.)

Примечания

 * If a Page is marked as "do not keep updated" either through the KeepUpdated Property or by the setting in Preferences, it will ignore changes in the 3D model. You may notice anomalies (missing geometry, missing Dimension values, etc) in the appearance of the Page. These will correct themselves once the Page is updated. The Page will have this icon [[Image:TechDraw_Tree_Page_Unsync.svg|32px]] in the tree while updating is suspended. This setting also affects the startup process. If the Page is marked "do not keep updated" it will not be drawn at program start.

If the default template is not specified in your user configuration file, the tool will try

Where is the directory where FreeCAD was installed, for example

Data

 * : Default projection type (First or Third Angle) for this Page.


 * : If false, the Page is not updated with changes to the 3D model. Useful for complicated/slow drawings. See Notes.
 * : A link to this Page's Template object.
 * : A list of links to the Views on this Page.
 * : Default scale for Views in this Page.
 * : Auto-numbering for Balloons.

View

 * : Show a grid over this Page.
 * : Distance between grid lines in mm.

Программирование
TechDraw API и Основы составления скриптов FreeCAD.

The New Default tool can be used in macros and from the Python console by using the following functions:


 * Creates a new Page in the current document

Editable text fields
TechDraw Templates for more information on creating templates.

Once a new page has been created, its attribute holds an  dictionary with the name of the editable fields (keys) and their textual values. Copy this dictionary to a variable, make changes, and then re-assign the dictionary to the attribute to see the changes.