Mod Tool/Scripting: Difference between revisions

m
no edit summary
(more snippets)
mNo edit summary
Line 10: Line 10:
  ' INFO : 7.5.203.0
  ' INFO : 7.5.203.0


====Directories====
  logmessage XSIUtils.ResolvePath("$XSI_USERHOME/")
  logmessage XSIUtils.ResolvePath("$XSI_USERHOME/")
  ' directory to addons and exported resources
  ' directory to addons and exported resources
Line 22: Line 24:
  ' INFO : C:\Softimage\Softimage_Mod_Tool_7.5\
  ' INFO : C:\Softimage\Softimage_Mod_Tool_7.5\


logmessage XSIUtils.ResolvePath("$XSI_CPU/")
' shows programm bit version
' example:
' for 64-bit
' INFO : nt-x86-64\
' for 32-bit
' INFO : nt-x86\
====Directories====
  ' this can be useful for default locations like when selecting a folder
  ' this can be useful for default locations like when selecting a folder
  DesktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
  DesktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
Line 100: Line 90:
  logmessage "64"
  logmessage "64"
  end if
  end if
===XSI/Softimage bit version===
logmessage XSIUtils.ResolvePath("$XSI_CPU/")
' shows programm bit version
' example:
' for 64-bit
' INFO : nt-x86-64\
' for 32-bit
' INFO : nt-x86\




Line 537: Line 539:


====PPG content====
====PPG content====
=====Text input=====
oPSet.AddParameter3 "ParamName", siString
oPPGLayout.AddItem "ParamName", "Caption"
=====Integer input=====
oPSet.AddParameter3 "ParamName", siInt2, , , , false, 0
oPPGLayout.AddItem "ParamName", "Caption"
=====Droplist=====
=====Droplist=====
  oPSet.AddParameter3 "Team", siString, 0
  oPSet.AddParameter3 "Team", siString, 0
8,330

edits