Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

webView([urlAddress=string], [windowHeight=int], [windowWidth=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

webView is undoable, NOT queryable, and NOT editable.

This command allows the user to bring up a web page view

Return value

None

Flags

urlAddress, windowHeight, windowWidth
Long name (short name) Argument types Properties
urlAddress(url) string create
Bring up webView on given URL
windowHeight(wh) int create
Set the window height
windowWidth(ww) int create
Set the window width

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.webView("http://www.autodesk.com")