SmApiUsdExportBrep#

Defined in SM_API_USD/inc/SmApiUsd.h

SmStatus SmApiUsdExportBrep(
const char *pFileName,
SmBrep *pSmBrep,
SmBoolean bExportUVCurves = TRUE,
SmBoolean bBoundUnboundedFaceRanges = FALSE,
)#

Export a single SmBrep to a new USD file. Retains generated trims, caches, and destination-path attributes on the input with the same side effects as SmApiUsdExportBreps; does not copy the Brep.

Parameters:
  • pFileName – [in ]: Output USD file path

  • pSmBrep – [i/o]: SmBrep to export; ownership remains with the caller

  • bExportUVCurves – [in ]: TRUE = include edgeuse UV trim curves

  • bBoundUnboundedFaceRanges – [in ]: TRUE = use trim-curve bounds for unbounded BrepArray face ranges without modifying the BRep face domains

Returns:

SM_SUCCESS on success, error code otherwise