convert#

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

Overloaded function.

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

    Convert .dgn to USD.

    Args:

    parameters: Conversion parameters inputPath: Path of .dgn file to read outputLayer: SdfLayerHandle to write to

    Returns:

    Tuple where first value represents conversion success bool flag and second value represents error message.

  2. convert(parameters: omni.converter.dgn._omni_converter_dgn.Parameters = <omni.converter.dgn._omni_converter_dgn.Parameters object at 0x000001C3345BC030>, inputPath: str, outputPath: str, outputArgs: Dict[str, str] = {}) -> Tuple[int, str]

    Convert .dgn to USD.

    Args:

    parameters: Conversion parameters inputPath: Path of .dgn file to read outputPath: Path of the USD file to write outputArgs: File format arguments to pass to the output layer

    Returns:

    Tuple where first value represents conversion success bool flag and second value represents error message.