MKI_LineAdd (Elements) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

__int32

MKI_LineAdd(

 MKI_CONST_LINEDEF_REF f_rData );

 

Adds the new definition pointed to by Data as a new line type to the current drawing.

 

Parameters

Data

[MKI_CONST_LINEDEF_REF] Address of a buffer containing the new line type definition. The name of the line type must not begin with a '*' character and must not be used yet!

 

Return Value

Returns the index of the new line type within the current drawing if added successfully. Otherwise, a negative value is returned (especially if the given line type's name is already used).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH