C++
static Acad::ErrorStatus createPointCloudExDictionary( AcDbDatabase* pDb, AcDbObjectId& dictId );
Description
This function creates a new point cloud extension dictionary. If the dictionary could not be created, then AcDbPointCloudDefEx::pointCloudExDictionary() will return 0. Otherwise, dictId is set by this function, and can be used as if the value had been returned by pointCloudExDictionary(). If the dictionary already exists, this method will simply set dictId to the existing dictionary's ID.
Parameters
Parameters | Description |
---|---|
pDb | Input AutoCAD database in which to create the dictionary |
dictId | Output parameter that will be set to the object ID of the newly created dictionary, or existing dictionary |
Returns
Returns Acad::eOk if successful. Returns Acad::eAlreadyInDb if the dictionary "ACAD_POINTCLOUD_EX_DICT" already exists, and no new dictionary was created. Other values are returned if the dictionary could not be created or doesn't exist.