May 4 th, 2017 (Thur)
Floating camera view-like.
When I was working, I wanted it intensely, and I wrote it.
JScript
-------------------------------------------------------------------
Code: Select all
// Floating camera view-like.
// Please select the camera and execute it.
var olayout = Application.Desktop.ActiveLayout;
var oView = olayout.CreateView ("Object View", selection (0) .FullName);
oView.SetAttributeValue ("camera", selection (0) .FullName);
oView.SetAttributeValue ("displayall", "true");
oView.SetAttributeValue ("autoalign", "false");
oView.SetAttributeValue ("autoframe", "false");
oView.SetAttributeValue ("compensate", "false");
oView.SetAttributeValue ("holdselection", "false");
oView.SetAttributeValue ("localview", "false");
oView.SetAttributeValue ("lockstatus", "true");
oView.SetAttributeValue ("modifycameras", "true");
oView.SetAttributeValue ("rotatecomp", "false");
oView.SetAttributeValue ("scalecomp", "false");
oView.SetAttributeValue ("translatecomp", "false");
-------------------------------------------------------------------
That is it.
Another one that I want to put out in camera view, floating .
What I am doing is getting one object view down and just fiddling with various settings. Until now I've done it all by hand from the point of viewing the object view, but since I was troubled, I just wrote it in a script.
It seems like a simple copy of camera view, so I think that it can be used just like ABCD view normally. It's floating so you can put it anywhere on the monitor, and the point is that the size is free too .
Recently, it is impossible to operate anything in the traditional quadrant screen. It is too small. So it's common to work in full screen, or about 2 divisions in one view, but the last output camera is not easy to see. Especially when you are trying to produce an image with a very long landscape or a huge aspect, you will want more freedom in the placement and size of the camera view. That's why I try to make it a floating window.
Mr. Cinny who was at Softimage company in the past gave out this plugin. It's called Viewport Controls. Different. It's very convenient but there are too many menu items and it gets enlarged, there is a memory that seems to uninstall it as it is already ... It's a story ten years ago.
By the way, at Maya, there are functions like this script from the beginning. There is Tear Off Copy on the panel, so you can detach anything in camera view and make it floating.
By the way, I've recently forgotten how to write XSI scripts intensely, and I have difficulty with it. I wrote this in 2 minutes, but it seems like tears come out.
The speed of writing Python and MEL until Maya has gone up, but it is still mota motto.
If you feel something inconvenient, Maya wants to do scribbling scripts and training applications for me. Just as I have done with XSI. The room for customization seems to be much bigger for Maya, so the undeveloped area is vast. It seems that you can also remodel Magician.
But, for example, like mouse drag operability and selection of things, Maya is like Maya, so no matter how you customize it, that does not change. Mum, please, Mr. Maya.
And what I'm writing about this script,
I still have to be active.
It is currently being broadcasted by XSI Mr. wife.
Hailheil XSI.
Go tooo Hell Maya.