Show aspect ratio shortcut

Hello,

Is there a way to create a shortcut for this? I can't seem to find it under "Workspace Settings"

 

Thanks

Comments

  • It's probably there but I can't see it. In the meantime, you can right-click on the Custom heading in Window>Workspace>Customise, select Create new Custom Action, check the Daz Script box, and paste this in

    var viewMgr = MainWindow.getViewportMgr();var activeView = viewMgr.getActiveViewport();if ( activeView ) {	var viewport3d = activeView.get3DViewport();	if ( viewport3d ) {		viewport3d.aspectOn = ! viewport3d.aspectOn;	}}

    giving it a label like Toggle Aspect Frame. Then you can assign a keyboard shortcut to that as usual.

  • Thank you. I will try!

  • MortzeMortze Posts: 184

    Thank you. It worked with me and is very useful!

Sign In or Register to comment.