Share

AcDmUtil::getArrowId

C++

Acad::ErrorStatus getArrowId(
    const ACHAR * pName, 
    AcDbObjectId& blockId, 
    AcDbDatabase* pDb = 0
);

File

dbdim.h

Description

Given an arrowhead name and a database, this function returns the AcDbObjectId of the arrowhead. If pDb is NULL, it uses the working database.

This function can be used to create a built-in arrowhead. If pName is the name of a built-in arrowhead and it does not exist in this database, it will be created and added to the AcDbBlockTable.

If the function succeeds, Acad::eOk is returned. If pName is NULL, Acad::eInvalidInput is returned.

The null string ("") or "." is used to denote the default arrowhead. For these inputs blockId is set to NULL and Acad::eOk is returned.

If pName is not the name of an arrowhead, Acad::eInvalidKey is returned.

Parameters

Parameters Description
pName Input local or globally invariant name of a dimension arrowhead
blockId Output AcDbObjectId of that arrowhead
pDb Input database containing this arrowhead

Was this information helpful?