GetPosNo (class MKI_ENTITY_BLOCK) Changed in Version 2021.1

www.CAD6.com

C++ Syntax

MKI_BLOCK_ATTRIBUTE_PTR

MKI_ENTITY_BLOCK::GetPosNo(

 __int32 f_nRange );

 

Determines if the block is an (old-style) position number block (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