Possible to script or hotkey to switch to a custom camera?
![Falco](https://secure.gravatar.com/avatar/e0481cf695d3b7578562f95773932a4a?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2Fe0481cf695d3b7578562f95773932a4a_100.png)
I have a hotkey for switching to perspective view that I can set in the keyboard mappings. However I want to switch back and forth between perspective and a specific camera name that i've created like "Camera1". Is there any way to assign a hotkey for this camera, either in the mappings or through a script/action? If it simplifies things it is always named the same name and it is the only camera in a scene besides the default viewports. For this situation, switching between perspective and the last used camera or something like that would work as well. Any ideas?
Comments
You can find nodes by name or label, so a scripts could do that, check the found node inherited DzCamera, and thn swap to it in the same way as your switch to Perspective View.
Hmm, I'm just setting the perspective hotkey in the keyboard mappings because theres already a daz hotkey for it. I don't know enough about scripting to figure out how to script that on my own unfortunately.