Hello.
I'm trying to write a small script to clean asset files but when I invoque the Scene Converter the rollout pops up and stops waiting for me to press the convert button.
I want to run it automaticly but I don't know the right way to do it throug scripting.
Here is the script so far:
-- Reset V-Ray
renderers.current = Default_Scanline_Renderer ()
renderers.current = V_Ray_Next__update_3 ()
-- Clean Material Editor
macros.run "Medit Tools" "clear_medit_slots"
-- Set Viewport to Standard
actionMan.executeAction -844228238 "13"
-- Run V-ray Scene Converter
macros.run "VRay" "VRaySceneConverter"
-- Viewport Materials Display as Shaded with Maps
actionMan.executeAction 0 "63545"
I'm trying to write a small script to clean asset files but when I invoque the Scene Converter the rollout pops up and stops waiting for me to press the convert button.
I want to run it automaticly but I don't know the right way to do it throug scripting.
Here is the script so far:
-- Reset V-Ray
renderers.current = Default_Scanline_Renderer ()
renderers.current = V_Ray_Next__update_3 ()
-- Clean Material Editor
macros.run "Medit Tools" "clear_medit_slots"
-- Set Viewport to Standard
actionMan.executeAction -844228238 "13"
-- Run V-ray Scene Converter
macros.run "VRay" "VRaySceneConverter"
-- Viewport Materials Display as Shaded with Maps
actionMan.executeAction 0 "63545"
Comment