MKI_HatchAddPoint (Entity Creation) New in Version 2018.2

www.CAD6.com

C++ Syntax

bool

MKI_HatchAddPoint(

 __int32 f_nType,

 double f_dX,

 double f_dY );

 

bool

MKI_HatchAddPoint(

 __int32 f_nType,

 MKI_CONST_POINT_REF f_rPoint );

 

Adds a point data block (MKI_DB_POINT_???) to a previously opened provisional dynamic hatching (see MKI_HatchOpen).

 

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 hatching would be too large after adding this data block.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH