Export error in Autodesk Mod Tool 7.5 [Solved]

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Export error in Autodesk Mod Tool 7.5 [Solved]

Post by giftheck »

I'm trying to export a unit in Autodesk Mod Tool 7.5 using the ZETools and I keep getting this error when I click on "Export":
Hidden/Spoiler:
[code]# WARNING : DirectX 10 support is disabled: No compatible adapter found
# INFO : XNA.xsitemplate is up-to-date
# INFO : 4034 - Loaded scene was created with build number: 7.5.2009.0409 - compatibility version: 1073742125
# WARNING : 3033 - Unable to resolve path: Pictures\rep_inf_trooper.tga
Application.OpenScene("D:\\Softimage\\Softimage_Mod_Tool_7.5\\Addons\\ModTool_Database\\Scenes\\TFURoyalGuardSWBF.exp", "", "")
Application.SelectObj("GroundDummy", "BRANCH", "")
Application.MSHExport()
# ERROR : Traceback (most recent call last):
# File "<Script Block >", line 35, in exportbutton_OnClicked
# export.export()
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 749, in export
# self.do_export()
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 783, in do_export
# self.msh.models.add(conv.convert())
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 526, in convert
# if 'geo' in self.msh2_model.model_type:
# TypeError: argument of type 'NoneType' is not iterable
# - [line 34 in C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\\Application\Logic\exporter.py]
# ERROR : Property Page Script Logic Error (Python ActiveX Scripting Engine)
# ERROR : [32] settings = andezetcore.load_settings('export', PPG.Inspected(0))
# ERROR : [33] export = andezetexport.Export(xsi, settings)
# ERROR : >[34] try:
# ERROR : [35] export.export()
# ERROR : [36] except SystemExit:
# ERROR : [37] return
# ERROR : Traceback (most recent call last):
# File "<Script Block >", line 35, in exportbutton_OnClicked
# export.export()
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 749, in export
# self.do_export()
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 783, in do_export
# self.msh.models.add(conv.convert())
# File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 526, in convert
# if 'geo' in self.msh2_model.model_type:
# TypeError: argument of type 'NoneType' is not iterable
#
Application.Copy("")[/code]
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Export error in Autodesk Mod Tool 7.5

Post by AceMastermind »

1. The xsizetools-master folder should be located here:
C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-master
instead of here:
C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master

I don't know whether or not the current location will have a negative impact on how it works.
Its best to have it where the developer wants it though, to avoid potential issues.


2. You are trying to export an unsupported type. ZETools supports null, bone and poly mesh types.
GroundDummy is a model, or miniscene (scene within a scene).
Select dummyroot and export.
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Re: Export error in Autodesk Mod Tool 7.5

Post by giftheck »

Followed your advice for both and now it works. Thanks :)
Post Reply