HollyWoodland
01-16-2007, 12:56 PM
am trying to create a new scriptedPanelType that functions as the script editor (or even just puts the script editor into a panel) so that I can have a nice panel layout without lots of windows everywhere.
I have created a panel with a commandLine in but obviously this only allows one line of code to be entered - not a full script
Option 1:
is it possible to parent a window into a panel? (i'm guessing the answer is "NO") if it is then can I just create an empty panel and set it as the parent of the $gCommandWindow (script editor)?
Option 2:
does anyone know where the $gCommandWindow is defined? I have grepped the entire script folder and can only find showWindow commands not actual window definitions for the script editor. I assume it is initialised in the maya code rather than in a script?
Option 3:
any idea if it's possible to embed an editor window into a panel. eg use the panel to display notepad++ or emacs with my mel script inside?
thanks
Holly
I have created a panel with a commandLine in but obviously this only allows one line of code to be entered - not a full script
Option 1:
is it possible to parent a window into a panel? (i'm guessing the answer is "NO") if it is then can I just create an empty panel and set it as the parent of the $gCommandWindow (script editor)?
Option 2:
does anyone know where the $gCommandWindow is defined? I have grepped the entire script folder and can only find showWindow commands not actual window definitions for the script editor. I assume it is initialised in the maya code rather than in a script?
Option 3:
any idea if it's possible to embed an editor window into a panel. eg use the panel to display notepad++ or emacs with my mel script inside?
thanks
Holly
