Share

acgiGetRegenBlockRefStack Function

C++

Acad::ErrorStatus acgiGetRegenBlockRefStack(
    AcDbObjectIdArray& blkRefs
);

File

acgi.h

Description

This function fills the blkRefs array with the objectIds of the of the AcDbBlockReferences involved in regenerating the current entity. The stack is outermost BlockRefId first and innermost id last. So, for example, if the BlockTableRecord named "test" is referenced by a BlockReference and that BlockReference is in another block named "outer", then when the BlockReference that references the BlockTableRecord "test" is regenerating as part of regenerating the the BlockReference that references the BlockTableRecord "outer", then this function will fill in the blkRefs array with two objectIds. The first id will be for the the BlockReference that references BlockTableRecord "outer" and the second id will be for the BlockReference that references BlockTableRecord "test".

Returns Acad::eOk if successful.

Parameters

Parameters Description
blkRefs Input array to be filled in with the blockRefIds

Was this information helpful?