GetPosNo (class MKI_ENTITY_INSTANCE) Changed in Version 2021.1

www.CAD6.com

C++ Syntax

MKI_BLOCK_ATTRIBUTE_PTR

MKI_ENTITY_INSTANCE::GetPosNo(

 __int32 f_nRange );

 

Determines if the instance references an (old-style) position number block (internal library, block name starting with '#P', local attribute "~AutoPosNum~"). If Range is positive and non-zero, this will always fail since old-style position numbers only supported one number range.

 

Return Value

If applicable, returns the corresponding attribute's address. Otherwise, nullptr is returned.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH