AcMapAnnotationManager::InsertAnnotationReferences Function

Land Desktop Development ARX CPP SDK

AcMapAnnotationManager:: InsertAnnotationReferences Function
 

Attaches an annotation reference to one or more associated entities.

Acad::ErrorStatus InsertAnnotationReferences(
    AcDbObjectIdArray& newBlockReferenceIds, 
    const ACHAR * pszTemplateName, 
    const AcDbObjectIdArray& assocEntArray, 
    const AcDbBlockReference * pMatchThisBlockReference = NULL
);
File

AcMapAnnotationManager.h

Parameters 
Description 
newBlockReferenceIds 
Output array of object IDs of the newly created annotation references.  
pszTemplateName 
Input name of the annotation template to attach.  
assocEntArray 
Input array of object IDs of the entities to which the references will be attached.  
pMatchThisBlockReference 
Input optional pointer to an existing annotation reference, whose static-property and expression-string overrides are used to create the new annotation reference.  
Returns

Returns Acad::eOk if successful; otherwise, returns an error code.

Remarks

This function takes a named annotation template and an array of associated entity object IDs. An array of new block reference object IDs is an output parameter. If the caller provides an optional pointer to an existing annotation reference, that reference's static-property and expression-string overrides are used to create the new annotation references.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].