Download

Datasmith Reimport using Python

Hi,

I am hoping to re-import my datasmith files in my pipeline process. Unfortunately I have not been able to find any examples re-importing datasmith files.

I see there is a DatasmithImportOptions class (which includes the reimport_options property) in the Python API but I have not been able to find any import function that utilizes this specific import options class.

The only import function I can find is DatasmithSceneElement.import_scene() and it only uses the DatasmithImportBaseOptions class which does not have the reimport_options property.

I am currently using UE 4.20.3.

Please let me know if the re-import functionality can utilized from Python.

Thanks

Brian

I see this one:

https://api.unrealengine.com/INT/PythonAPI/class/DatasmithReimportOptions.html

and these:

https://api.unrealengine.com/INT/PythonAPI/class/DatasmithCADReimportMeshOptions.html

https://api.unrealengine.com/INT/PythonAPI/class/DatasmithImportOptions.html

https://api.unrealengine.com/INT/PythonAPI/class/ReimportDatasmithDeltaGenAnimationsFactory.html
https://api.unrealengine.com/INT/PythonAPI/class/ReimportDatasmithDeltaGenStatesFactory.html
https://api.unrealengine.com/INT/PythonAPI/class/ReimportDatasmithDeltaGenVariantsFactory.html
https://api.unrealengine.com/INT/PythonAPI/class/ReimportDatasmithVREDClipsFactory.html
https://api.unrealengine.com/INT/PythonAPI/class/ReimportDatasmithVREDVariantsFactory.html