API Reference > Classes > Main Classes > OdBmDirectShape Class
OdBmDirectShape Class
Syntax
C++
class OdBmDirectShape : public OdBmElement;

BmDirectShape.h

This class implements functionality for managing a DirectShape element. A DirectShape element allows storing geometry shape data created with external applications and represented with external formats (for example, STEP). DirectShape elements should be used in cases when fully functional elements can not be created in BimRv or there is no sufficient information for their creation; or when full functionality is not needed. An OdBmDirectShape element can be associated with a category. 

 

Appends a specified collection of GNode objects to the DirectShape element.  
Creates a direct shape element and adds to database.  
Creates an element instance based on a specified DirectShape type.  
Retrieves data that identifies the creating application.  
Retrieves the creating application identifier.  
Retrieves whether the DirectShape element can create a status of its parts.  
Retrieves the category of the DirectShape element.  
Retrieves the shape geometry data.  
Retrieves the current name of the DirectShape element.  
Retrieves the DirectShape options.  
Retrieves the plan view geometry data.  
Retrieves the current DirectShape element position.  
 
Retrieves the data about DirectShape geometry.  
Retrieves the DirectShape element type.  
Creates a direct shape element and adds to database.  
Validates the geometry stored in the DirectShape element.  
Validates GNode objects stored in the DirectShape element.  
Validates GNode objects of a specified view type stored in the DirectShape element.  
Sets new data that identifies the creating application.  
Sets a new creating application identifier.  
Sets a new category for the DirectShape element.  
Sets a new name for the DirectShape element.  
Sets new DirectShape options.  
Builds the shape from the supplied collection of GNode objects.  
Sets a new DirectShape type.  
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.