8,323
edits
Paradox-01 (talk | contribs) m (TwoSided-ness for main material, looking forward to do the same for polygon clusters ~cough cough sarcasm~) |
Paradox-01 (talk | contribs) m (DAE and FBX export) |
||
Line 840: | Line 840: | ||
When screenshots are big enough the info text doesn't overlay object and can be cut away in further image processing. | When screenshots are big enough the info text doesn't overlay object and can be cut away in further image processing. | ||
==Write file== | |||
===Export DAE=== | |||
Before you go crazy, yes, the command "CreateExportCrosswalkOptions" doesn't get logged in the script history. | |||
set oProps = ActiveProject.ActiveScene.Root.Properties | |||
if typename (oProps.find("ExportCrosswalkOptions")) = "Nothing" then | |||
CreateExportCrosswalkOptions , "ExportCrosswalkOptions" | |||
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" | |||
===Export FBX=== | |||
FBXExportLights (false) | |||
FBXExportSelection (true) | |||
' mark FBXExport and hit F1 to get more options | |||
FBXExport (CreateObject("WScript.Shell").SpecialFolders("Desktop") & "\export_test.fbx" ) | |||
==Read file== | ==Read file== | ||
=== | ===Import DAE=== | ||
CopyPaste, filePath, parentObject, 2 | CopyPaste, filePath, parentObject, 2 | ||
edits