![]() |
Object 40 "Comment" (Entity Type "Object") Changed in Version 2021.0 |
www.CAD6.com |
This object type is used to apply a comment text to any object, area or location inside a drawing. The comment is only visible on the screen, it will not be output to printers. This is used for information interchange of several engineers working on the same drawing.
If the comment contains surface information, that surface will be displayed on the screen in addition to the comment's symbol.
Data Block Sequence Data Block 000( Position ) Data Block 110( Text ) Data Block 240( Options )
These data blocks are optionally followed by a sequence of data blocks identical to those stored in an object of type "Surface", see Object 13 "Surface".
ParametersPosition [MKI_POINT] Reference position (where the comment's symbol will point to). Text [MKI_STRLONGW] Comment text to be displayed. Its length may be up to MKI_LENGTH_TEXT_LONG characters including the terminating zero character (0x00). In order to achieve a tabulator, use the character ¬ (Unicode 172). For a line feed, use the character ¶ (Unicode 182). All other characters will be displayed using the given font. Characters below Unicode 32 will be ignored. See also Advanced Text Capabilities. Options [MKI_COMMENTDATA] Comment parameters.
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_COMMENT MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANY MKI_ObjectAddTextLong, StaticLength = false
OptionalMKI_ObjectAddPoint, Type = MKI_DB_POINT_START ... MKI_ObjectAddPoint, Type = MKI_DB_POINT_END ... MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT1 MKI_ObjectAddPoint, Type = MKI_DB_POINT_PIVOT2 MKI_ObjectAddPoint, Type = MKI_DB_POINT_END ... MKI_ObjectAddPoint, Type = MKI_DB_POINT_ARC ...
Use the MKI_PARSE_OBJ_COMMENT class to parse the data blocks of such an object in memory.
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH