| Block data in LiteCAD LCD file | Home |
| Data Type | Amount | Description |
|---|---|---|
| Int64 | 1 | Unique Identifier. LC_PROP_TABLE_ID |
| String | 1 | Name. LC_PROP_TABLE_NAME |
| String | 1 | Description. LC_PROP_TABLE_DESCR |
| Int32 | 1 | Flags |
| Int32 | 1 | Sort priority. LC_PROP_TABLE_PRIORITY |
|
Application-specific data. LiteCAD don't uses this data, only provides access and storage |
||
| Int32 | 5 | Application-specific integer values. LC_PROP_TABLE_INT0...LC_PROP_TABLE_INT4 |
| Double | 5 | Application-specific floating-point values. LC_PROP_TABLE_FLOAT0...LC_PROP_TABLE_FLOAT4 |
|
The below 2 records are exist if (Flags & 0x40000000) |
||
| Int32 | 1 | Size (N) of application-specific XDATA buffer (number of bytes). LC_PROP_TABLE_XDATASIZE. |
| Byte | N | Application-specific XDATA buffer. LC_PROP_TABLE_XDATA |
|
Block data |
||
| Int8 | 1 | Block type. LC_BLK_MODEL, LC_BLK_PAPER, LC_BLK_STANDARD |
| Double | 2 | X, Y of basepoint. LC_PROP_BLOCK_X, LC_PROP_BLOCK_Y |
| Double | 1 | reserved |
| Int8 | 1 | Units. LC_PROP_BLOCK_UNITS |
| Double | 4 | Area visible in a window (Left, Bottom, Right, Top). LC_PROP_BLOCK_VISLEF, LC_PROP_BLOCK_VISBOT, LC_PROP_BLOCK_VISRIG, LC_PROP_BLOCK_VISTOP |
| Int8 | 1 | reserved |
| Int32 | 1 | Number (N) of entities in a block. LC_PROP_BLOCK_NENTS |
|
The next 2 records repeat N times |
||
| Int16 | 1 | Type of entity. LC_PROP_ENT_TYPE |
| 1 | Entity data. Format depends on LC_PROP_ENT_TYPE | |
|
if (BlockType = LC_BLK_PAPER) then |
||
| String | 1 | Layout name. LC_PROP_BLOCK_LAYOUTNAME |
| Int8 | 1 | Layout units. LC_INSUNIT_INCHES or LC_INSUNIT_MILLIMETERS |
| Int16 | 1 | Size of paper sheet. LC_PROP_PAPER_SIZE |
| Double | 1 | Paper width, mm. LC_PROP_PAPER_W |
| Double | 1 | Paper height, mm. LC_PROP_PAPER_H |
| Int8 | 1 | Paper orientationt. LC_PROP_PAPER_ORIENT |
|
EndIf |
||
| Int32 | 1 | reserved |