convert#

omni.converter.hoops.convert(*args, **kwargs)#

Overloaded function.

  1. convert(parameters: omni.converter.hoops._omni_converter_hoops.Parameters, inputPath: str, outputLayer: pxr.Sdf.Layer) -> Tuple[int, str]

    Convert CAD file to USD.

    Args:

    params: Conversion parameters to use 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.

  2. convert(parameters: omni.converter.hoops._omni_converter_hoops.Parameters, inputPath: str, outputPath: str, args: Dict[str, str] = {}) -> Tuple[int, str]

    Convert CAD file to USD.

    Args:

    params: Conversion parameters to use inputPath: Path of CAD file to read outputPath: Path of the USD file to write outputArgs: 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.