AddTemporary (class MKI_BUFFER) Renamed in Version 2025.0

www.CAD6.com

C++ Syntax

bool

MKI_BUFFER::AddTemporary(

 __int32 f_nEnumMode,

 MKI_TIMER_PTR f_pTimer );

 

Enumerates all temporary objects and adds them to a buffer used for hatching purposes or the point-in-area test.

 

Parameters

EnumMode

[__int32] This value determines the way that entities are enumerates. It indicates what types of geometrical data the plug-in can handle. It can be a bit-wise OR combination of the following flags:

 

MKI_ENUM_LINES

The plug-in can only handle polylines / polygons. This is the basic mode which can be combined with one or more of the following modes to allow more complex geometric data.

 

MKI_ENUM_ARCS

The plug-in can handle circular arcs in polylines / polygons.

 

MKI_ENUM_BEZIERS

The plug-in can handle Bézier curves in polylines / polygons.

Timer New in Version 2023.2

[MKI_TIMER_PTR] If not nullptr, address of a timer with an expiry interval set. Once that interval expires, this method will terminate and return false.

 

Return Value

Returns true if the enumeration was successful, else false.

 

Comment

If you have finished adding objects to the buffer call the command MKI_BUFFER::Prepare which prepares the data stored in this buffer for further calculation.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH