Converter#
- class omni.converter.hoops.Converter#
Bases:
pybind11_objectMethods
- __init__(
- self: omni.converter.hoops._omni_converter_hoops.Converter,
- parameters: omni.converter.hoops._omni_converter_hoops.Parameters,
- convert(*args, **kwargs)#
Overloaded function.
convert(self: omni.converter.hoops._omni_converter_hoops.Converter, inputPath: str, outputPath: str, args: Dict[str, str] = {}) -> Tuple[int, str]
Convert CAD file to USD.
- Args:
inputPath: Path of CAD file to read outputPath: Path of the USD file to write args: Additional arguments may be supplied to control behavior specific to converter and the layer’s file format.
- Returns:
A (bool, string) tuple with bool indicating if the conversion was successful and string indicating error message if any.
convert(self: omni.converter.hoops._omni_converter_hoops.Converter, inputPath: str, layer: pxr.Sdf.Layer) -> Tuple[int, str]
Convert CAD file to USD.
- Args:
inputPath: Path of CAD file to read outputLayer: USD layer to write to
- Returns:
A (bool, string) tuple with bool indicating if the conversion was successful and string indicating error message if any.