Section =BLOCK= (File Sections) Changed in Version 2017.0 |
www.CAD6.com |
MKD SyntaxThe section =BLOCK= contains block definitions. Inside each drawing or library file, this section may contain up to MKI_BLOCKS_PER_DRAWING (1,000,000) block definitions.
=BLOCK=; -Block Definitions- =END=;
Each block definition starts with an Entity "Block", determining the name and the properties of the block. This entity is followed by a sequence of entities of the following types: "Group", New in Version 2017.0 "Hatching", New in Version 2018.2
The sequence of block definitions is terminated by an Entity "End of List".
The order of the block definitions is not relevant. Any block reference will not be resolved until all blocks are loaded. If blocks contain instances, this leads to a nested structure. Be sure not to create loops where block A contains an instance of block B and block B contains an instance of block A. To avoid a deadlock due to such loops and to avoid a stack overflow during recursion the maximum nesting depth is limited to 25 levels.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH