MKI_ExtAddPoint (Entity Creation) New in Version 2019.1

www.CAD6.com

C++ Syntax

bool

MKI_ExtAddPoint(

 __int32 f_nType,

 double f_dX,

 double f_dY );

 

bool

MKI_ExtAddPoint(

 __int32 f_nType,

 MKI_CONST_POINT_REF f_rPoint );

 

Adds a point data block (MKI_DB_POINT_???) to a previously opened temporary extended object (see MKI_ExtOpen).

 

Parameters

Type

[__int32] Data block point type (see MKI_DB_POINT_*).

X

Y

[double] Coordinates of the point to be added in internal [mm] (relative to the page center, scale-independent). Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX.

Point

[MKI_CONST_POINT_PTR] Point to be added in internal [mm] (relative to the page center, scale-independent). Valid range: MKI_COORD_MIN <= Value <= MKI_COORD_MAX.

 

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 2024.2 - Copyright 2024 Malz++Kassner® GmbH