MKI_ObjectAddOrient (Entity Creation)

www.CAD6.com

C++ Syntax

bool

MKI_ObjectAddOrient(

 double f_dOrient );

 

Adds an arc orientation data block (MKI_DB_ALL_ORIENT) to a previously opened temporary object (see MKI_ObjectOpen). This type of data block is usually used inside objects of type MKI_OBJ_ARC, MKI_OBJ_SECTOR, MKI_OBJ_SEGMENT etc. to determine the arc's orientation (clockwise or counter-clockwise).

 

Parameters

Orient

[double] Orientation of the arc. Negative values indicate clockwise orientation, non-negative values indicate counter-clockwise direction. 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