RTT DeltaGen 2025 Python distribution settings issue

Hello community / devs,

I've been running into a snag as of late with the exporting settings via Python API. Should I assume that the exporting capabilities of DeltaGen with Python are still not implemented?

 

I can create export settings, create distribution settings through that export, and then when I go to save the export, pass in the correct parameters, it appears to:

  1. only save the entire scene,
    1. If everything is visible,
    2. Disregards selection
  2. save only what is visible including parent directories, or
    1. version 1
      1. If only a specific set of objects are showing, including parent directories, it exports this as a whole
      2. Disregards selection
    2. version 2:
      1. If scene has been transferred to a new, temporary scene
      2. Only grabs from scene root
      3. Disregards selection
  3. save nothing in the scene at all
    1. If root of scene is hidden, it ignores the scene
    2. If anything above selection is hidden, it ignores the scene

It also appears that any API that has been enabled is not setting, though it is clearly enabled in the export settings.

 

Expectation:

  • Build settings
  • Apply settings on save
    • Remove B-Sides
    • Remove NURBS data (convert to Polygon Mesh)
    • If Group I want to export as Root object is nested 3 layers deep and I have selected that as my root object to export, scene is designated from that selection
  • File saved to desktop
  • Open with all NURBS data removed

Actual result:

  • Built settings correctly
  • Settings only half-applied
  • When saved, expectation is 1/4 met, with data incorrectly configured
  • Open to see entire hierarchy preserved, body/shell preserved, B-Sides preserved

 

Thank you kindly,

 

Here is an example of the API I am using:

from pathlib import Path
import FileIO

exp_settings = FileIO.sceneExport().createExportSettings()		# Creates export settings container
exp_settings.keepLods(False)									# Unsure if this works, I have no LODs in my scene
exp_settings.keepSideAsPoly(0)									# Appears to not work
exp_settings.sideToSave(0)										# Appears to not work
exp_settings.removeNURBS()										# Appears to not work
exp_settings.saveOnlyVisibleModels(True)						# See above at 1, 2, 3

dist_settings = exp_settings.createDistributionSettings()		# Creates pointer to new distribution settings
dist_settings.encryptGeometry(False)							# Uninterested in encryption
dist_settings.activeChildOnly(True)								# I assume this works on selected objects
dist_settings.saveGeometry(True)								# This saves my body and shell
dist_settings.saveTextures(False)								# Appears to work but I have no textures in my scene
dist_settings.saveAnimations(False)								# Appears to work but I have no animations in my scene
dist_settings.saveSurrounding(False)							# Appears to work
dist_settings.projectName(group_object.name())					# This is maintained
dist_settings.projectDirectory(str(Path.home().joinpath("TEST"))) # This is maintained
dist_settings.sidesToSave(dist_settings.saveASide())			# Does not work
dist_settings.removeNURBS()										# Does not work
dist_settings.fileFormat(dist_settings.fbxFormat())				# This is maintained and works well

save_file_info = FileIO.sceneExport().createSaveFileInfo()		# Creates new save file info const
save_file_info.scene(scene_access().activeScene())				# If I have a temp scene, I pass it in here

FileIO.sceneExport().save(exp_settings, save_file_info)			# Saves in correct location, with name, but settings are incorrect