A3DAsmModelFileCreate

A3DStatus A3DAsmModelFileCreate(const A3DAsmModelFileData *pData, A3DAsmModelFile **ppModelFile)
A3DStatus A3DAsmModelFileCreate(const A3DAsmModelFileData* pData, A3DAsmModelFile** ppModelFile)

Creates a new A3DAsmModelFileusing the data in the given A3DAsmModelFileDatastructure.

By creating a model file, you are responsible of deleting it later with A3DAsmModelFileDelete().

The new model file must have a root product occurrence. If the input data doesn’t contain any, A3DAsmModelFileCreate()will implicitly create one. This new product occurrence can be retrieved back on calling A3DAsmModelFileGetwith ppModelFile.

Parameters

pData: The data used to create the model file.

ppModelFile: a handle to the newly created model file.

Returns

A3D_SUCCESSon success, or an error code on failure