HDK
|
#include "pxr/pxr.h"
#include "pxr/usd/sdf/api.h"
#include "pxr/usd/sdf/layer.h"
#include <hboost/python/dict.hpp>
#include <string>
Go to the source code of this file.
Functions | |
PXR_NAMESPACE_OPEN_SCOPE SDF_API bool | SdfFileFormatArgumentsFromPython (const hboost::python::dict &dict, SdfLayer::FileFormatArguments *args, std::string *errMsg=NULL) |
PXR_NAMESPACE_OPEN_SCOPE SDF_API bool SdfFileFormatArgumentsFromPython | ( | const hboost::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.