QUOTE(Joojaa @ 03/16/07, 02:32 PM) [snapback]262352[/snapback]
why, maya operates on selection lits that themselves are invisible, you only need to autoload stuff into theese lists. And mayas allready doing this.
What do you mean? Selection lists? I'm talking about using the viewSelected attribute in a modelEditor, but since which objects are visible when viewSelected is turned on is dependent on the modelEditor itself and not the camera, I'd need to update it every time the user changes the camera in a modelEditor, because I only want these objects visible in a certain camera, not a certain modelEditor.
QUOTE
But that would happen in any case, for example if you use a bookmark in the list and start modifying the viewport via script and dont update active list it still craps the thing up equally well. Which it incidentally very rarely does. Indeed its jsut the same effect taking user just one step away the internals thats all. But no its a integral definition of maya so it dont break infact the script and mel commands get blurred here.
I'm thinking more like having a script that toggles viewSelected in the active modelEditor that's, say, bound to a keystroke. I have that set up in my Maya configuration right now, and presumably other people could have something similar. Using that script would break this because it would turn off viewSelected (which was previously always on, even if the user didn't realize it), which makes the previously invisible objects visible again. And as far as I know there's nothing I can do about that.
QUOTE
PPS I don't actually get peoples obsession with transparency, i mean people stop developing something way better just because its not transparent is stupid (so you change the way people opewrate and makei ti better then what they do now). Its like saying in order for us to make less fuelefficient vehicles lets not consider something other than cars.
Transparency is important because it's good user interface design. Bad user interfaces happen when things get inconsistent or unexpected things start happening, which causes people to get confused or irritated. I'm developing a product that's targeted at a wide variety of Maya users who are going to expect things to work a certain way, and if somehow the product messes things up, like say the viewSelected feature, then people are going to complain. And I can't have the attitude "well that's how our product works and you have to adjust, take it or leave it!" because then people are going to say, "Well, screw you guys, I'm not taking it." and then they don't buy the product anymore, which is exactly the opposite of what we want to happen.
So right now I've been trying to get a custom selectionConnection to define what's visible in a modelEditor, but it's just not working. I'll change the mainListConnection, update it, made sure it's been unlocked, and all that, but the modelEditor doesn't change. Is there something else I have to do?