8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) m (dae export via scripting) |
||
Line 494: | Line 494: | ||
|- | |- | ||
| [34] drag and drop (DnD) support for specific oni files | | [34] drag and drop (DnD) support for specific oni files | ||
| | | [35] dae export | ||
| | | | ||
|} | |} | ||
Line 1,389: | Line 1,389: | ||
support_oni_DnD_OnEvent = true | support_oni_DnD_OnEvent = true | ||
end function | end function | ||
'''[35] dae export''' | |||
set oProps = ActiveProject.ActiveScene.Root.Properties | |||
if typename (oProps.find("ExportCrosswalkOptions")) = "Nothing" then | |||
logmessage "Export settings not set" | |||
CreateExportCrosswalkOptions , "ExportCrosswalkOptions" | |||
else | |||
logmessage "Export settings present" | |||
end if | |||
' sets the extension to dae | |||
SetValue "ExportCrosswalkOptions.Format", 1 | |||
' set export path and file name | |||
SetValue "ExportCrosswalkOptions.Filename", CreateObject("WScript.Shell").SpecialFolders("Desktop") & "\export_test.dae" | |||
' selection only | |||
SetValue "ExportCrosswalkOptions.ExportSelectionOnly", True | |||
' export | |||
ExportCrosswalk "ExportCrosswalkOptions" | |||
edits