Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Brep2IfcAdvancedBrepFiller::convertBrep2Model Method
Syntax
C++
OdResult convertBrep2Model(OdDAIObjectId& shapeId);

Adds the B-Rep object to the model as a new shape representation. If the shape representation already exists, the method adds an IfcAdvancedBrep instance to it; otherwise, it creates a new shape representation.

Parameters
Description
shapeId
[in/out] A placeholder for the identifier of the created shape representation object. If the identifier is zero, the method creates a new IfcProductDefinitionShape and sets its identifier.

eOk if the shape representation object was successfully created; otherwise, the method returns an appropriate error code.

The B-Rep object conversion to the IFC format is in the beta state.

Copyright © 2002-2022. Open Design Alliance All rights reserved.