CadConverterHelper
- class omni.kit.converter.cad_core.CadConverterHelper
Bases:
objectCan be used to make calls to the CAD converter and for updating the USD stage
Methods
__init__()Initialize CAD Converter Helper class
Cancel CAD file conversion
create_import_task(converter_options)Wraps the Hoops Exchange CAD Converter so that it works with Nucleus files.
destroy()Clean up resources
get_cached_stage_id()Set change in progress
Set change in step
- __init__()
Initialize CAD Converter Helper class
- cancel_task()
Cancel CAD file conversion
- async create_import_task(converter_options: omni.kit.converter.cad_core._impl.options_models.HoopsOptions) Tuple[str, omni.kit.converter.common.common.ConverterStatus]
Wraps the Hoops Exchange CAD Converter so that it works with Nucleus files.
- Parameters
converter_options – converter settings object
- Returns
Final output destination URL. hoops_convert_status(namedtuple): Hoops error code and associated message
- Return type
output_destination_url (str)
- destroy()
Clean up resources
- set_progress_changed_callback(cb)
Set change in progress
- set_step_changed_callback(cb)
Set change in step