Object 10 "Zigzag Line" (Entities) Changed in Version 2021.0 |
www.CAD6.com |
Data Block SequenceData Block 001( x1, y1 ) - Start-point Data Block 002( x2, y2 ) - End-point Data Block 100( Distance ) - Distance between two indents in mm
The points (x1,y1) and (x2,y2) determine the start-point and end-point of the line. The value Distance determines the distance between two indents. Each indent has an opening angle of 30°, its total height (both sides together) is 20 times the line's width.
If a zigzag line is drawn with a non-solid line type, this line type has to be continued along the complete line.
A zigzag line is by definition an "open" object, i.e. it has a non-closed outline and cannot be filled.
Attributes New in Version 2021.0A zigzag line may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) of types "local", "outline", and "point". Their position in the list of data blocks must be as follows:
The total number of attributes of each type (local, outline, point) per respective element (entity, outline, and point) is limited to MKI_ATTRIBS_PER_OBJECT.
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_ZIGZAG MKI_ObjectAddPoint, Type = MKI_DB_POINT_START MKI_ObjectAddPoint, Type = MKI_DB_POINT_END
Use the MKI_PARSE_OBJ_ZIGZAG class to parse the data blocks of such an object in memory.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH