![]() |
AddEnumerate (class MKI_BUFFER) Changed in Version 2023.2 |
www.CAD6.com |
C++ Syntaxbool MKI_BUFFER::AddEnumerate( __int32 f_nFlag, __int32 f_nEnumMode, MKI_TIMER_PTR f_pTimer );
Enumerates specific objects and adds them to a buffer used for hatching purposes or the point-in-area test.
ParametersFlag [__int32] Bit-wise OR combination of flags that determine which objects are to be enumerated and thus added to the buffer (see MKI_FLAG_*). If at least one of the flags set here is also set in the object's header, it will be enumerated. 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 ValueReturns true if the enumeration was successful, else false.
CommentIf 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