How to set Spot Render Spotrender to New Window by default. [SOLVED]

AbnerKAbnerK Posts: 718
edited October 2023 in Daz Studio Discussion

There's two threads for this but, I thought, since I've had a crash and lost my data that I'd create this as a quick easy way for people to add this function from my personal experience of it. I don't seem to be able to add attachments for some reason these days so:

Go to your folder

\your-user-name\AppData\Roaming\DAZ 3D\Studio4\

look to see if you have the file layout.dsa.

If you don't have then open a text editor and enter this:

__________________

// DAZ Studio version 0.0.0.0 filetype DAZ Script

MainWindow.getViewportMgr().findTool("DzSpotRenderTool").setIsNewWindow(true);

_________________________

Save it in:

\your-user-name\AppData\Roaming\DAZ 3D\Studio4\

as layout.dsa

if daz is open it will only take effect when you restart it.

 

If you already have a version of layout.dsa then open that file in a text editor and add this text under the header,

MainWindow.getViewportMgr().findTool("DzSpotRenderTool").setIsNewWindow(true);

save and close it.

It should work next time you open Daz. There won't be a check in the Tool Pain when you have the Spot Render Tool selected but, it should still work.

Here's the original thread I got the line of text from. :

https://www.daz3d.com/forums/discussion/169091/is-there-a-way-to-set-spot-render-tool-to-use-new-window-setting-by-default-solved

Post edited by AbnerK on

Comments

  • Thank you, thank you, thank you!! I'm so tired of spot render rendering in the preview window, it's completely useless in all of my cases XD

  • crosswindcrosswind Posts: 6,988

    Oh, long live the bug, haha ~~ Though I rarely use SpotRender, I always like the way of modifying *.dsxxxx file.

  • AbnerKAbnerK Posts: 718
    edited October 2023

    DrowElfMorwen said:

    Thank you, thank you, thank you!! I'm so tired of spot render rendering in the preview window, it's completely useless in all of my cases XD

    yeah, I never ever used spot render for anything but fixing a render. It should be default. 

    Post edited by AbnerK on
  • LoonyLoony Posts: 1,817
    edited November 2023

    Oh YES... THANKS.

    Can I get such "codeline" also for "Pin at BOTH" for my Activepose?

     

    Edit:

    Tried it, in Daz 4.20 doesn't work ;(

    That is my Script:

    // DAZ Studio version 0.0.0.0 filetype DAZ ScriptMainWindow.getViewportMgr().findTool("DzSpotRenderTool").setIsNewWindow(true);var oFileInfo = new DzFileInfo( getScriptFileName() );var sLayoutName = "dual screen setup 1.3.21";if( oFileInfo.baseName() === sLayoutName ){	var oActionMgr = MainWindow.getActionMgr();	var oPaneMgr = MainWindow.getPaneMgr();		var sPath = String( "%1/actions/%2.dsx" ).arg( oFileInfo.path() ).arg( sLayoutName );	oActionMgr.loadInterfaceFile( sPath, false );		sPath = String( "%1/menus/%2.dsx" ).arg( oFileInfo.path() ).arg( sLayoutName );	oActionMgr.loadInterfaceFile( sPath, false );		sPath = String( "%1/toolbars/%2.dsx" ).arg( oFileInfo.path() ).arg( sLayoutName );	oPaneMgr.removeAllToolBars();	oActionMgr.loadInterfaceFile( sPath, false );		oPaneMgr.setOrientTabsAlongTop( false );	oPaneMgr.setUseWorkflowAssistance( false );	oPaneMgr.setShowLessonStrip( false );	oPaneMgr.enableActivityBar( false );		oActionMgr.saveInterfaceFiles();}

    It keeps the checkbox on "Viewport".

    Post edited by Loony on
Sign In or Register to comment.