Parameters |
Description |
OdBmDatabasePtr& pDb |
[in] Database for DirectShape. |
const OdBmObjectId& typeId |
[in] A type of DirectShape element to be created. |
const OdBmObjectId& categoryId |
[in] An identifier of the created element category. Must be a valid category identifier. |
OdBmElementPtr & pDirectShape |
[out] Pointer to created directShape. |
const OdGeMatrix3d& trf = OdGeMatrix3d::kIdentity |
[in] A transformation matrix to be implemented to the created element. |
eOk if the element instance was successfully created; otherwise the method returns an appropriate error code.
Creates an element instance based on a specified DirectShape type.
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.
|