If you remove the first one it still works. It works because it's running last not because it's running twice.trueBlue wrote: ↑23 Jul 2019, 22:06 Yep that works as you are running the command twice.
So do you think this should be incorporated into the update?
Thinking about adding a button to the Desktop panel that calls it.
Edit: It does -> D3DView.SetActiveCamera("", '{2C152F81-45A2-4035-8896-9E49D60C8A7A}')
Is that not working for you?
Nope, that doesn't work for me. It would be better to not have it hard coded to the "{2C152F81-45A2-4035-8896-9E49D60C8A7A}" value if possible. I switched the main view to modelspace and have a smaller 3d view for workspace. Maybe you have the opposite or something different? In any case a computed value should work for all cases, assuming it's possible.
Just did a test copying the value I see on the D3dView/EyeCamera_{1C93CC97-5189-46E6-98FF-DDB3147F492F} node of "{1C93CC97-5189-46E6-98FF-DDB3147F492F}" and that works for me.