|
HDK
|
#include "pxr/pxr.h"#include "pxr/usd/sdf/api.h"#include "pxr/usd/sdf/layer.h"#include "pxr/external/boost/python/dict.hpp"#include <string>
Include dependency graph for pyUtils.h:Go to the source code of this file.
Functions | |
| PXR_NAMESPACE_OPEN_SCOPE SDF_API bool | SdfFileFormatArgumentsFromPython (const pxr_boost::python::dict &dict, SdfLayer::FileFormatArguments *args, std::string *errMsg=NULL) |
| PXR_NAMESPACE_OPEN_SCOPE SDF_API bool SdfFileFormatArgumentsFromPython | ( | const pxr_boost::python::dict & | dict, |
| SdfLayer::FileFormatArguments * | args, | ||
| std::string * | errMsg = NULL |
||
| ) |
Convert the Python dictionary dict to an SdfLayer::FileFormatArguments object and return it via args.
If a non-string key or value is encountered, errMsg will be filled in (if given) and this function will return false. Otherwise, this function will return true.