C++
Acad::ErrorStatus findArrowId( 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.
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 existing arrowhead (actually the name of an AcDbBlockTableRecord in this database), 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 |