Mod Tool: Difference between revisions

51 bytes removed ,  24 October 2012
m
no edit summary
mNo edit summary
mNo edit summary
Line 912: Line 912:
  XSIUtils.LaunchProcess onibat, 0, onilocation
  XSIUtils.LaunchProcess onibat, 0, onilocation


  ' alternative to cmd: call onisplit directly via winmgmts
  ' alternative to cmd: call onisplit via winmgmts
   
   
  ' slightly modified code from [http://blogs.technet.com/b/heyscriptingguy/archive/2006/12/08/how-can-i-start-a-process-and-then-wait-for-the-process-to-end-before-terminating-the-script.aspx that site]
  ' slightly modified code from [http://blogs.technet.com/b/heyscriptingguy/archive/2006/12/08/how-can-i-start-a-process-and-then-wait-for-the-process-to-end-before-terminating-the-script.aspx that site]
Line 1,294: Line 1,294:
** Trigger volumes: import / add / export
** Trigger volumes: import / add / export
** camera OBAN: import ([[wikipedia:Drag_and_drop|DnD]]) / export
** camera OBAN: import ([[wikipedia:Drag_and_drop|DnD]]) / export
Code needs improvement to ease integration of other file types.




=====Selection tracking camera=====
=====Selection tracking camera=====
The camera could move to selected object and become reset to last known position when user deselect the object.
* https://dl.dropbox.com/u/139715/auto_selection_tracking.txt
' save current cam pos to new scene properties
' [...]
FrameSelection False, True, 1


This automatic tracking could also be disable anytime when user clicks a button.
' enable automatic tracking
set_auto_tracking ("yes")
' disable automatic tracking
set_auto_tracking ("no")


There could be other buttons to jump to previous/next object grouped under their parent.
There could be other buttons to jump to previous/next object grouped under their parent.
8,452

edits