Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 27-02-2005, 10:29 PM   #1
Protheus
Registered User
 
Protheus's Avatar
 
Join Date: Sep 2002
Location: Beyond Oblivion
Posts: 471
Thanks: 0
Thanked 5 Times in 5 Posts
Default How to close a panel

I have created a panel layout containing (Front/Side/Top/Persp) - is used on one monitor

This is the standard - so each time maya starts up this layout is displayed.

I have a dual monitor so what I want is to have (Front/Side/Top) on one monitor and the persp view on the other monitor. I have created a panel layout for the (front/Side/Top) layout and got the MEL script of the Tearoff Persp:

[Script]
//tearoff of persp
modelPanel -q -e -to modelPanel4;

//the standard layout
setNamedPanelLayout "Top/Front/Side";

this is all oke and it working fine.

Now I want to MEL script a button to close the teared off pers view.

I have found the name of the panel - maya is telling me that it is called: modelPanel4

But when I use: deleteUI modelPanel4;

the persview is all grey.

So my question is how do you close (MEL script) atearedoff pers view ?
__________________
The Important Thing is NOT to Stop Questioning.
--- Albert Einstein ---
www.ProtheusWorld.tk
Protheus is offline   Reply With Quote
Old 27-02-2005, 10:37 PM   #2
Protheus
Registered User
 
Protheus's Avatar
 
Join Date: Sep 2002
Location: Beyond Oblivion
Posts: 471
Thanks: 0
Thanked 5 Times in 5 Posts
Default

stupid stupid stupid !!!...

Figured it out

command is: deleteUI -panel "name of panel";

:-)
__________________
The Important Thing is NOT to Stop Questioning.
--- Albert Einstein ---
www.ProtheusWorld.tk
Protheus is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.