A3DAsmModelFileCreate

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

Creates a new:c:type:~A3DAsmModelFileusing the data in the given:c:struct:~A3DAsmModelFileDatastructure.

By creating a model file, you are responsible of deleting it later with:c:func:~A3DAsmModelFileDelete.

The new model file must have a root product occurrence. If the input data doesn’t contain any,:c:func:~A3DAsmModelFileCreatewill implicitly create one. This new product occurrence can be retrieved back on calling``A3DAsmModelFileGet``with``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