API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::createAdvancedBrep Method
OdIfcModelerGeometry::createAdvancedBrep Method
Syntax
C++
virtual OdResult createAdvancedBrep(OdIfcAdvancedBrepPtr pBrep) = 0;
Parameters 
Description 
OdIfcAdvancedBrepPtr pBrep 
[in] A smart pointer to the OdIfcAdvancedBrep entity. 

Returns the operation result code:

  • eOk if the operation was successful.
  • eWrongObjectType if getting the attribute is failed.
  • eNullObjectPointer if the specified OdIfcAdvancedBrep entity or its sub-entity has an unsupported type.
  • eEmptySet if the specified OdIfcAdvancedBrep entity or its sub-entity has empty set;
  • eGeneralModelingFailure in other cases.

Creates an OdBrFile object from the specified OdIfcAdvnacedBrep object and stores it into the geometry modeler object. 

 

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