MKI_AttributeGetOutline (Attributes) New in Version 2021.0

www.CAD6.com

C++ Syntax

__int32

MKI_AttributeGetOutline(

 MKI_CONST_ENTITY_PTR f_pEntity,

 __int32 f_nOutlineIndex,

 MKI_ATTRIBUTE_DATA_PTR f_pData );

 

Retrieves all outline attributes from a specific outline within the given entity.

 

Parameters

Entity

[MKI_CONST_ENTITY_PTR] Address of the entity containing the outline.

OutlineIndex

[__int32] Zero-based index of the outline whose attributes shall be retrieved.

Data

[MKI_ATTRIBUTE_DATA_PTR] Address of a buffer that shall received all retrieved attributes. You can use MKI_AttributeBuffer to allocate a buffer of the required size.

 

Return Value

Returns the number of attributes retrieved. If a negative value is returned, this indicates either the outline was not found, the entity does not support outline attributes, or invalid parameters.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH