how to customize
how to customize
hi every one i am looking for how to change every time when open softimage from wireframe to shaded and headlight auto when opening
Re: how to customize
You can do this with a plugin from ShaderOP
http://shaderop.com/projects/set-defaul ... index.html
Also in the SI resources(search for Default Display)
http://si-community.com/download/lb/moh ... sPlugin.js
http://shaderop.com/projects/set-defaul ... index.html
Also in the SI resources(search for Default Display)
http://si-community.com/download/lb/moh ... sPlugin.js
Re: how to customize
You’ll have to create a Plugin with an event.
For doing that, is not that difficult, you only need an extremely basic level of scripting knowledge.
I’m writing from my cellphone right now but I’ll write you an example when I go to my office on monday.
For doing that, is not that difficult, you only need an extremely basic level of scripting knowledge.
I’m writing from my cellphone right now but I’ll write you an example when I go to my office on monday.
M.Yara
Character Modeler | Softimage Generalist (sort of)
Character Modeler | Softimage Generalist (sort of)
Re: how to customize
This is a plugin I wrote a long time ago when I used to write in VBS.
It has 3 events,
On Start up (on Softimage start up)
On End New Scene Open (after a new scene has been opened)
You could add more events like siOnEndSceneOpenEvent for being executated after an Scene has been opened.
Just put the code you want into the part you want to. For this you could just copy & paste from the log (be sure to put it in VBS) and modify it as you like.
Then put this code into a file with a .vbs extension and save it in your Plugins directory
ex: C:\Users\myara\Autodesk\Softimage_2015_SP1\Application\Plugins
It has 3 events,
On Start up (on Softimage start up)
On End New Scene Open (after a new scene has been opened)
You could add more events like siOnEndSceneOpenEvent for being executated after an Scene has been opened.
Just put the code you want into the part you want to. For this you could just copy & paste from the log (be sure to put it in VBS) and modify it as you like.
Then put this code into a file with a .vbs extension and save it in your Plugins directory
ex: C:\Users\myara\Autodesk\Softimage_2015_SP1\Application\Plugins
Code: Select all
function XSILoadPlugin( in_reg )
in_reg.Author = "myara"
in_reg.Name = "NewEvent Plug-in"
in_reg.Major = 1
in_reg.Minor = 0
in_reg.RegisterEvent "siOnEndNewSceneEvent",siOnEndNewScene
in_reg.RegisterEvent "siOnStartupEvent",siOnStartup
in_reg.RegisterEvent "siOnEndSceneOpenEvent",siOnEndSceneOpen
XSILoadPlugin = true
end function
function XSIUnloadPlugin( in_reg )
dim strPluginName
strPluginName = in_reg.Name
Application.LogMessage strPluginName & " has been unloaded.",siVerbose
XSIUnloadPlugin = true
end function
' Callback for the siOnEndNewSceneEvent event.
function siOnEndNewSceneEvent_OnEvent( in_ctxt )
Application.LogMessage "siOnEndNewSceneEvent_OnEvent called",siVerbose
'Suspend Drawing to make changes on the Viewport
'--------------------------------------
set vw = Desktop.ActiveLayout.Views.Find ("View Manager")
vw.setattributevalue "suspenddrawing","true"
'--------------------------------------
'Set B View camera : User, Turn on Scene Info & Selection Info on Cam B, change to shaded view
vw.setattributevalue "activecamera:b","User"
SetValue "Views.ViewB.*.camvis.sceneinfo", 1
SetValue "Views.ViewB.*.camvis.selectioninfo", 1
SetDisplayMode "Views.ViewB.UserCamera", "shaded"
SetValue "Views.ViewA.*.camvis.constructionlevel", false
SetValue "Views.ViewC.*.camvis.constructionlevel", false
SetValue "Views.ViewD.*.camvis.constructionlevel", false
'--------------------------------------
'Put Back Drawing
vw.setattributevalue"suspenddrawing","false"
'--------------------------------------
siOnEndNewSceneEvent_OnEvent = true
end function
' Callback for the siOnStartupEvent event.
function siOnStartupEvent_OnEvent( in_ctxt )
Application.LogMessage "siOnStartupEvent_OnEvent called",siVerbose
' Run siOnEndNewSceneEvent_OnEvent
call siOnEndNewSceneEvent_OnEvent( in_ctxt )
siOnStartupEvent_OnEvent = true
end function
M.Yara
Character Modeler | Softimage Generalist (sort of)
Character Modeler | Softimage Generalist (sort of)
Re: how to customize
you can set a default scene for Softimage
https://knowledge.autodesk.com/search-r ... tings.html
https://knowledge.autodesk.com/search-r ... tings.html
-
- Posts: 9
- Joined: 23 Apr 2019, 19:23
Re: how to customize
For the headlight, you can go File>Preferences>Display>Display Options> check "Enable View Head Light for New Scenes"
Who is online
Users browsing this forum: No registered users and 43 guests