![]() |
Object 30 "Dimension Coordinate" (Entity Type "Object") Changed in Version 2021.0 |
www.CAD6.com |
Data Block SequenceData Block 000( Point ) Data Block 001( Split ) Data Block 000( Position ) Data Block 000( Direction ) Data Block 110( Prefix ) Data Block 110( ValueX ) Data Block 110( Middle ) Data Block 110( ValueY ) Data Block 110( Postfix ) Data Block 110( Tolerance1 ) Data Block 110( Tolerance2 ) Data Block 230( Options1 ) Data Block 237( Options2 )
ParametersPoint [MKI_POINT] Point whose coordinates shall be measured (and end point of a possible arrow). Split [MKI_POINT] Point where a possible arrow is bent. Position [MKI_POINT] Position of the dimension text. Direction [MKI_POINT] Direction of the dimension. Prefix [MKI_STRSHORTW] Prefix text for the dimension. ValueX [MKI_STRSHORTW] X-coordinate text for the dimension. Middle [MKI_STRSHORTW] Middle ext for the dimension. ValueY [MKI_STRSHORTW] Y-coordinate text for the dimension. Postfix [MKI_STRSHORTW] Postfix text for the dimension. Tolerance1 [MKI_STRSHORTW] Upper tolerance text for the dimension. Tolerance2 [MKI_STRSHORTW] Lower tolerance text for the dimension. Options1 [MKI_DIMLARGE] Dimension parameters. Options2 [MKI_TEXTREFERENCE] Reference text parameters.
Prefix, CoordX, Middle, Coord2, and Postfix will be connected to one text ("Main dimension text") without separating characters.
Attributes New in Version 2021.0A coordinate dimension may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) only of type "local". They must be placed behind all other datablocks. Attributes of types "outline" and "point" must not exist. The total number of local attributes per object is limited to MKI_ATTRIBS_PER_OBJECT.
Specific Usage of Data Block 230Example|BlockType| 0,230,0,0, |TextFont| 0,0,400,"DINLQ", |TextXProperty| 1,1,0,0.0/0.0/0.0,0.0/0.0/0.0,0.0,0,0, |TextSize1,TextSize2| 5.0,3.5, |CharDistance,TabDistance,TextMode,TextOrder| 0,4,1,0, |Precision,Refresh,Rotate| 2,1,0, |System| 0;
This coordinate dimension will be lettered with the font "DINLQ", using pen 1. The main dimension has a text size of 5 mm, the tolerances have a text size of 3.5 mm. The dimension number will not be rotated, but automatically be updated. The dimension will be calculated according to the settings in the coordinate system 0 ("- Standard -").
The image above shows a coordinate dimension created using the settings described above. The point Point defines the coordinate, the point Position places the dimension number. As the number is not rotated, the point Direction is not used. Prefix is set to "(" by default, Middle is set to "/" and Postfix is set to ")".
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_DCOORDINATE MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddTextShort, StaticLength = false MKI_ObjectAddTextShort, StaticLength = true MKI_ObjectAddTextShort, StaticLength = false MKI_ObjectAddTextShort, StaticLength = true MKI_ObjectAddTextShort, StaticLength = false MKI_ObjectAddTextShort, StaticLength = false MKI_ObjectAddTextShort, StaticLength = false
Use the MKI_PARSE_OBJ_DCOORDINATE class to parse the data blocks of such an object in memory.
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH