![]() |
MKI_ObjectAddDimSmall (Entity Creation) Changed in Version 2023.0 |
www.CAD6.com |
C++ SyntaxMKI_ObjectAddDimSmall( MKI_CONST_DIMSMALL_REF f_rData, bool f_fUseGlobal, bool f_fIsAngle );
Adds a small dimension parameter data block (MKI_DB_INFO_DIMSMALL) to a previously opened provisional object (see MKI_ObjectOpen). This type of data block is usually used inside dimension objects that do not include dimension lines (MKI_OBJ_DCOORDINATE, MKI_OBJ_DAREA and MKI_OBJ_DPERIMETER).
ParametersData [MKI_CONST_DIMSMALL_REF] Data to be stored in the small dimension parameter data block. The TextXProperty component will be overwritten by the current default properties for that object. In case these properties are to be modified, use the address returned from this procedure to access them directly. UseGlobal [bool] If this value is true, most elements of the structure pointed to by Data will not be used, instead, the current global dimension parameters defined by IsAngle will be used. IsAngle [bool] If this value is true, the global dimension parameters for angle dimensions will be used, otherwise the global dimension parameters for length dimensions will be used. IsAngle will be ignored if UseGlobal is false.
Return ValueReturns the address of the TextXProperty component of the created data block if the data block was added successfully. This address can be used to alter the default properties of the dimension text. If nullptr is returned, this indicates that the object would be too large after adding this data block.
|
CAD6interface 2025.0 - Copyright 2025 Malz++KassnerĀ® GmbH