MKI_ObjectAddConstant (Entity Creation)

www.CAD6.com

C++ Syntax

bool

MKI_ObjectAddConstant(

 double f_dValue );

 

Adds a constant data block (MKI_DB_ALL_CONST) to a previously opened provisional object (see MKI_ObjectOpen). This type of data block is usually used inside objects of type MKI_OBJ_ZIGZAG to store the indent distance, and inside objects of type MKI_OBJ_DAREA and MKI_OBJ_DPERIMETER to store the calculated dimension.

 

Parameters

Value

[double] Numeric value to be stored in the constant data block. Valid range: -1e300 < Value < 1e300.

 

Return Value

Returns true if the data block was added successfully. If false is returned, this indicates that the object would be too large after adding this data block.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH