MKI_AttributeGetPoint (Attributes) New in Version 2021.0

www.CAD6.com

C++ Syntax

__int32

MKI_AttributeGetPoint(

 MKI_CONST_ENTITY_PTR f_pEntity,

 __int32 f_nPointHandle,

 MKI_ATTRIBUTE_DATA_PTR f_pData );

 

Retrieves all point attributes of a specific point within the given entity.

 

Parameters

Entity

[MKI_CONST_ENTITY_PTR] Address of the entity containing the point.

PointHandle

[__int32] Handle of the point data block whose point 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 point was not found, the entity does not support point attributes, or invalid parameters.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH