SmApiWriteBrepToFile#
Defined in SM_API/inc/SmApiImportExport.h
- SmApiStatus SmApiWriteBrepToFile(
- const SmBrep *pBrep,
- const TCHAR *pFileName,
- SmBoolean bAscii,
Write one Brep to a native SMLib .smb file.
- Parameters:
pBrep – [in ]: Brep to serialize; must not be NULL
pFileName – [in ]: Output file path; must not be NULL
bAscii – [in ]: TRUE for ASCII, FALSE for binary
- Returns:
SM_SUCCESS on success, error code otherwise