Section =PAGE= (File Sections)

www.CAD6.com

MKD Syntax

The section =PAGE= contains settings for the model space and up to MKI_PAGE_MAX page definitions.

 

A page definition describes a rectangular area in the global workspace that can be mapped to a physical page in a printer. All pages are placed relatively to the workspace's center.

 

At least one page definition has to exist and must be active.

 

Head of Section

=PAGE=;

TotalNum,PageActive,PageAutoAssign,ModelDef;

 

Entry for each Page Definition

PageDef;

 

End of Section

=END=;

 

If the section =PAGE= does not exist, assume a single page definition of either format DIN A3 landscape (2,2,0,0,0,420,297,0,1) or US D landscape (22,2,0,0,0,431.8,279.4,0,1). If the section exists, it must contain at least one valid and active page definition.

 

Element Description

m_nTotalNum

[__int32] Number of page definitions to follow. Valid range is 0 to MKI_PAGE_MAX inclusive.

m_nPageActive

[__int32] Index of the currently active page (MKI_PAGE_MODEL to MKI_PAGE_MAX - 1) with MKI_PAGE_MODEL (-1) indicating the model space.

m_fPageAutoAssign New in Version 6.51

[bool] If true, any newly created object will automatically be assigned to the currently active page. If false, newly created objects will not be assigned to any page.

ModelDef

[MKI_MODELDEF] Model space definition.

PageDef

[MKI_PAGEDEF] Page definitions.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH