API Reference > Classes > Main Classes > OdBmDirectShape Class > OdBmDirectShape Methods > OdBmDirectShape::isValidCategoryForDirectShape Method
OdBmDirectShape::isValidCategoryForDirectShape Method
Syntax
C++
static bool isValidCategoryForDirectShape(const OdBmObjectId & id);
Parameters 
Description 
const OdBmObjectId & id 
[in] An identifier of the created element category. Must be a valid category identifier.  

true if category is valid for direct shape.

Creates a direct shape element and adds to database.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.