SmApiUsdValidateGeometryFile#
Defined in SM_API_USD/inc/SmApiUsd.h
- SmStatus SmApiUsdValidateGeometryFile(
- const char *pInputFile,
- int iLevel,
- std::vector<SmApiUsdGeometryPrimResult> &rResults,
Run SmBrep::AssertValid, at iLevel 0 (fastest) to 2 (every check), on each BrepArray prim of a file, as SmApiUsdGeometryValidate does. Prims that share instanced geometry are checked once, under the first of them.
- Returns:
SM_SUCCESS, with a result per prim whether or not its Breps are valid; SM_ERR_INVALID_INPUT for a level outside 0-2 or a file with no BrepArray; SM_ERR when the file cannot be opened