AppendConstant (class MKI_BLOCK_ENUM) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_BLOCK_ENUM::AppendConstant(

 const double f_dValue );

 

Appends a new data block of type MKI_DB_ALL_CONSTANT (one double value) with the given value to the current enumerator. The current offset determines the location where to start adding data blocks.

 

This is e.g. used to add the zigzag distance value to a zigzag line.

 

Return Value

Returns true if successful or false if the resulting entity would be invalid or too long.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH