MKI_LineSetByIndex (Elements) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_LineSetByIndex(

 __int32 f_nIndex,

 MKI_CONST_LINEDEF_REF f_rData );

 

Replaces the current drawing line type definition with the new definition pointed to by Data.

 

In order to delete a line type definition, replace it with a line type definition where Data->LineName is set to "".

 

Parameters

Index

[__int32] Zero-based index of the line type definition that shall be set. Valid range: 0 < Value <= MKI_LINE_MAX.

Data

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

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH