body_hash
stringlengths 64
64
| body
stringlengths 23
109k
| docstring
stringlengths 1
57k
| path
stringlengths 4
198
| name
stringlengths 1
115
| repository_name
stringlengths 7
111
| repository_stars
float64 0
191k
| lang
stringclasses 1
value | body_without_docstring
stringlengths 14
108k
| unified
stringlengths 45
133k
|
---|---|---|---|---|---|---|---|---|---|
62dd594ea97576d8c70e5d6d42132a1cdec1c95850914da25bd2fd1382d3c495 | def sceneName():
'\n return the name of the current scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | return the name of the current scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | sceneName | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def sceneName():
'\n return the name of the current scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def sceneName():
'\n return the name of the current scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>return the name of the current scene.
Derived from mel command `maya.cmds.file`<|endoftext|> |
6fa32b8d64f5b91872d6325d3320d2d9ed61fb9a725510b7ac27103cfe91933a | def unloadPlugin(*args, **kwargs):
"\n Unload plug-ins from Maya. After the successful execution of this command, plug-in services will no longer be available.\n \n Flags:\n - addCallback : ac (script) [create]\n Add a procedure to be called just before a plugin is unloaded. The procedure should have one string argument, which will\n be the plugin's name.\n \n - force : f (bool) [create]\n Unload the plugin even if it is providing services. This is not recommended. If you unload a plug-in that implements a\n node or data type in the scene, those instances will be converted to unknown nodes or data and the scene will no longer\n behave properly. Maya may become unstable or even crash. If you use this flag you are advised to save your scene in\n MayaAscii format and restart Maya as soon as possible.\n \n - removeCallback : rc (script) [create]\n Remove a procedure which was previously added with -addCallback. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.unloadPlugin`\n "
pass | Unload plug-ins from Maya. After the successful execution of this command, plug-in services will no longer be available.
Flags:
- addCallback : ac (script) [create]
Add a procedure to be called just before a plugin is unloaded. The procedure should have one string argument, which will
be the plugin's name.
- force : f (bool) [create]
Unload the plugin even if it is providing services. This is not recommended. If you unload a plug-in that implements a
node or data type in the scene, those instances will be converted to unknown nodes or data and the scene will no longer
behave properly. Maya may become unstable or even crash. If you use this flag you are advised to save your scene in
MayaAscii format and restart Maya as soon as possible.
- removeCallback : rc (script) [create]
Remove a procedure which was previously added with -addCallback. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.unloadPlugin` | mayaSDK/pymel/core/system.py | unloadPlugin | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unloadPlugin(*args, **kwargs):
"\n Unload plug-ins from Maya. After the successful execution of this command, plug-in services will no longer be available.\n \n Flags:\n - addCallback : ac (script) [create]\n Add a procedure to be called just before a plugin is unloaded. The procedure should have one string argument, which will\n be the plugin's name.\n \n - force : f (bool) [create]\n Unload the plugin even if it is providing services. This is not recommended. If you unload a plug-in that implements a\n node or data type in the scene, those instances will be converted to unknown nodes or data and the scene will no longer\n behave properly. Maya may become unstable or even crash. If you use this flag you are advised to save your scene in\n MayaAscii format and restart Maya as soon as possible.\n \n - removeCallback : rc (script) [create]\n Remove a procedure which was previously added with -addCallback. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.unloadPlugin`\n "
pass | def unloadPlugin(*args, **kwargs):
"\n Unload plug-ins from Maya. After the successful execution of this command, plug-in services will no longer be available.\n \n Flags:\n - addCallback : ac (script) [create]\n Add a procedure to be called just before a plugin is unloaded. The procedure should have one string argument, which will\n be the plugin's name.\n \n - force : f (bool) [create]\n Unload the plugin even if it is providing services. This is not recommended. If you unload a plug-in that implements a\n node or data type in the scene, those instances will be converted to unknown nodes or data and the scene will no longer\n behave properly. Maya may become unstable or even crash. If you use this flag you are advised to save your scene in\n MayaAscii format and restart Maya as soon as possible.\n \n - removeCallback : rc (script) [create]\n Remove a procedure which was previously added with -addCallback. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.unloadPlugin`\n "
pass<|docstring|>Unload plug-ins from Maya. After the successful execution of this command, plug-in services will no longer be available.
Flags:
- addCallback : ac (script) [create]
Add a procedure to be called just before a plugin is unloaded. The procedure should have one string argument, which will
be the plugin's name.
- force : f (bool) [create]
Unload the plugin even if it is providing services. This is not recommended. If you unload a plug-in that implements a
node or data type in the scene, those instances will be converted to unknown nodes or data and the scene will no longer
behave properly. Maya may become unstable or even crash. If you use this flag you are advised to save your scene in
MayaAscii format and restart Maya as soon as possible.
- removeCallback : rc (script) [create]
Remove a procedure which was previously added with -addCallback. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.unloadPlugin`<|endoftext|> |
d7a7bb80eb400212c498cc50287f92265299d88eedd661386a12d4601fdbe09c | def dbmessage(*args, **kwargs):
"\n The dbmessagecommand is used to install monitors for certain message types, dumping debug information as they are sent\n so that the flow of messages can be examined.\n \n Flags:\n - file : f (unicode) [create]\n Destination file of the message monitoring information. Use the special names stdoutand stderrto redirect to your\n command window. As well, the special name msdevis available on NT to direct your output to the debug tab in the output\n window of Developer Studio. Default value is stdout.\n \n - list : l (bool) [create]\n List all available message types and their current enabled status.\n \n - monitor : m (bool) [create]\n Set the monitoring state of the message type ('on' to enable, 'off' to disable). Returns the list of all message types\n being monitored after the change in state.\n \n - type : t (unicode) [create]\n Monitor only the messages whose name matches this keyword (default is all). Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbmessage`\n "
pass | The dbmessagecommand is used to install monitors for certain message types, dumping debug information as they are sent
so that the flow of messages can be examined.
Flags:
- file : f (unicode) [create]
Destination file of the message monitoring information. Use the special names stdoutand stderrto redirect to your
command window. As well, the special name msdevis available on NT to direct your output to the debug tab in the output
window of Developer Studio. Default value is stdout.
- list : l (bool) [create]
List all available message types and their current enabled status.
- monitor : m (bool) [create]
Set the monitoring state of the message type ('on' to enable, 'off' to disable). Returns the list of all message types
being monitored after the change in state.
- type : t (unicode) [create]
Monitor only the messages whose name matches this keyword (default is all). Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dbmessage` | mayaSDK/pymel/core/system.py | dbmessage | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dbmessage(*args, **kwargs):
"\n The dbmessagecommand is used to install monitors for certain message types, dumping debug information as they are sent\n so that the flow of messages can be examined.\n \n Flags:\n - file : f (unicode) [create]\n Destination file of the message monitoring information. Use the special names stdoutand stderrto redirect to your\n command window. As well, the special name msdevis available on NT to direct your output to the debug tab in the output\n window of Developer Studio. Default value is stdout.\n \n - list : l (bool) [create]\n List all available message types and their current enabled status.\n \n - monitor : m (bool) [create]\n Set the monitoring state of the message type ('on' to enable, 'off' to disable). Returns the list of all message types\n being monitored after the change in state.\n \n - type : t (unicode) [create]\n Monitor only the messages whose name matches this keyword (default is all). Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbmessage`\n "
pass | def dbmessage(*args, **kwargs):
"\n The dbmessagecommand is used to install monitors for certain message types, dumping debug information as they are sent\n so that the flow of messages can be examined.\n \n Flags:\n - file : f (unicode) [create]\n Destination file of the message monitoring information. Use the special names stdoutand stderrto redirect to your\n command window. As well, the special name msdevis available on NT to direct your output to the debug tab in the output\n window of Developer Studio. Default value is stdout.\n \n - list : l (bool) [create]\n List all available message types and their current enabled status.\n \n - monitor : m (bool) [create]\n Set the monitoring state of the message type ('on' to enable, 'off' to disable). Returns the list of all message types\n being monitored after the change in state.\n \n - type : t (unicode) [create]\n Monitor only the messages whose name matches this keyword (default is all). Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbmessage`\n "
pass<|docstring|>The dbmessagecommand is used to install monitors for certain message types, dumping debug information as they are sent
so that the flow of messages can be examined.
Flags:
- file : f (unicode) [create]
Destination file of the message monitoring information. Use the special names stdoutand stderrto redirect to your
command window. As well, the special name msdevis available on NT to direct your output to the debug tab in the output
window of Developer Studio. Default value is stdout.
- list : l (bool) [create]
List all available message types and their current enabled status.
- monitor : m (bool) [create]
Set the monitoring state of the message type ('on' to enable, 'off' to disable). Returns the list of all message types
being monitored after the change in state.
- type : t (unicode) [create]
Monitor only the messages whose name matches this keyword (default is all). Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dbmessage`<|endoftext|> |
98a60ec6ee7c6911714d55141d6e2cc9cc31db7f4385ab48bb3b63565262e932 | def shotTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the shots displayed in the Sequencer. It can also be\n used to modify the track state, for example, to lock or mute a track. In query mode, return type is based on\n queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not.\n \n - numTracks : nt (int) [query]\n To query the number of tracks\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - selfmute : sm (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not (unlike mute, this disregards soloing).\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be soloed or not.\n \n - swapTracks : st (int, int) [create]\n This flag is used to swap the contents of two specified tracks.\n \n - title : t (unicode) [create,query,edit]\n This flag specifies the title for the track.\n \n - track : tr (int) [create,query,edit]\n Specify the track on which to operate by using the track's trackNumber.\n \n - unsolo : uso (bool) [query]\n This flag specifies whether shots on a track are to be unsoloed or not. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.shotTrack`\n "
pass | This command is used for inserting and removing tracks related to the shots displayed in the Sequencer. It can also be
used to modify the track state, for example, to lock or mute a track. In query mode, return type is based on
queried flag.
Flags:
- insertTrack : it (int) [create]
This flag is used to insert a new empty track at the track index specified.
- lock : l (bool) [create,query,edit]
This flag specifies whether shots on a track are to be locked or not.
- mute : m (bool) [create,query,edit]
This flag specifies whether shots on a track are to be muted or not.
- numTracks : nt (int) [query]
To query the number of tracks
- removeEmptyTracks : ret (bool) [create]
This flag is used to remove all tracks that have no clips.
- removeTrack : rt (int) [create]
This flag is used to remove the track with the specified index. The track must have no clips on it before it can be
removed.
- selfmute : sm (bool) [create,query,edit]
This flag specifies whether shots on a track are to be muted or not (unlike mute, this disregards soloing).
- solo : so (bool) [create,query,edit]
This flag specifies whether shots on a track are to be soloed or not.
- swapTracks : st (int, int) [create]
This flag is used to swap the contents of two specified tracks.
- title : t (unicode) [create,query,edit]
This flag specifies the title for the track.
- track : tr (int) [create,query,edit]
Specify the track on which to operate by using the track's trackNumber.
- unsolo : uso (bool) [query]
This flag specifies whether shots on a track are to be unsoloed or not. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.shotTrack` | mayaSDK/pymel/core/system.py | shotTrack | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def shotTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the shots displayed in the Sequencer. It can also be\n used to modify the track state, for example, to lock or mute a track. In query mode, return type is based on\n queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not.\n \n - numTracks : nt (int) [query]\n To query the number of tracks\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - selfmute : sm (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not (unlike mute, this disregards soloing).\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be soloed or not.\n \n - swapTracks : st (int, int) [create]\n This flag is used to swap the contents of two specified tracks.\n \n - title : t (unicode) [create,query,edit]\n This flag specifies the title for the track.\n \n - track : tr (int) [create,query,edit]\n Specify the track on which to operate by using the track's trackNumber.\n \n - unsolo : uso (bool) [query]\n This flag specifies whether shots on a track are to be unsoloed or not. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.shotTrack`\n "
pass | def shotTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the shots displayed in the Sequencer. It can also be\n used to modify the track state, for example, to lock or mute a track. In query mode, return type is based on\n queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not.\n \n - numTracks : nt (int) [query]\n To query the number of tracks\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - selfmute : sm (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be muted or not (unlike mute, this disregards soloing).\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether shots on a track are to be soloed or not.\n \n - swapTracks : st (int, int) [create]\n This flag is used to swap the contents of two specified tracks.\n \n - title : t (unicode) [create,query,edit]\n This flag specifies the title for the track.\n \n - track : tr (int) [create,query,edit]\n Specify the track on which to operate by using the track's trackNumber.\n \n - unsolo : uso (bool) [query]\n This flag specifies whether shots on a track are to be unsoloed or not. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.shotTrack`\n "
pass<|docstring|>This command is used for inserting and removing tracks related to the shots displayed in the Sequencer. It can also be
used to modify the track state, for example, to lock or mute a track. In query mode, return type is based on
queried flag.
Flags:
- insertTrack : it (int) [create]
This flag is used to insert a new empty track at the track index specified.
- lock : l (bool) [create,query,edit]
This flag specifies whether shots on a track are to be locked or not.
- mute : m (bool) [create,query,edit]
This flag specifies whether shots on a track are to be muted or not.
- numTracks : nt (int) [query]
To query the number of tracks
- removeEmptyTracks : ret (bool) [create]
This flag is used to remove all tracks that have no clips.
- removeTrack : rt (int) [create]
This flag is used to remove the track with the specified index. The track must have no clips on it before it can be
removed.
- selfmute : sm (bool) [create,query,edit]
This flag specifies whether shots on a track are to be muted or not (unlike mute, this disregards soloing).
- solo : so (bool) [create,query,edit]
This flag specifies whether shots on a track are to be soloed or not.
- swapTracks : st (int, int) [create]
This flag is used to swap the contents of two specified tracks.
- title : t (unicode) [create,query,edit]
This flag specifies the title for the track.
- track : tr (int) [create,query,edit]
Specify the track on which to operate by using the track's trackNumber.
- unsolo : uso (bool) [query]
This flag specifies whether shots on a track are to be unsoloed or not. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.shotTrack`<|endoftext|> |
694b5fc340b1f66e11961da837c6278d81f2424ef4b0046f4adba4084bd2b378 | def assignInputDevice(*args, **kwargs):
'\n This command associates a command string (i.e. a mel script) with the input device. When the device moves or a button\n on the device is pressed, the command string is executed as if you typed it into the window. If the command string\n contains the names of buttons or axes of the device, the current value of these buttons/axes are substituted in.\n Buttons are reported as booleans and axes as doubles. This command is most useful for associating buttons on a device\n with commands. For using a device to capture continous movements it is much more efficient to attach the device\n directly into the dependency graph.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - continuous : ct (bool) [create]\n if this flag is set the command string is continously (once for everytime the device changes state). By default if a\n clutch button is specified the command string is only executed once when the button is pressed.\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - immediate : im (bool) [create]\n Immediately executes the command, without using the queue.\n \n - multiple : m (bool) [create]\n if this flag is set the other command strings associated with this device are not deleted. By default, when a new\n command string is attached to the device, all other command strings are deleted. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.assignInputDevice`\n '
pass | This command associates a command string (i.e. a mel script) with the input device. When the device moves or a button
on the device is pressed, the command string is executed as if you typed it into the window. If the command string
contains the names of buttons or axes of the device, the current value of these buttons/axes are substituted in.
Buttons are reported as booleans and axes as doubles. This command is most useful for associating buttons on a device
with commands. For using a device to capture continous movements it is much more efficient to attach the device
directly into the dependency graph.
Dynamic library stub function
Flags:
- clutch : c (unicode) [create]
specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the
command string is executed everytime the device state changes
- continuous : ct (bool) [create]
if this flag is set the command string is continously (once for everytime the device changes state). By default if a
clutch button is specified the command string is only executed once when the button is pressed.
- device : d (unicode) [create]
specify which device to assign the command string.
- immediate : im (bool) [create]
Immediately executes the command, without using the queue.
- multiple : m (bool) [create]
if this flag is set the other command strings associated with this device are not deleted. By default, when a new
command string is attached to the device, all other command strings are deleted. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.assignInputDevice` | mayaSDK/pymel/core/system.py | assignInputDevice | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def assignInputDevice(*args, **kwargs):
'\n This command associates a command string (i.e. a mel script) with the input device. When the device moves or a button\n on the device is pressed, the command string is executed as if you typed it into the window. If the command string\n contains the names of buttons or axes of the device, the current value of these buttons/axes are substituted in.\n Buttons are reported as booleans and axes as doubles. This command is most useful for associating buttons on a device\n with commands. For using a device to capture continous movements it is much more efficient to attach the device\n directly into the dependency graph.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - continuous : ct (bool) [create]\n if this flag is set the command string is continously (once for everytime the device changes state). By default if a\n clutch button is specified the command string is only executed once when the button is pressed.\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - immediate : im (bool) [create]\n Immediately executes the command, without using the queue.\n \n - multiple : m (bool) [create]\n if this flag is set the other command strings associated with this device are not deleted. By default, when a new\n command string is attached to the device, all other command strings are deleted. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.assignInputDevice`\n '
pass | def assignInputDevice(*args, **kwargs):
'\n This command associates a command string (i.e. a mel script) with the input device. When the device moves or a button\n on the device is pressed, the command string is executed as if you typed it into the window. If the command string\n contains the names of buttons or axes of the device, the current value of these buttons/axes are substituted in.\n Buttons are reported as booleans and axes as doubles. This command is most useful for associating buttons on a device\n with commands. For using a device to capture continous movements it is much more efficient to attach the device\n directly into the dependency graph.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - continuous : ct (bool) [create]\n if this flag is set the command string is continously (once for everytime the device changes state). By default if a\n clutch button is specified the command string is only executed once when the button is pressed.\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - immediate : im (bool) [create]\n Immediately executes the command, without using the queue.\n \n - multiple : m (bool) [create]\n if this flag is set the other command strings associated with this device are not deleted. By default, when a new\n command string is attached to the device, all other command strings are deleted. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.assignInputDevice`\n '
pass<|docstring|>This command associates a command string (i.e. a mel script) with the input device. When the device moves or a button
on the device is pressed, the command string is executed as if you typed it into the window. If the command string
contains the names of buttons or axes of the device, the current value of these buttons/axes are substituted in.
Buttons are reported as booleans and axes as doubles. This command is most useful for associating buttons on a device
with commands. For using a device to capture continous movements it is much more efficient to attach the device
directly into the dependency graph.
Dynamic library stub function
Flags:
- clutch : c (unicode) [create]
specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the
command string is executed everytime the device state changes
- continuous : ct (bool) [create]
if this flag is set the command string is continously (once for everytime the device changes state). By default if a
clutch button is specified the command string is only executed once when the button is pressed.
- device : d (unicode) [create]
specify which device to assign the command string.
- immediate : im (bool) [create]
Immediately executes the command, without using the queue.
- multiple : m (bool) [create]
if this flag is set the other command strings associated with this device are not deleted. By default, when a new
command string is attached to the device, all other command strings are deleted. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.assignInputDevice`<|endoftext|> |
dcdcf0ccc9fa441c9a554452e94e5176b6b921dbeed7cb317dda124a2c1b181c | def devicePanel(*args, **kwargs):
'\n This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.devicePanel`\n '
pass | This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.
Dynamic library stub function
Derived from mel command `maya.cmds.devicePanel` | mayaSDK/pymel/core/system.py | devicePanel | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def devicePanel(*args, **kwargs):
'\n This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.devicePanel`\n '
pass | def devicePanel(*args, **kwargs):
'\n This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.devicePanel`\n '
pass<|docstring|>This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.
Dynamic library stub function
Derived from mel command `maya.cmds.devicePanel`<|endoftext|> |
267504496bde63fa22f24379f870ca280c6128962a983653db4a6311dbb1604c | def preloadRefEd(*args, **kwargs):
'\n This creates an editor for managing which references will be read in (loaded) and which deferred (unloaded) upon opening\n a file.\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usually used for getting a parent to attach popup menus.\n Caution: It is possible for an editor to exist without a control. The query will return NONEif no control is present.\n \n - defineTemplate : dt (unicode) [create]\n Puts the command in a mode where any other flags and args are parsed and added to the command template specified in the\n argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set\n as the current template.\n \n - docTag : dtg (unicode) [create,query,edit]\n Attaches a tag to the editor.\n \n - exists : ex (bool) [create]\n Returns whether the specified object exists or not. Other flags are ignored.\n \n - filter : f (unicode) [create,query,edit]\n Specifies the name of an itemFilter object to be used with this editor. This filters the information coming onto the\n main list of the editor.\n \n - forceMainConnection : fmc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object. This is a variant of the -mainListConnection flag in\n that it will force a change even when the connection is locked. This flag is used to reduce the overhead when using the\n -unlockMainConnection , -mainListConnection, -lockMainConnection flags in immediate succession.\n \n - highlightConnection : hlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its highlight list. Not all\n editors have a highlight list. For those that do, it is a secondary selection list.\n \n - lockMainConnection : lck (bool) [create,edit]\n Locks the current list of objects within the mainConnection, so that only those objects are displayed within the editor.\n Further changes to the original mainConnection are ignored.\n \n - mainListConnection : mlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object.\n \n - panel : pnl (unicode) [create,query]\n Specifies the panel for this editor. By default if an editor is created in the create callback of a scripted panel it\n will belong to that panel. If an editor does not belong to a panel it will be deleted when the window that it is in is\n deleted.\n \n - parent : p (unicode) [create,query,edit]\n Specifies the parent layout for this editor. This flag will only have an effect if the editor is currently un-parented.\n \n - selectCommand : sc (callable) []\n \n - selectFileNode : sf (bool) [query]\n Query the currently selected load setting. Returns the id of the currently selected load setting. This id can be used as\n an argument to the selLoadSettings command.\n \n - selectionConnection : slc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its own selection list. As the\n user selects things in this editor, they will be selected in the selectionConnection object. If the object undergoes\n changes, the editor updates to show the changes.\n \n - stateString : sts (bool) [query]\n Query only flag. Returns the MEL command that will create an editor to match the current editor state. The returned\n command string uses the string variable $editorName in place of a specific name.\n \n - unParent : up (bool) [create,edit]\n Specifies that the editor should be removed from its layout. This cannot be used in query mode.\n \n - unlockMainConnection : ulk (bool) [create,edit]\n Unlocks the mainConnection, effectively restoring the original mainConnection (if it is still available), and dynamic\n updates.\n \n - updateMainConnection : upd (bool) [create,edit]\n Causes a locked mainConnection to be updated from the orginal mainConnection, but preserves the lock state.\n \n - useTemplate : ut (unicode) [create]\n Forces the command to use a command template other than the current one. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.preloadRefEd`\n '
pass | This creates an editor for managing which references will be read in (loaded) and which deferred (unloaded) upon opening
a file.
Flags:
- control : ctl (bool) [query]
Query only. Returns the top level control for this editor. Usually used for getting a parent to attach popup menus.
Caution: It is possible for an editor to exist without a control. The query will return NONEif no control is present.
- defineTemplate : dt (unicode) [create]
Puts the command in a mode where any other flags and args are parsed and added to the command template specified in the
argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set
as the current template.
- docTag : dtg (unicode) [create,query,edit]
Attaches a tag to the editor.
- exists : ex (bool) [create]
Returns whether the specified object exists or not. Other flags are ignored.
- filter : f (unicode) [create,query,edit]
Specifies the name of an itemFilter object to be used with this editor. This filters the information coming onto the
main list of the editor.
- forceMainConnection : fmc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will
only display items contained in the selectionConnection object. This is a variant of the -mainListConnection flag in
that it will force a change even when the connection is locked. This flag is used to reduce the overhead when using the
-unlockMainConnection , -mainListConnection, -lockMainConnection flags in immediate succession.
- highlightConnection : hlc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will synchronize with its highlight list. Not all
editors have a highlight list. For those that do, it is a secondary selection list.
- lockMainConnection : lck (bool) [create,edit]
Locks the current list of objects within the mainConnection, so that only those objects are displayed within the editor.
Further changes to the original mainConnection are ignored.
- mainListConnection : mlc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will
only display items contained in the selectionConnection object.
- panel : pnl (unicode) [create,query]
Specifies the panel for this editor. By default if an editor is created in the create callback of a scripted panel it
will belong to that panel. If an editor does not belong to a panel it will be deleted when the window that it is in is
deleted.
- parent : p (unicode) [create,query,edit]
Specifies the parent layout for this editor. This flag will only have an effect if the editor is currently un-parented.
- selectCommand : sc (callable) []
- selectFileNode : sf (bool) [query]
Query the currently selected load setting. Returns the id of the currently selected load setting. This id can be used as
an argument to the selLoadSettings command.
- selectionConnection : slc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will synchronize with its own selection list. As the
user selects things in this editor, they will be selected in the selectionConnection object. If the object undergoes
changes, the editor updates to show the changes.
- stateString : sts (bool) [query]
Query only flag. Returns the MEL command that will create an editor to match the current editor state. The returned
command string uses the string variable $editorName in place of a specific name.
- unParent : up (bool) [create,edit]
Specifies that the editor should be removed from its layout. This cannot be used in query mode.
- unlockMainConnection : ulk (bool) [create,edit]
Unlocks the mainConnection, effectively restoring the original mainConnection (if it is still available), and dynamic
updates.
- updateMainConnection : upd (bool) [create,edit]
Causes a locked mainConnection to be updated from the orginal mainConnection, but preserves the lock state.
- useTemplate : ut (unicode) [create]
Forces the command to use a command template other than the current one. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.preloadRefEd` | mayaSDK/pymel/core/system.py | preloadRefEd | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def preloadRefEd(*args, **kwargs):
'\n This creates an editor for managing which references will be read in (loaded) and which deferred (unloaded) upon opening\n a file.\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usually used for getting a parent to attach popup menus.\n Caution: It is possible for an editor to exist without a control. The query will return NONEif no control is present.\n \n - defineTemplate : dt (unicode) [create]\n Puts the command in a mode where any other flags and args are parsed and added to the command template specified in the\n argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set\n as the current template.\n \n - docTag : dtg (unicode) [create,query,edit]\n Attaches a tag to the editor.\n \n - exists : ex (bool) [create]\n Returns whether the specified object exists or not. Other flags are ignored.\n \n - filter : f (unicode) [create,query,edit]\n Specifies the name of an itemFilter object to be used with this editor. This filters the information coming onto the\n main list of the editor.\n \n - forceMainConnection : fmc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object. This is a variant of the -mainListConnection flag in\n that it will force a change even when the connection is locked. This flag is used to reduce the overhead when using the\n -unlockMainConnection , -mainListConnection, -lockMainConnection flags in immediate succession.\n \n - highlightConnection : hlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its highlight list. Not all\n editors have a highlight list. For those that do, it is a secondary selection list.\n \n - lockMainConnection : lck (bool) [create,edit]\n Locks the current list of objects within the mainConnection, so that only those objects are displayed within the editor.\n Further changes to the original mainConnection are ignored.\n \n - mainListConnection : mlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object.\n \n - panel : pnl (unicode) [create,query]\n Specifies the panel for this editor. By default if an editor is created in the create callback of a scripted panel it\n will belong to that panel. If an editor does not belong to a panel it will be deleted when the window that it is in is\n deleted.\n \n - parent : p (unicode) [create,query,edit]\n Specifies the parent layout for this editor. This flag will only have an effect if the editor is currently un-parented.\n \n - selectCommand : sc (callable) []\n \n - selectFileNode : sf (bool) [query]\n Query the currently selected load setting. Returns the id of the currently selected load setting. This id can be used as\n an argument to the selLoadSettings command.\n \n - selectionConnection : slc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its own selection list. As the\n user selects things in this editor, they will be selected in the selectionConnection object. If the object undergoes\n changes, the editor updates to show the changes.\n \n - stateString : sts (bool) [query]\n Query only flag. Returns the MEL command that will create an editor to match the current editor state. The returned\n command string uses the string variable $editorName in place of a specific name.\n \n - unParent : up (bool) [create,edit]\n Specifies that the editor should be removed from its layout. This cannot be used in query mode.\n \n - unlockMainConnection : ulk (bool) [create,edit]\n Unlocks the mainConnection, effectively restoring the original mainConnection (if it is still available), and dynamic\n updates.\n \n - updateMainConnection : upd (bool) [create,edit]\n Causes a locked mainConnection to be updated from the orginal mainConnection, but preserves the lock state.\n \n - useTemplate : ut (unicode) [create]\n Forces the command to use a command template other than the current one. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.preloadRefEd`\n '
pass | def preloadRefEd(*args, **kwargs):
'\n This creates an editor for managing which references will be read in (loaded) and which deferred (unloaded) upon opening\n a file.\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usually used for getting a parent to attach popup menus.\n Caution: It is possible for an editor to exist without a control. The query will return NONEif no control is present.\n \n - defineTemplate : dt (unicode) [create]\n Puts the command in a mode where any other flags and args are parsed and added to the command template specified in the\n argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set\n as the current template.\n \n - docTag : dtg (unicode) [create,query,edit]\n Attaches a tag to the editor.\n \n - exists : ex (bool) [create]\n Returns whether the specified object exists or not. Other flags are ignored.\n \n - filter : f (unicode) [create,query,edit]\n Specifies the name of an itemFilter object to be used with this editor. This filters the information coming onto the\n main list of the editor.\n \n - forceMainConnection : fmc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object. This is a variant of the -mainListConnection flag in\n that it will force a change even when the connection is locked. This flag is used to reduce the overhead when using the\n -unlockMainConnection , -mainListConnection, -lockMainConnection flags in immediate succession.\n \n - highlightConnection : hlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its highlight list. Not all\n editors have a highlight list. For those that do, it is a secondary selection list.\n \n - lockMainConnection : lck (bool) [create,edit]\n Locks the current list of objects within the mainConnection, so that only those objects are displayed within the editor.\n Further changes to the original mainConnection are ignored.\n \n - mainListConnection : mlc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will\n only display items contained in the selectionConnection object.\n \n - panel : pnl (unicode) [create,query]\n Specifies the panel for this editor. By default if an editor is created in the create callback of a scripted panel it\n will belong to that panel. If an editor does not belong to a panel it will be deleted when the window that it is in is\n deleted.\n \n - parent : p (unicode) [create,query,edit]\n Specifies the parent layout for this editor. This flag will only have an effect if the editor is currently un-parented.\n \n - selectCommand : sc (callable) []\n \n - selectFileNode : sf (bool) [query]\n Query the currently selected load setting. Returns the id of the currently selected load setting. This id can be used as\n an argument to the selLoadSettings command.\n \n - selectionConnection : slc (unicode) [create,query,edit]\n Specifies the name of a selectionConnection object that the editor will synchronize with its own selection list. As the\n user selects things in this editor, they will be selected in the selectionConnection object. If the object undergoes\n changes, the editor updates to show the changes.\n \n - stateString : sts (bool) [query]\n Query only flag. Returns the MEL command that will create an editor to match the current editor state. The returned\n command string uses the string variable $editorName in place of a specific name.\n \n - unParent : up (bool) [create,edit]\n Specifies that the editor should be removed from its layout. This cannot be used in query mode.\n \n - unlockMainConnection : ulk (bool) [create,edit]\n Unlocks the mainConnection, effectively restoring the original mainConnection (if it is still available), and dynamic\n updates.\n \n - updateMainConnection : upd (bool) [create,edit]\n Causes a locked mainConnection to be updated from the orginal mainConnection, but preserves the lock state.\n \n - useTemplate : ut (unicode) [create]\n Forces the command to use a command template other than the current one. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.preloadRefEd`\n '
pass<|docstring|>This creates an editor for managing which references will be read in (loaded) and which deferred (unloaded) upon opening
a file.
Flags:
- control : ctl (bool) [query]
Query only. Returns the top level control for this editor. Usually used for getting a parent to attach popup menus.
Caution: It is possible for an editor to exist without a control. The query will return NONEif no control is present.
- defineTemplate : dt (unicode) [create]
Puts the command in a mode where any other flags and args are parsed and added to the command template specified in the
argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set
as the current template.
- docTag : dtg (unicode) [create,query,edit]
Attaches a tag to the editor.
- exists : ex (bool) [create]
Returns whether the specified object exists or not. Other flags are ignored.
- filter : f (unicode) [create,query,edit]
Specifies the name of an itemFilter object to be used with this editor. This filters the information coming onto the
main list of the editor.
- forceMainConnection : fmc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will
only display items contained in the selectionConnection object. This is a variant of the -mainListConnection flag in
that it will force a change even when the connection is locked. This flag is used to reduce the overhead when using the
-unlockMainConnection , -mainListConnection, -lockMainConnection flags in immediate succession.
- highlightConnection : hlc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will synchronize with its highlight list. Not all
editors have a highlight list. For those that do, it is a secondary selection list.
- lockMainConnection : lck (bool) [create,edit]
Locks the current list of objects within the mainConnection, so that only those objects are displayed within the editor.
Further changes to the original mainConnection are ignored.
- mainListConnection : mlc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will use as its source of content. The editor will
only display items contained in the selectionConnection object.
- panel : pnl (unicode) [create,query]
Specifies the panel for this editor. By default if an editor is created in the create callback of a scripted panel it
will belong to that panel. If an editor does not belong to a panel it will be deleted when the window that it is in is
deleted.
- parent : p (unicode) [create,query,edit]
Specifies the parent layout for this editor. This flag will only have an effect if the editor is currently un-parented.
- selectCommand : sc (callable) []
- selectFileNode : sf (bool) [query]
Query the currently selected load setting. Returns the id of the currently selected load setting. This id can be used as
an argument to the selLoadSettings command.
- selectionConnection : slc (unicode) [create,query,edit]
Specifies the name of a selectionConnection object that the editor will synchronize with its own selection list. As the
user selects things in this editor, they will be selected in the selectionConnection object. If the object undergoes
changes, the editor updates to show the changes.
- stateString : sts (bool) [query]
Query only flag. Returns the MEL command that will create an editor to match the current editor state. The returned
command string uses the string variable $editorName in place of a specific name.
- unParent : up (bool) [create,edit]
Specifies that the editor should be removed from its layout. This cannot be used in query mode.
- unlockMainConnection : ulk (bool) [create,edit]
Unlocks the mainConnection, effectively restoring the original mainConnection (if it is still available), and dynamic
updates.
- updateMainConnection : upd (bool) [create,edit]
Causes a locked mainConnection to be updated from the orginal mainConnection, but preserves the lock state.
- useTemplate : ut (unicode) [create]
Forces the command to use a command template other than the current one. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.preloadRefEd`<|endoftext|> |
e9b04185688ac75175b41e101e472dfca0cd1344d2e0ae58e663465bbb3043bd | def fcheck(*args, **kwargs):
'\n Invokes the fcheck program to display images in a separate window.\n \n \n Derived from mel command `maya.cmds.fcheck`\n '
pass | Invokes the fcheck program to display images in a separate window.
Derived from mel command `maya.cmds.fcheck` | mayaSDK/pymel/core/system.py | fcheck | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def fcheck(*args, **kwargs):
'\n Invokes the fcheck program to display images in a separate window.\n \n \n Derived from mel command `maya.cmds.fcheck`\n '
pass | def fcheck(*args, **kwargs):
'\n Invokes the fcheck program to display images in a separate window.\n \n \n Derived from mel command `maya.cmds.fcheck`\n '
pass<|docstring|>Invokes the fcheck program to display images in a separate window.
Derived from mel command `maya.cmds.fcheck`<|endoftext|> |
7e251877f28fb17484d79d73c33ea8de22034460e7a09117dad00c6e9b34d4d0 | def attrCompatibility(*args, **kwargs):
"\n This command is used by Maya to handle compatibility issues between file format versions by providing a mechanism to\n describe differences between two versions. Plug-in writers can make use of this command to handle attribute\n compatibility changes to files.The first optional command argument argument is a node type name and the second optional\n command argument is the short name of an attribute.Warning:Only use this command to describe changes in names or\n attributes of nodes that youhave written as plugins. Do notuse this command to change information about builtin\n dependency graph nodes. Removing attributes on a plug-in node is a special case. Use a separate attrCompatibility call\n with pluginNode flag and name so that these attributes can be tracked even though the plug-in may not be loaded. Only\n one flag may be used per invocation of the command. If multiple flags are provided one will arbitrarily be chosen as the\n action to perform and the others will be silently ignored.\n \n Flags:\n - addAttr : a (bool) [create]\n Add the given attribute to the named node.\n \n - clear : clr (bool) [create]\n Clear out the compatibility table. This is only used internally for debugging purposes.\n \n - dumpTable : dmp (bool) [create]\n Dump the current contents of the compatibility table. This is only used internally for debugging purposes.\n \n - enable : e (bool) [create]\n Enable or disable the compatibility table. This is only used internally for debugging purposes.\n \n - nodeRename : nr (unicode) [create]\n Replace all uses of the node type 'nodeName' with given string.\n \n - pluginNode : pn (unicode) [create]\n Registers the string argument as a plug-in node type. This is necessary for subsequent attrCompatibility calls that\n reference node attributes of unloaded plug-ins. Specifically, this works in the case when attributes are being removed.\n \n - removeAttr : rm (bool) [create]\n Remove the given attribute from the named node.\n \n - renameAttr : r (unicode) [create]\n Change the short name of the attribute specified in the command's arguments to the new short name provided as a\n parameter to this flag. Once the mapping between short names has been established, Maya will handle the long names\n automatically.\n \n - type : typ (unicode) [create]\n Change the type of the given attribute to the given type.\n \n - version : v (unicode) [create]\n Set the version target for subsequent commands to the given string. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attrCompatibility`\n "
pass | This command is used by Maya to handle compatibility issues between file format versions by providing a mechanism to
describe differences between two versions. Plug-in writers can make use of this command to handle attribute
compatibility changes to files.The first optional command argument argument is a node type name and the second optional
command argument is the short name of an attribute.Warning:Only use this command to describe changes in names or
attributes of nodes that youhave written as plugins. Do notuse this command to change information about builtin
dependency graph nodes. Removing attributes on a plug-in node is a special case. Use a separate attrCompatibility call
with pluginNode flag and name so that these attributes can be tracked even though the plug-in may not be loaded. Only
one flag may be used per invocation of the command. If multiple flags are provided one will arbitrarily be chosen as the
action to perform and the others will be silently ignored.
Flags:
- addAttr : a (bool) [create]
Add the given attribute to the named node.
- clear : clr (bool) [create]
Clear out the compatibility table. This is only used internally for debugging purposes.
- dumpTable : dmp (bool) [create]
Dump the current contents of the compatibility table. This is only used internally for debugging purposes.
- enable : e (bool) [create]
Enable or disable the compatibility table. This is only used internally for debugging purposes.
- nodeRename : nr (unicode) [create]
Replace all uses of the node type 'nodeName' with given string.
- pluginNode : pn (unicode) [create]
Registers the string argument as a plug-in node type. This is necessary for subsequent attrCompatibility calls that
reference node attributes of unloaded plug-ins. Specifically, this works in the case when attributes are being removed.
- removeAttr : rm (bool) [create]
Remove the given attribute from the named node.
- renameAttr : r (unicode) [create]
Change the short name of the attribute specified in the command's arguments to the new short name provided as a
parameter to this flag. Once the mapping between short names has been established, Maya will handle the long names
automatically.
- type : typ (unicode) [create]
Change the type of the given attribute to the given type.
- version : v (unicode) [create]
Set the version target for subsequent commands to the given string. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.attrCompatibility` | mayaSDK/pymel/core/system.py | attrCompatibility | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def attrCompatibility(*args, **kwargs):
"\n This command is used by Maya to handle compatibility issues between file format versions by providing a mechanism to\n describe differences between two versions. Plug-in writers can make use of this command to handle attribute\n compatibility changes to files.The first optional command argument argument is a node type name and the second optional\n command argument is the short name of an attribute.Warning:Only use this command to describe changes in names or\n attributes of nodes that youhave written as plugins. Do notuse this command to change information about builtin\n dependency graph nodes. Removing attributes on a plug-in node is a special case. Use a separate attrCompatibility call\n with pluginNode flag and name so that these attributes can be tracked even though the plug-in may not be loaded. Only\n one flag may be used per invocation of the command. If multiple flags are provided one will arbitrarily be chosen as the\n action to perform and the others will be silently ignored.\n \n Flags:\n - addAttr : a (bool) [create]\n Add the given attribute to the named node.\n \n - clear : clr (bool) [create]\n Clear out the compatibility table. This is only used internally for debugging purposes.\n \n - dumpTable : dmp (bool) [create]\n Dump the current contents of the compatibility table. This is only used internally for debugging purposes.\n \n - enable : e (bool) [create]\n Enable or disable the compatibility table. This is only used internally for debugging purposes.\n \n - nodeRename : nr (unicode) [create]\n Replace all uses of the node type 'nodeName' with given string.\n \n - pluginNode : pn (unicode) [create]\n Registers the string argument as a plug-in node type. This is necessary for subsequent attrCompatibility calls that\n reference node attributes of unloaded plug-ins. Specifically, this works in the case when attributes are being removed.\n \n - removeAttr : rm (bool) [create]\n Remove the given attribute from the named node.\n \n - renameAttr : r (unicode) [create]\n Change the short name of the attribute specified in the command's arguments to the new short name provided as a\n parameter to this flag. Once the mapping between short names has been established, Maya will handle the long names\n automatically.\n \n - type : typ (unicode) [create]\n Change the type of the given attribute to the given type.\n \n - version : v (unicode) [create]\n Set the version target for subsequent commands to the given string. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attrCompatibility`\n "
pass | def attrCompatibility(*args, **kwargs):
"\n This command is used by Maya to handle compatibility issues between file format versions by providing a mechanism to\n describe differences between two versions. Plug-in writers can make use of this command to handle attribute\n compatibility changes to files.The first optional command argument argument is a node type name and the second optional\n command argument is the short name of an attribute.Warning:Only use this command to describe changes in names or\n attributes of nodes that youhave written as plugins. Do notuse this command to change information about builtin\n dependency graph nodes. Removing attributes on a plug-in node is a special case. Use a separate attrCompatibility call\n with pluginNode flag and name so that these attributes can be tracked even though the plug-in may not be loaded. Only\n one flag may be used per invocation of the command. If multiple flags are provided one will arbitrarily be chosen as the\n action to perform and the others will be silently ignored.\n \n Flags:\n - addAttr : a (bool) [create]\n Add the given attribute to the named node.\n \n - clear : clr (bool) [create]\n Clear out the compatibility table. This is only used internally for debugging purposes.\n \n - dumpTable : dmp (bool) [create]\n Dump the current contents of the compatibility table. This is only used internally for debugging purposes.\n \n - enable : e (bool) [create]\n Enable or disable the compatibility table. This is only used internally for debugging purposes.\n \n - nodeRename : nr (unicode) [create]\n Replace all uses of the node type 'nodeName' with given string.\n \n - pluginNode : pn (unicode) [create]\n Registers the string argument as a plug-in node type. This is necessary for subsequent attrCompatibility calls that\n reference node attributes of unloaded plug-ins. Specifically, this works in the case when attributes are being removed.\n \n - removeAttr : rm (bool) [create]\n Remove the given attribute from the named node.\n \n - renameAttr : r (unicode) [create]\n Change the short name of the attribute specified in the command's arguments to the new short name provided as a\n parameter to this flag. Once the mapping between short names has been established, Maya will handle the long names\n automatically.\n \n - type : typ (unicode) [create]\n Change the type of the given attribute to the given type.\n \n - version : v (unicode) [create]\n Set the version target for subsequent commands to the given string. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attrCompatibility`\n "
pass<|docstring|>This command is used by Maya to handle compatibility issues between file format versions by providing a mechanism to
describe differences between two versions. Plug-in writers can make use of this command to handle attribute
compatibility changes to files.The first optional command argument argument is a node type name and the second optional
command argument is the short name of an attribute.Warning:Only use this command to describe changes in names or
attributes of nodes that youhave written as plugins. Do notuse this command to change information about builtin
dependency graph nodes. Removing attributes on a plug-in node is a special case. Use a separate attrCompatibility call
with pluginNode flag and name so that these attributes can be tracked even though the plug-in may not be loaded. Only
one flag may be used per invocation of the command. If multiple flags are provided one will arbitrarily be chosen as the
action to perform and the others will be silently ignored.
Flags:
- addAttr : a (bool) [create]
Add the given attribute to the named node.
- clear : clr (bool) [create]
Clear out the compatibility table. This is only used internally for debugging purposes.
- dumpTable : dmp (bool) [create]
Dump the current contents of the compatibility table. This is only used internally for debugging purposes.
- enable : e (bool) [create]
Enable or disable the compatibility table. This is only used internally for debugging purposes.
- nodeRename : nr (unicode) [create]
Replace all uses of the node type 'nodeName' with given string.
- pluginNode : pn (unicode) [create]
Registers the string argument as a plug-in node type. This is necessary for subsequent attrCompatibility calls that
reference node attributes of unloaded plug-ins. Specifically, this works in the case when attributes are being removed.
- removeAttr : rm (bool) [create]
Remove the given attribute from the named node.
- renameAttr : r (unicode) [create]
Change the short name of the attribute specified in the command's arguments to the new short name provided as a
parameter to this flag. Once the mapping between short names has been established, Maya will handle the long names
automatically.
- type : typ (unicode) [create]
Change the type of the given attribute to the given type.
- version : v (unicode) [create]
Set the version target for subsequent commands to the given string. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.attrCompatibility`<|endoftext|> |
9cf987b33e4628a85cd1dc2dad459bd81b8cb1a40dac113ee860cc77af6482a0 | def newFile(*args, **kwargs):
'\n Initialize the scene. Returns untitled scene with default location. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass | Initialize the scene. Returns untitled scene with default location.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | newFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def newFile(*args, **kwargs):
'\n Initialize the scene. Returns untitled scene with default location. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass | def newFile(*args, **kwargs):
'\n Initialize the scene. Returns untitled scene with default location. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Initialize the scene. Returns untitled scene with default location.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
563a364a0b1a5c2326b0a495e2af02079c40a3d88d3c61ca608055b491d82630 | def profilerTool(*args, **kwargs):
"\n This script is intended to be used by the profilerPanel to interact with the profiler tool's view (draw region). It can\n be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried\n flag.\n \n Flags:\n - categoryView : cat (bool) [edit]\n Change view mode to category view\n \n - cpuView : cpu (bool) [edit]\n Change view mode to cpu view\n \n - destroy : dtr (bool) [create]\n Destroy the profiler tool Internal flag. Should not be used by user.\n \n - exists : ex (bool) [query]\n Query if the profiler tool view exists. Profiler tool can only exist after profilerTool -makeis called.\n \n - findNext : fn (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - findPrevious : fp (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - frameAll : fa (bool) [edit]\n Frame on all events in the profilerToolView\n \n - frameSelected : fs (bool) [edit]\n Frame on all selected events in the profilerToolView\n \n - isolateSegment : isolateSegment (int) [edit]\n Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag\n -segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified\n segment does not exist, an error will be thrown.\n \n - make : mk (bool) [create]\n Make the profiler tool and parent it to the most recent layout created Internal flag. Should not be used by user.\n \n - matchWholeWord : mww (bool) [edit]\n Tells profiler tool if it should match whole word when searching event(s). The default value is false.\n \n - searchEvent : se (unicode) [query]\n Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the\n profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false,\n the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag,\n the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with\n this flag, the profiler tool will find the first event previous to the current selected event. If currently don't have a\n selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If\n -findNext and -findPrevious are not used along with this flag, the profiler tool will find all events.\n \n - segmentCount : sc (bool) [query]\n Returns the number of segments in the event buffer.\n \n - showAllEvent : sa (bool) [edit]\n Show all events (if events were hidden by filtering) (true) or Hide all events (false)\n \n - showSelectedEvents : ss (bool) [edit]\n Show only the selected events (true) or hide all selected events (false)\n \n - showSelectedEventsRepetition : ssr (bool) [edit]\n Show only the selected events repetition based on their comment (true) or Hide all selected events repetition based on\n their comment (false)\n \n - threadView : thd (bool) [edit]\n Change view mode to thread view\n \n - unisolateSegment : uis (bool) [edit]\n Unisolate current isolated segment. If no segment is currently isolated, nothing will happen.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.profilerTool`\n "
pass | This script is intended to be used by the profilerPanel to interact with the profiler tool's view (draw region). It can
be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried
flag.
Flags:
- categoryView : cat (bool) [edit]
Change view mode to category view
- cpuView : cpu (bool) [edit]
Change view mode to cpu view
- destroy : dtr (bool) [create]
Destroy the profiler tool Internal flag. Should not be used by user.
- exists : ex (bool) [query]
Query if the profiler tool view exists. Profiler tool can only exist after profilerTool -makeis called.
- findNext : fn (bool) [query]
This flag is used along with flag -searchEvent.
- findPrevious : fp (bool) [query]
This flag is used along with flag -searchEvent.
- frameAll : fa (bool) [edit]
Frame on all events in the profilerToolView
- frameSelected : fs (bool) [edit]
Frame on all selected events in the profilerToolView
- isolateSegment : isolateSegment (int) [edit]
Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag
-segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified
segment does not exist, an error will be thrown.
- make : mk (bool) [create]
Make the profiler tool and parent it to the most recent layout created Internal flag. Should not be used by user.
- matchWholeWord : mww (bool) [edit]
Tells profiler tool if it should match whole word when searching event(s). The default value is false.
- searchEvent : se (unicode) [query]
Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the
profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false,
the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag,
the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with
this flag, the profiler tool will find the first event previous to the current selected event. If currently don't have a
selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If
-findNext and -findPrevious are not used along with this flag, the profiler tool will find all events.
- segmentCount : sc (bool) [query]
Returns the number of segments in the event buffer.
- showAllEvent : sa (bool) [edit]
Show all events (if events were hidden by filtering) (true) or Hide all events (false)
- showSelectedEvents : ss (bool) [edit]
Show only the selected events (true) or hide all selected events (false)
- showSelectedEventsRepetition : ssr (bool) [edit]
Show only the selected events repetition based on their comment (true) or Hide all selected events repetition based on
their comment (false)
- threadView : thd (bool) [edit]
Change view mode to thread view
- unisolateSegment : uis (bool) [edit]
Unisolate current isolated segment. If no segment is currently isolated, nothing will happen.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.profilerTool` | mayaSDK/pymel/core/system.py | profilerTool | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def profilerTool(*args, **kwargs):
"\n This script is intended to be used by the profilerPanel to interact with the profiler tool's view (draw region). It can\n be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried\n flag.\n \n Flags:\n - categoryView : cat (bool) [edit]\n Change view mode to category view\n \n - cpuView : cpu (bool) [edit]\n Change view mode to cpu view\n \n - destroy : dtr (bool) [create]\n Destroy the profiler tool Internal flag. Should not be used by user.\n \n - exists : ex (bool) [query]\n Query if the profiler tool view exists. Profiler tool can only exist after profilerTool -makeis called.\n \n - findNext : fn (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - findPrevious : fp (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - frameAll : fa (bool) [edit]\n Frame on all events in the profilerToolView\n \n - frameSelected : fs (bool) [edit]\n Frame on all selected events in the profilerToolView\n \n - isolateSegment : isolateSegment (int) [edit]\n Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag\n -segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified\n segment does not exist, an error will be thrown.\n \n - make : mk (bool) [create]\n Make the profiler tool and parent it to the most recent layout created Internal flag. Should not be used by user.\n \n - matchWholeWord : mww (bool) [edit]\n Tells profiler tool if it should match whole word when searching event(s). The default value is false.\n \n - searchEvent : se (unicode) [query]\n Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the\n profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false,\n the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag,\n the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with\n this flag, the profiler tool will find the first event previous to the current selected event. If currently don't have a\n selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If\n -findNext and -findPrevious are not used along with this flag, the profiler tool will find all events.\n \n - segmentCount : sc (bool) [query]\n Returns the number of segments in the event buffer.\n \n - showAllEvent : sa (bool) [edit]\n Show all events (if events were hidden by filtering) (true) or Hide all events (false)\n \n - showSelectedEvents : ss (bool) [edit]\n Show only the selected events (true) or hide all selected events (false)\n \n - showSelectedEventsRepetition : ssr (bool) [edit]\n Show only the selected events repetition based on their comment (true) or Hide all selected events repetition based on\n their comment (false)\n \n - threadView : thd (bool) [edit]\n Change view mode to thread view\n \n - unisolateSegment : uis (bool) [edit]\n Unisolate current isolated segment. If no segment is currently isolated, nothing will happen.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.profilerTool`\n "
pass | def profilerTool(*args, **kwargs):
"\n This script is intended to be used by the profilerPanel to interact with the profiler tool's view (draw region). It can\n be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried\n flag.\n \n Flags:\n - categoryView : cat (bool) [edit]\n Change view mode to category view\n \n - cpuView : cpu (bool) [edit]\n Change view mode to cpu view\n \n - destroy : dtr (bool) [create]\n Destroy the profiler tool Internal flag. Should not be used by user.\n \n - exists : ex (bool) [query]\n Query if the profiler tool view exists. Profiler tool can only exist after profilerTool -makeis called.\n \n - findNext : fn (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - findPrevious : fp (bool) [query]\n This flag is used along with flag -searchEvent.\n \n - frameAll : fa (bool) [edit]\n Frame on all events in the profilerToolView\n \n - frameSelected : fs (bool) [edit]\n Frame on all selected events in the profilerToolView\n \n - isolateSegment : isolateSegment (int) [edit]\n Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag\n -segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified\n segment does not exist, an error will be thrown.\n \n - make : mk (bool) [create]\n Make the profiler tool and parent it to the most recent layout created Internal flag. Should not be used by user.\n \n - matchWholeWord : mww (bool) [edit]\n Tells profiler tool if it should match whole word when searching event(s). The default value is false.\n \n - searchEvent : se (unicode) [query]\n Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the\n profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false,\n the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag,\n the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with\n this flag, the profiler tool will find the first event previous to the current selected event. If currently don't have a\n selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If\n -findNext and -findPrevious are not used along with this flag, the profiler tool will find all events.\n \n - segmentCount : sc (bool) [query]\n Returns the number of segments in the event buffer.\n \n - showAllEvent : sa (bool) [edit]\n Show all events (if events were hidden by filtering) (true) or Hide all events (false)\n \n - showSelectedEvents : ss (bool) [edit]\n Show only the selected events (true) or hide all selected events (false)\n \n - showSelectedEventsRepetition : ssr (bool) [edit]\n Show only the selected events repetition based on their comment (true) or Hide all selected events repetition based on\n their comment (false)\n \n - threadView : thd (bool) [edit]\n Change view mode to thread view\n \n - unisolateSegment : uis (bool) [edit]\n Unisolate current isolated segment. If no segment is currently isolated, nothing will happen.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.profilerTool`\n "
pass<|docstring|>This script is intended to be used by the profilerPanel to interact with the profiler tool's view (draw region). It can
be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried
flag.
Flags:
- categoryView : cat (bool) [edit]
Change view mode to category view
- cpuView : cpu (bool) [edit]
Change view mode to cpu view
- destroy : dtr (bool) [create]
Destroy the profiler tool Internal flag. Should not be used by user.
- exists : ex (bool) [query]
Query if the profiler tool view exists. Profiler tool can only exist after profilerTool -makeis called.
- findNext : fn (bool) [query]
This flag is used along with flag -searchEvent.
- findPrevious : fp (bool) [query]
This flag is used along with flag -searchEvent.
- frameAll : fa (bool) [edit]
Frame on all events in the profilerToolView
- frameSelected : fs (bool) [edit]
Frame on all selected events in the profilerToolView
- isolateSegment : isolateSegment (int) [edit]
Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag
-segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified
segment does not exist, an error will be thrown.
- make : mk (bool) [create]
Make the profiler tool and parent it to the most recent layout created Internal flag. Should not be used by user.
- matchWholeWord : mww (bool) [edit]
Tells profiler tool if it should match whole word when searching event(s). The default value is false.
- searchEvent : se (unicode) [query]
Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the
profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false,
the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag,
the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with
this flag, the profiler tool will find the first event previous to the current selected event. If currently don't have a
selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If
-findNext and -findPrevious are not used along with this flag, the profiler tool will find all events.
- segmentCount : sc (bool) [query]
Returns the number of segments in the event buffer.
- showAllEvent : sa (bool) [edit]
Show all events (if events were hidden by filtering) (true) or Hide all events (false)
- showSelectedEvents : ss (bool) [edit]
Show only the selected events (true) or hide all selected events (false)
- showSelectedEventsRepetition : ssr (bool) [edit]
Show only the selected events repetition based on their comment (true) or Hide all selected events repetition based on
their comment (false)
- threadView : thd (bool) [edit]
Change view mode to thread view
- unisolateSegment : uis (bool) [edit]
Unisolate current isolated segment. If no segment is currently isolated, nothing will happen.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.profilerTool`<|endoftext|> |
1aeddd7bb45db1cae16fa3d00aa1e6228971f15a2f2662b61df5b0dde7627595 | def getModifiers(*args, **kwargs):
"\n This command returns the current state of the modifier keys. The state of each modifier can be obtained by testing for\n the modifier's corresponding bit value in the return value. Shift is bit 1, Ctrl is bit 3, Alt is bit 4, and bit 5 is\n the 'Windows' key on Windows keyboards and the Command key on Mac keyboards. See the provided example for more details\n on testing for each modifier's bit value.\n \n \n Derived from mel command `maya.cmds.getModifiers`\n "
pass | This command returns the current state of the modifier keys. The state of each modifier can be obtained by testing for
the modifier's corresponding bit value in the return value. Shift is bit 1, Ctrl is bit 3, Alt is bit 4, and bit 5 is
the 'Windows' key on Windows keyboards and the Command key on Mac keyboards. See the provided example for more details
on testing for each modifier's bit value.
Derived from mel command `maya.cmds.getModifiers` | mayaSDK/pymel/core/system.py | getModifiers | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getModifiers(*args, **kwargs):
"\n This command returns the current state of the modifier keys. The state of each modifier can be obtained by testing for\n the modifier's corresponding bit value in the return value. Shift is bit 1, Ctrl is bit 3, Alt is bit 4, and bit 5 is\n the 'Windows' key on Windows keyboards and the Command key on Mac keyboards. See the provided example for more details\n on testing for each modifier's bit value.\n \n \n Derived from mel command `maya.cmds.getModifiers`\n "
pass | def getModifiers(*args, **kwargs):
"\n This command returns the current state of the modifier keys. The state of each modifier can be obtained by testing for\n the modifier's corresponding bit value in the return value. Shift is bit 1, Ctrl is bit 3, Alt is bit 4, and bit 5 is\n the 'Windows' key on Windows keyboards and the Command key on Mac keyboards. See the provided example for more details\n on testing for each modifier's bit value.\n \n \n Derived from mel command `maya.cmds.getModifiers`\n "
pass<|docstring|>This command returns the current state of the modifier keys. The state of each modifier can be obtained by testing for
the modifier's corresponding bit value in the return value. Shift is bit 1, Ctrl is bit 3, Alt is bit 4, and bit 5 is
the 'Windows' key on Windows keyboards and the Command key on Mac keyboards. See the provided example for more details
on testing for each modifier's bit value.
Derived from mel command `maya.cmds.getModifiers`<|endoftext|> |
1fda32b421926692dec391310e90e1dc2d1b43b9eabd1e504061f2fd733447d6 | def sceneUIReplacement(*args, **kwargs):
'\n This command returns existing scene based UI that can be utilized by the scene that is being loaded. It can also delete\n any such UI that is not used by the loading scene.\n \n Flags:\n - clear : cl (bool) [create]\n Frees any resources allocated by the command.\n \n - deleteRemaining : dr (bool) [create]\n Delete any UI that is scene dependent and has not been referenced by this command since the last update.\n \n - getNextFilter : gf (unicode, unicode) [create]\n Returns the next filter of the specified type with the specified name.\n \n - getNextPanel : gp (unicode, unicode) [create]\n Returns the next panel of the specified type, preferably with the specified label.\n \n - getNextScriptedPanel : gsp (unicode, unicode) [create]\n Returns the next scripted panel of the specified scripted panel type, preferably with the specified label.\n \n - update : u (unicode) [create]\n Updates the state of the command to reflect the current state of the application. The string argument is the name of\n the main window pane layout holding the panels. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.sceneUIReplacement`\n '
pass | This command returns existing scene based UI that can be utilized by the scene that is being loaded. It can also delete
any such UI that is not used by the loading scene.
Flags:
- clear : cl (bool) [create]
Frees any resources allocated by the command.
- deleteRemaining : dr (bool) [create]
Delete any UI that is scene dependent and has not been referenced by this command since the last update.
- getNextFilter : gf (unicode, unicode) [create]
Returns the next filter of the specified type with the specified name.
- getNextPanel : gp (unicode, unicode) [create]
Returns the next panel of the specified type, preferably with the specified label.
- getNextScriptedPanel : gsp (unicode, unicode) [create]
Returns the next scripted panel of the specified scripted panel type, preferably with the specified label.
- update : u (unicode) [create]
Updates the state of the command to reflect the current state of the application. The string argument is the name of
the main window pane layout holding the panels. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.sceneUIReplacement` | mayaSDK/pymel/core/system.py | sceneUIReplacement | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def sceneUIReplacement(*args, **kwargs):
'\n This command returns existing scene based UI that can be utilized by the scene that is being loaded. It can also delete\n any such UI that is not used by the loading scene.\n \n Flags:\n - clear : cl (bool) [create]\n Frees any resources allocated by the command.\n \n - deleteRemaining : dr (bool) [create]\n Delete any UI that is scene dependent and has not been referenced by this command since the last update.\n \n - getNextFilter : gf (unicode, unicode) [create]\n Returns the next filter of the specified type with the specified name.\n \n - getNextPanel : gp (unicode, unicode) [create]\n Returns the next panel of the specified type, preferably with the specified label.\n \n - getNextScriptedPanel : gsp (unicode, unicode) [create]\n Returns the next scripted panel of the specified scripted panel type, preferably with the specified label.\n \n - update : u (unicode) [create]\n Updates the state of the command to reflect the current state of the application. The string argument is the name of\n the main window pane layout holding the panels. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.sceneUIReplacement`\n '
pass | def sceneUIReplacement(*args, **kwargs):
'\n This command returns existing scene based UI that can be utilized by the scene that is being loaded. It can also delete\n any such UI that is not used by the loading scene.\n \n Flags:\n - clear : cl (bool) [create]\n Frees any resources allocated by the command.\n \n - deleteRemaining : dr (bool) [create]\n Delete any UI that is scene dependent and has not been referenced by this command since the last update.\n \n - getNextFilter : gf (unicode, unicode) [create]\n Returns the next filter of the specified type with the specified name.\n \n - getNextPanel : gp (unicode, unicode) [create]\n Returns the next panel of the specified type, preferably with the specified label.\n \n - getNextScriptedPanel : gsp (unicode, unicode) [create]\n Returns the next scripted panel of the specified scripted panel type, preferably with the specified label.\n \n - update : u (unicode) [create]\n Updates the state of the command to reflect the current state of the application. The string argument is the name of\n the main window pane layout holding the panels. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.sceneUIReplacement`\n '
pass<|docstring|>This command returns existing scene based UI that can be utilized by the scene that is being loaded. It can also delete
any such UI that is not used by the loading scene.
Flags:
- clear : cl (bool) [create]
Frees any resources allocated by the command.
- deleteRemaining : dr (bool) [create]
Delete any UI that is scene dependent and has not been referenced by this command since the last update.
- getNextFilter : gf (unicode, unicode) [create]
Returns the next filter of the specified type with the specified name.
- getNextPanel : gp (unicode, unicode) [create]
Returns the next panel of the specified type, preferably with the specified label.
- getNextScriptedPanel : gsp (unicode, unicode) [create]
Returns the next scripted panel of the specified scripted panel type, preferably with the specified label.
- update : u (unicode) [create]
Updates the state of the command to reflect the current state of the application. The string argument is the name of
the main window pane layout holding the panels. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.sceneUIReplacement`<|endoftext|> |
f340558d3c26c45e4038d1740e5fd0070db0d898b0b801ebf639d70c08147a71 | def pluginDisplayFilter(*args, **kwargs):
"\n Register, deregister or query a plugin display filter. Plug-ins can use this command to register their own display\n filters which will appear in the 'Show' menus on Maya's model panels.\n \n Flags:\n - classification : cls (unicode) [create,query]\n The classification used to filter objects in Viewport 2.0. This classification is the same as MFnPlugin::registerNode().\n If the node was registered with multiple classifications, use the one beginning with drawdb. The default value of this\n flag is an empty string (). It will not filter any objects in Viewport 2.0.\n \n - deregister : dr (bool) [create]\n Deregister a plugin display filter.\n \n - exists : ex (unicode) [create]\n Returns true if the specified filter exists, false otherwise. Other flags are ignored.\n \n - label : l (unicode) [create,query]\n The string to be displayed for this filter in the UI. E.g. in the 'Show' menu of a model panel. The default value of\n this flag is the same as the plugin display filter name.\n \n - listFilters : lf (bool) [query]\n Returns an array of all plugin display filters.\n \n - register : r (bool) [create]\n Register a plugin display filter. The -register is implied if both -register and -deregister flags are missing in create\n mode. You are responsible for deregistering any filters which you register. Filters are reference counted, meaning that\n if you register the same filter twice then you will have to deregister it twice as well.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.pluginDisplayFilter`\n "
pass | Register, deregister or query a plugin display filter. Plug-ins can use this command to register their own display
filters which will appear in the 'Show' menus on Maya's model panels.
Flags:
- classification : cls (unicode) [create,query]
The classification used to filter objects in Viewport 2.0. This classification is the same as MFnPlugin::registerNode().
If the node was registered with multiple classifications, use the one beginning with drawdb. The default value of this
flag is an empty string (). It will not filter any objects in Viewport 2.0.
- deregister : dr (bool) [create]
Deregister a plugin display filter.
- exists : ex (unicode) [create]
Returns true if the specified filter exists, false otherwise. Other flags are ignored.
- label : l (unicode) [create,query]
The string to be displayed for this filter in the UI. E.g. in the 'Show' menu of a model panel. The default value of
this flag is the same as the plugin display filter name.
- listFilters : lf (bool) [query]
Returns an array of all plugin display filters.
- register : r (bool) [create]
Register a plugin display filter. The -register is implied if both -register and -deregister flags are missing in create
mode. You are responsible for deregistering any filters which you register. Filters are reference counted, meaning that
if you register the same filter twice then you will have to deregister it twice as well.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.pluginDisplayFilter` | mayaSDK/pymel/core/system.py | pluginDisplayFilter | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def pluginDisplayFilter(*args, **kwargs):
"\n Register, deregister or query a plugin display filter. Plug-ins can use this command to register their own display\n filters which will appear in the 'Show' menus on Maya's model panels.\n \n Flags:\n - classification : cls (unicode) [create,query]\n The classification used to filter objects in Viewport 2.0. This classification is the same as MFnPlugin::registerNode().\n If the node was registered with multiple classifications, use the one beginning with drawdb. The default value of this\n flag is an empty string (). It will not filter any objects in Viewport 2.0.\n \n - deregister : dr (bool) [create]\n Deregister a plugin display filter.\n \n - exists : ex (unicode) [create]\n Returns true if the specified filter exists, false otherwise. Other flags are ignored.\n \n - label : l (unicode) [create,query]\n The string to be displayed for this filter in the UI. E.g. in the 'Show' menu of a model panel. The default value of\n this flag is the same as the plugin display filter name.\n \n - listFilters : lf (bool) [query]\n Returns an array of all plugin display filters.\n \n - register : r (bool) [create]\n Register a plugin display filter. The -register is implied if both -register and -deregister flags are missing in create\n mode. You are responsible for deregistering any filters which you register. Filters are reference counted, meaning that\n if you register the same filter twice then you will have to deregister it twice as well.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.pluginDisplayFilter`\n "
pass | def pluginDisplayFilter(*args, **kwargs):
"\n Register, deregister or query a plugin display filter. Plug-ins can use this command to register their own display\n filters which will appear in the 'Show' menus on Maya's model panels.\n \n Flags:\n - classification : cls (unicode) [create,query]\n The classification used to filter objects in Viewport 2.0. This classification is the same as MFnPlugin::registerNode().\n If the node was registered with multiple classifications, use the one beginning with drawdb. The default value of this\n flag is an empty string (). It will not filter any objects in Viewport 2.0.\n \n - deregister : dr (bool) [create]\n Deregister a plugin display filter.\n \n - exists : ex (unicode) [create]\n Returns true if the specified filter exists, false otherwise. Other flags are ignored.\n \n - label : l (unicode) [create,query]\n The string to be displayed for this filter in the UI. E.g. in the 'Show' menu of a model panel. The default value of\n this flag is the same as the plugin display filter name.\n \n - listFilters : lf (bool) [query]\n Returns an array of all plugin display filters.\n \n - register : r (bool) [create]\n Register a plugin display filter. The -register is implied if both -register and -deregister flags are missing in create\n mode. You are responsible for deregistering any filters which you register. Filters are reference counted, meaning that\n if you register the same filter twice then you will have to deregister it twice as well.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.pluginDisplayFilter`\n "
pass<|docstring|>Register, deregister or query a plugin display filter. Plug-ins can use this command to register their own display
filters which will appear in the 'Show' menus on Maya's model panels.
Flags:
- classification : cls (unicode) [create,query]
The classification used to filter objects in Viewport 2.0. This classification is the same as MFnPlugin::registerNode().
If the node was registered with multiple classifications, use the one beginning with drawdb. The default value of this
flag is an empty string (). It will not filter any objects in Viewport 2.0.
- deregister : dr (bool) [create]
Deregister a plugin display filter.
- exists : ex (unicode) [create]
Returns true if the specified filter exists, false otherwise. Other flags are ignored.
- label : l (unicode) [create,query]
The string to be displayed for this filter in the UI. E.g. in the 'Show' menu of a model panel. The default value of
this flag is the same as the plugin display filter name.
- listFilters : lf (bool) [query]
Returns an array of all plugin display filters.
- register : r (bool) [create]
Register a plugin display filter. The -register is implied if both -register and -deregister flags are missing in create
mode. You are responsible for deregistering any filters which you register. Filters are reference counted, meaning that
if you register the same filter twice then you will have to deregister it twice as well.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.pluginDisplayFilter`<|endoftext|> |
478904ae8db447650fe12fcaf21d223d4b3be9e8beb221adbcfcb6fc4ea77492 | def recordAttr(*args, **kwargs):
'\n This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute\n are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all\n attributes of the node are recorded. When the query flag is used, a list of the attributes being recorded will be\n returned. In query mode, return type is based on queried flag.\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to record\n \n - delete : d (bool) [create]\n Do not record the specified attributes Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.recordAttr`\n '
pass | This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute
are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all
attributes of the node are recorded. When the query flag is used, a list of the attributes being recorded will be
returned. In query mode, return type is based on queried flag.
Flags:
- attribute : at (unicode) [create]
specify the attribute to record
- delete : d (bool) [create]
Do not record the specified attributes Flag can have multiple arguments, passed either as a tuple or a
list.
Derived from mel command `maya.cmds.recordAttr` | mayaSDK/pymel/core/system.py | recordAttr | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def recordAttr(*args, **kwargs):
'\n This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute\n are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all\n attributes of the node are recorded. When the query flag is used, a list of the attributes being recorded will be\n returned. In query mode, return type is based on queried flag.\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to record\n \n - delete : d (bool) [create]\n Do not record the specified attributes Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.recordAttr`\n '
pass | def recordAttr(*args, **kwargs):
'\n This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute\n are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all\n attributes of the node are recorded. When the query flag is used, a list of the attributes being recorded will be\n returned. In query mode, return type is based on queried flag.\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to record\n \n - delete : d (bool) [create]\n Do not record the specified attributes Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.recordAttr`\n '
pass<|docstring|>This command sets up an attribute to be recorded. When the record command is executed, any changes to this attribute
are recorded. When recording stops these changes are turned into keyframes. If no attributes are specified all
attributes of the node are recorded. When the query flag is used, a list of the attributes being recorded will be
returned. In query mode, return type is based on queried flag.
Flags:
- attribute : at (unicode) [create]
specify the attribute to record
- delete : d (bool) [create]
Do not record the specified attributes Flag can have multiple arguments, passed either as a tuple or a
list.
Derived from mel command `maya.cmds.recordAttr`<|endoftext|> |
83cb7479e688a1298ef2506ca7392fd41a555e1fb5c7d7f62e7d9a8c33c12433 | def exportAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | exportAnimFromReference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | def exportAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass<|docstring|>Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
61c073cdb2cb97b1f4fb9b7948f5771f91150975b0b26de806dd608d2632515b | def attachDeviceAttr(*args, **kwargs):
'\n This command associates a device/axis pair with a node/attribute pair. When the device axis moves, the value of the\n attribute is set to the value of the axis. This value can be scaled and offset using the setAttrScale command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to attach to\n \n - axis : ax (unicode) [create]\n specify the axis to attach from.\n \n - camera : cam (bool) [create]\n This flag attaches the device/axis to the current camera. The mapping between device axes and camera controls is uses a\n heuristic based on the device descripton. The interaction is a copy of the mouse camera navigation controls.\n \n - cameraRotate : cr (bool) [create]\n This flag attaches the device/axis to the current cameras rotation controls.\n \n - cameraTranslate : ct (bool) [create]\n This flag attaches the device/axis to the current cameras translate controls.\n \n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - selection : sl (bool) [create]\n This flag attaches to the nodes in the selection list. This is different from the default arguments of the command since\n changing the selection will change the attachments. Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attachDeviceAttr`\n '
pass | This command associates a device/axis pair with a node/attribute pair. When the device axis moves, the value of the
attribute is set to the value of the axis. This value can be scaled and offset using the setAttrScale command. In query
mode, return type is based on queried flag.
Dynamic library stub function
Flags:
- attribute : at (unicode) [create]
specify the attribute to attach to
- axis : ax (unicode) [create]
specify the axis to attach from.
- camera : cam (bool) [create]
This flag attaches the device/axis to the current camera. The mapping between device axes and camera controls is uses a
heuristic based on the device descripton. The interaction is a copy of the mouse camera navigation controls.
- cameraRotate : cr (bool) [create]
This flag attaches the device/axis to the current cameras rotation controls.
- cameraTranslate : ct (bool) [create]
This flag attaches the device/axis to the current cameras translate controls.
- clutch : c (unicode) [create]
specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the
command string is executed everytime the device state changes
- device : d (unicode) [create]
specify which device to assign the command string.
- selection : sl (bool) [create]
This flag attaches to the nodes in the selection list. This is different from the default arguments of the command since
changing the selection will change the attachments. Flag can have multiple arguments, passed either as
a tuple or a list.
Derived from mel command `maya.cmds.attachDeviceAttr` | mayaSDK/pymel/core/system.py | attachDeviceAttr | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def attachDeviceAttr(*args, **kwargs):
'\n This command associates a device/axis pair with a node/attribute pair. When the device axis moves, the value of the\n attribute is set to the value of the axis. This value can be scaled and offset using the setAttrScale command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to attach to\n \n - axis : ax (unicode) [create]\n specify the axis to attach from.\n \n - camera : cam (bool) [create]\n This flag attaches the device/axis to the current camera. The mapping between device axes and camera controls is uses a\n heuristic based on the device descripton. The interaction is a copy of the mouse camera navigation controls.\n \n - cameraRotate : cr (bool) [create]\n This flag attaches the device/axis to the current cameras rotation controls.\n \n - cameraTranslate : ct (bool) [create]\n This flag attaches the device/axis to the current cameras translate controls.\n \n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - selection : sl (bool) [create]\n This flag attaches to the nodes in the selection list. This is different from the default arguments of the command since\n changing the selection will change the attachments. Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attachDeviceAttr`\n '
pass | def attachDeviceAttr(*args, **kwargs):
'\n This command associates a device/axis pair with a node/attribute pair. When the device axis moves, the value of the\n attribute is set to the value of the axis. This value can be scaled and offset using the setAttrScale command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute to attach to\n \n - axis : ax (unicode) [create]\n specify the axis to attach from.\n \n - camera : cam (bool) [create]\n This flag attaches the device/axis to the current camera. The mapping between device axes and camera controls is uses a\n heuristic based on the device descripton. The interaction is a copy of the mouse camera navigation controls.\n \n - cameraRotate : cr (bool) [create]\n This flag attaches the device/axis to the current cameras rotation controls.\n \n - cameraTranslate : ct (bool) [create]\n This flag attaches the device/axis to the current cameras translate controls.\n \n - clutch : c (unicode) [create]\n specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the\n command string is executed everytime the device state changes\n \n - device : d (unicode) [create]\n specify which device to assign the command string.\n \n - selection : sl (bool) [create]\n This flag attaches to the nodes in the selection list. This is different from the default arguments of the command since\n changing the selection will change the attachments. Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.attachDeviceAttr`\n '
pass<|docstring|>This command associates a device/axis pair with a node/attribute pair. When the device axis moves, the value of the
attribute is set to the value of the axis. This value can be scaled and offset using the setAttrScale command. In query
mode, return type is based on queried flag.
Dynamic library stub function
Flags:
- attribute : at (unicode) [create]
specify the attribute to attach to
- axis : ax (unicode) [create]
specify the axis to attach from.
- camera : cam (bool) [create]
This flag attaches the device/axis to the current camera. The mapping between device axes and camera controls is uses a
heuristic based on the device descripton. The interaction is a copy of the mouse camera navigation controls.
- cameraRotate : cr (bool) [create]
This flag attaches the device/axis to the current cameras rotation controls.
- cameraTranslate : ct (bool) [create]
This flag attaches the device/axis to the current cameras translate controls.
- clutch : c (unicode) [create]
specify a clutch button. This button must be down for the command string to be executed. If no clutch is specified the
command string is executed everytime the device state changes
- device : d (unicode) [create]
specify which device to assign the command string.
- selection : sl (bool) [create]
This flag attaches to the nodes in the selection list. This is different from the default arguments of the command since
changing the selection will change the attachments. Flag can have multiple arguments, passed either as
a tuple or a list.
Derived from mel command `maya.cmds.attachDeviceAttr`<|endoftext|> |
20f1206f1ef748cdf979b6953d339fe8bcba97b08f4d6b16707ec9a5806c16bd | def autoSave(*args, **kwargs):
"\n Provides an interface to the auto-save mechanism. In query mode, return type is based on queried flag.\n \n Flags:\n - destination : dst (int) [create,query]\n Sets the option for where auto-save files go. 0 - auto-saves go into the workspace autosave folder 1 - auto-saves go\n into the named folder (set with the -folder flag) 2 - auto-saves go into a folder set by an environment variable\n (MAYA_AUTOSAVE_FOLDER)\n \n - destinationFolder : df (bool) [query]\n Queries the actual destination folder for auto-saves, based on the current setting of the -destination flag, workspace\n rules and environment variables. Resolves environment variables etc. and makes any relative path absolute (resolved\n relative to the workspace root). The returned string will end with a trailing separator ('/').\n \n - enable : en (bool) [create,query]\n Enables or disables auto-saves.\n \n - folder : fol (unicode) [create,query]\n Sets the folder for auto-saves used if the destination option is 1.\n \n - interval : int (float) [create,query]\n Sets the interval between auto-saves (in seconds). The default interval is 600 seconds (10 minutes).\n \n - limitBackups : lim (bool) [create,query]\n Sets whether the number of auto-save files is limited.\n \n - maxBackups : max (int) [create,query]\n Sets the maximum number of auto-save files, if limiting is in effect.\n \n - perform : p (bool) [create]\n Invokes the auto-save process.\n \n - prompt : prm (bool) [create,query]\n Sets whether the auto-save prompts the user before auto-saving. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.autoSave`\n "
pass | Provides an interface to the auto-save mechanism. In query mode, return type is based on queried flag.
Flags:
- destination : dst (int) [create,query]
Sets the option for where auto-save files go. 0 - auto-saves go into the workspace autosave folder 1 - auto-saves go
into the named folder (set with the -folder flag) 2 - auto-saves go into a folder set by an environment variable
(MAYA_AUTOSAVE_FOLDER)
- destinationFolder : df (bool) [query]
Queries the actual destination folder for auto-saves, based on the current setting of the -destination flag, workspace
rules and environment variables. Resolves environment variables etc. and makes any relative path absolute (resolved
relative to the workspace root). The returned string will end with a trailing separator ('/').
- enable : en (bool) [create,query]
Enables or disables auto-saves.
- folder : fol (unicode) [create,query]
Sets the folder for auto-saves used if the destination option is 1.
- interval : int (float) [create,query]
Sets the interval between auto-saves (in seconds). The default interval is 600 seconds (10 minutes).
- limitBackups : lim (bool) [create,query]
Sets whether the number of auto-save files is limited.
- maxBackups : max (int) [create,query]
Sets the maximum number of auto-save files, if limiting is in effect.
- perform : p (bool) [create]
Invokes the auto-save process.
- prompt : prm (bool) [create,query]
Sets whether the auto-save prompts the user before auto-saving. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.autoSave` | mayaSDK/pymel/core/system.py | autoSave | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def autoSave(*args, **kwargs):
"\n Provides an interface to the auto-save mechanism. In query mode, return type is based on queried flag.\n \n Flags:\n - destination : dst (int) [create,query]\n Sets the option for where auto-save files go. 0 - auto-saves go into the workspace autosave folder 1 - auto-saves go\n into the named folder (set with the -folder flag) 2 - auto-saves go into a folder set by an environment variable\n (MAYA_AUTOSAVE_FOLDER)\n \n - destinationFolder : df (bool) [query]\n Queries the actual destination folder for auto-saves, based on the current setting of the -destination flag, workspace\n rules and environment variables. Resolves environment variables etc. and makes any relative path absolute (resolved\n relative to the workspace root). The returned string will end with a trailing separator ('/').\n \n - enable : en (bool) [create,query]\n Enables or disables auto-saves.\n \n - folder : fol (unicode) [create,query]\n Sets the folder for auto-saves used if the destination option is 1.\n \n - interval : int (float) [create,query]\n Sets the interval between auto-saves (in seconds). The default interval is 600 seconds (10 minutes).\n \n - limitBackups : lim (bool) [create,query]\n Sets whether the number of auto-save files is limited.\n \n - maxBackups : max (int) [create,query]\n Sets the maximum number of auto-save files, if limiting is in effect.\n \n - perform : p (bool) [create]\n Invokes the auto-save process.\n \n - prompt : prm (bool) [create,query]\n Sets whether the auto-save prompts the user before auto-saving. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.autoSave`\n "
pass | def autoSave(*args, **kwargs):
"\n Provides an interface to the auto-save mechanism. In query mode, return type is based on queried flag.\n \n Flags:\n - destination : dst (int) [create,query]\n Sets the option for where auto-save files go. 0 - auto-saves go into the workspace autosave folder 1 - auto-saves go\n into the named folder (set with the -folder flag) 2 - auto-saves go into a folder set by an environment variable\n (MAYA_AUTOSAVE_FOLDER)\n \n - destinationFolder : df (bool) [query]\n Queries the actual destination folder for auto-saves, based on the current setting of the -destination flag, workspace\n rules and environment variables. Resolves environment variables etc. and makes any relative path absolute (resolved\n relative to the workspace root). The returned string will end with a trailing separator ('/').\n \n - enable : en (bool) [create,query]\n Enables or disables auto-saves.\n \n - folder : fol (unicode) [create,query]\n Sets the folder for auto-saves used if the destination option is 1.\n \n - interval : int (float) [create,query]\n Sets the interval between auto-saves (in seconds). The default interval is 600 seconds (10 minutes).\n \n - limitBackups : lim (bool) [create,query]\n Sets whether the number of auto-save files is limited.\n \n - maxBackups : max (int) [create,query]\n Sets the maximum number of auto-save files, if limiting is in effect.\n \n - perform : p (bool) [create]\n Invokes the auto-save process.\n \n - prompt : prm (bool) [create,query]\n Sets whether the auto-save prompts the user before auto-saving. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.autoSave`\n "
pass<|docstring|>Provides an interface to the auto-save mechanism. In query mode, return type is based on queried flag.
Flags:
- destination : dst (int) [create,query]
Sets the option for where auto-save files go. 0 - auto-saves go into the workspace autosave folder 1 - auto-saves go
into the named folder (set with the -folder flag) 2 - auto-saves go into a folder set by an environment variable
(MAYA_AUTOSAVE_FOLDER)
- destinationFolder : df (bool) [query]
Queries the actual destination folder for auto-saves, based on the current setting of the -destination flag, workspace
rules and environment variables. Resolves environment variables etc. and makes any relative path absolute (resolved
relative to the workspace root). The returned string will end with a trailing separator ('/').
- enable : en (bool) [create,query]
Enables or disables auto-saves.
- folder : fol (unicode) [create,query]
Sets the folder for auto-saves used if the destination option is 1.
- interval : int (float) [create,query]
Sets the interval between auto-saves (in seconds). The default interval is 600 seconds (10 minutes).
- limitBackups : lim (bool) [create,query]
Sets whether the number of auto-save files is limited.
- maxBackups : max (int) [create,query]
Sets the maximum number of auto-save files, if limiting is in effect.
- perform : p (bool) [create]
Invokes the auto-save process.
- prompt : prm (bool) [create,query]
Sets whether the auto-save prompts the user before auto-saving. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.autoSave`<|endoftext|> |
ad244bafe215df4199f40c41466d324f1f14cecd3419b3141ddc657902c84d96 | def dgeval(*args, **kwargs):
'\n The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find\n propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the\n selection list by specifying which objects you want on the command line.\n \n Flags:\n - src : src (bool) [create]\n This flag is obsolete. Do not use.\n \n - verbose : v (bool) [create]\n If this flag is used then the results of the evaluation(s) is/are printed on stdout. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgeval`\n '
pass | The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find
propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the
selection list by specifying which objects you want on the command line.
Flags:
- src : src (bool) [create]
This flag is obsolete. Do not use.
- verbose : v (bool) [create]
If this flag is used then the results of the evaluation(s) is/are printed on stdout. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dgeval` | mayaSDK/pymel/core/system.py | dgeval | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgeval(*args, **kwargs):
'\n The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find\n propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the\n selection list by specifying which objects you want on the command line.\n \n Flags:\n - src : src (bool) [create]\n This flag is obsolete. Do not use.\n \n - verbose : v (bool) [create]\n If this flag is used then the results of the evaluation(s) is/are printed on stdout. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgeval`\n '
pass | def dgeval(*args, **kwargs):
'\n The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find\n propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the\n selection list by specifying which objects you want on the command line.\n \n Flags:\n - src : src (bool) [create]\n This flag is obsolete. Do not use.\n \n - verbose : v (bool) [create]\n If this flag is used then the results of the evaluation(s) is/are printed on stdout. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgeval`\n '
pass<|docstring|>The dgevalcommand is used to force a dependency graph evaluate of a node or plug. Used for debugging to find
propagation problems. Normally the selection list is used to determine which objects to evaluate, but you can add to the
selection list by specifying which objects you want on the command line.
Flags:
- src : src (bool) [create]
This flag is obsolete. Do not use.
- verbose : v (bool) [create]
If this flag is used then the results of the evaluation(s) is/are printed on stdout. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dgeval`<|endoftext|> |
33f4d095dc79c4978ccf2121b602acc2018380373a1e2dd199816db02390ec62 | def rehash(*args, **kwargs):
'\n Derived from mel command `maya.cmds.rehash`\n '
pass | Derived from mel command `maya.cmds.rehash` | mayaSDK/pymel/core/system.py | rehash | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def rehash(*args, **kwargs):
'\n \n '
pass | def rehash(*args, **kwargs):
'\n \n '
pass<|docstring|>Derived from mel command `maya.cmds.rehash`<|endoftext|> |
518fed5010f6671da5f0819d8085d97381695f32e789ab6db666681bd6936410 | def detachDeviceAttr(*args, **kwargs):
'\n This command detaches connections between device axes and node attributes. The command line arguments are the same as\n for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - all : all (bool) [create]\n Delete all attachments on every device.\n \n - attribute : at (unicode) [create]\n The attribute to detach. This flag must be used with the -d/device flag.\n \n - axis : ax (unicode) [create]\n The axis to detach. This flag must be used with the -d/device flag.\n \n - device : d (unicode) [create]\n Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device\n are detached.\n \n - selection : sl (bool) [create]\n Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.detachDeviceAttr`\n '
pass | This command detaches connections between device axes and node attributes. The command line arguments are the same as
for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query
mode, return type is based on queried flag.
Dynamic library stub function
Flags:
- all : all (bool) [create]
Delete all attachments on every device.
- attribute : at (unicode) [create]
The attribute to detach. This flag must be used with the -d/device flag.
- axis : ax (unicode) [create]
The axis to detach. This flag must be used with the -d/device flag.
- device : d (unicode) [create]
Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device
are detached.
- selection : sl (bool) [create]
Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.detachDeviceAttr` | mayaSDK/pymel/core/system.py | detachDeviceAttr | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def detachDeviceAttr(*args, **kwargs):
'\n This command detaches connections between device axes and node attributes. The command line arguments are the same as\n for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - all : all (bool) [create]\n Delete all attachments on every device.\n \n - attribute : at (unicode) [create]\n The attribute to detach. This flag must be used with the -d/device flag.\n \n - axis : ax (unicode) [create]\n The axis to detach. This flag must be used with the -d/device flag.\n \n - device : d (unicode) [create]\n Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device\n are detached.\n \n - selection : sl (bool) [create]\n Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.detachDeviceAttr`\n '
pass | def detachDeviceAttr(*args, **kwargs):
'\n This command detaches connections between device axes and node attributes. The command line arguments are the same as\n for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query\n mode, return type is based on queried flag.\n \n Dynamic library stub function\n \n Flags:\n - all : all (bool) [create]\n Delete all attachments on every device.\n \n - attribute : at (unicode) [create]\n The attribute to detach. This flag must be used with the -d/device flag.\n \n - axis : ax (unicode) [create]\n The axis to detach. This flag must be used with the -d/device flag.\n \n - device : d (unicode) [create]\n Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device\n are detached.\n \n - selection : sl (bool) [create]\n Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.detachDeviceAttr`\n '
pass<|docstring|>This command detaches connections between device axes and node attributes. The command line arguments are the same as
for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query
mode, return type is based on queried flag.
Dynamic library stub function
Flags:
- all : all (bool) [create]
Delete all attachments on every device.
- attribute : at (unicode) [create]
The attribute to detach. This flag must be used with the -d/device flag.
- axis : ax (unicode) [create]
The axis to detach. This flag must be used with the -d/device flag.
- device : d (unicode) [create]
Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device
are detached.
- selection : sl (bool) [create]
Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.detachDeviceAttr`<|endoftext|> |
b8eb653937af3a104c6bf978d713c1141b4037aefd801f81720a0dc2f4629b7c | def scriptNode(*args, **kwargs):
'\n scriptNodes contain scripts that are executed when a file is loaded or when the script node is deleted. If a script\n modifies a referenced node, the changes will be tracked as reference edits unless the scriptNode was created with the\n ignoreReferenceEdits flag. The scriptNode command is used to create, edit, query, and test scriptNodes. In query mode,\n return type is based on queried flag.\n \n Flags:\n - afterScript : afterScript (unicode) [create,query,edit]\n The script executed when the script node is deleted. C: The default is an empty string. Q: When queried, this flag\n returns a string.\n \n - beforeScript : bs (unicode) [create,query,edit]\n The script executed during file load. C: The default is an empty string. Q: When queried, this flag returns a string.\n \n - executeAfter : ea (bool) [create]\n Execute the script stored in the .after attribute of the scriptNode. This script is normally executed when the script\n node is deleted.\n \n - executeBefore : eb (bool) [create]\n Execute the script stored in the .before attribute of the scriptNode. This script is normally executed when the file is\n loaded.\n \n - ignoreReferenceEdits : ire (bool) [create]\n Sets whether changes made to referenced nodes during the execution of the script should be recorded as reference edits.\n This flag must be set when the scriptNode is created. If this flag is not set, changes to referenced nodes will be\n recorded as edits by default.\n \n - name : n (unicode) [create]\n When creating a new scriptNode, this flag specifies the name of the node. If a non-unique name is used, the name will be\n modified to ensure uniqueness.\n \n - scriptType : st (int) [create,query,edit]\n Specifies when the script is executed. The following values may be used: 0Execute on demand.1Execute on file load or on\n node deletion.2Execute on file load or on node deletion when not in batch mode. 3Internal4Execute on software\n render5Execute on software frame render6Execute on scene configuration7Execute on time changedC: The default value is 0.\n Q: When queried, this flag returns an int.\n \n - sourceType : stp (unicode) [create,query,edit]\n Sets the language type for both the attached scripts. Valid values are mel(enabled by default), and python.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.scriptNode`\n '
pass | scriptNodes contain scripts that are executed when a file is loaded or when the script node is deleted. If a script
modifies a referenced node, the changes will be tracked as reference edits unless the scriptNode was created with the
ignoreReferenceEdits flag. The scriptNode command is used to create, edit, query, and test scriptNodes. In query mode,
return type is based on queried flag.
Flags:
- afterScript : afterScript (unicode) [create,query,edit]
The script executed when the script node is deleted. C: The default is an empty string. Q: When queried, this flag
returns a string.
- beforeScript : bs (unicode) [create,query,edit]
The script executed during file load. C: The default is an empty string. Q: When queried, this flag returns a string.
- executeAfter : ea (bool) [create]
Execute the script stored in the .after attribute of the scriptNode. This script is normally executed when the script
node is deleted.
- executeBefore : eb (bool) [create]
Execute the script stored in the .before attribute of the scriptNode. This script is normally executed when the file is
loaded.
- ignoreReferenceEdits : ire (bool) [create]
Sets whether changes made to referenced nodes during the execution of the script should be recorded as reference edits.
This flag must be set when the scriptNode is created. If this flag is not set, changes to referenced nodes will be
recorded as edits by default.
- name : n (unicode) [create]
When creating a new scriptNode, this flag specifies the name of the node. If a non-unique name is used, the name will be
modified to ensure uniqueness.
- scriptType : st (int) [create,query,edit]
Specifies when the script is executed. The following values may be used: 0Execute on demand.1Execute on file load or on
node deletion.2Execute on file load or on node deletion when not in batch mode. 3Internal4Execute on software
render5Execute on software frame render6Execute on scene configuration7Execute on time changedC: The default value is 0.
Q: When queried, this flag returns an int.
- sourceType : stp (unicode) [create,query,edit]
Sets the language type for both the attached scripts. Valid values are mel(enabled by default), and python.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.scriptNode` | mayaSDK/pymel/core/system.py | scriptNode | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def scriptNode(*args, **kwargs):
'\n scriptNodes contain scripts that are executed when a file is loaded or when the script node is deleted. If a script\n modifies a referenced node, the changes will be tracked as reference edits unless the scriptNode was created with the\n ignoreReferenceEdits flag. The scriptNode command is used to create, edit, query, and test scriptNodes. In query mode,\n return type is based on queried flag.\n \n Flags:\n - afterScript : afterScript (unicode) [create,query,edit]\n The script executed when the script node is deleted. C: The default is an empty string. Q: When queried, this flag\n returns a string.\n \n - beforeScript : bs (unicode) [create,query,edit]\n The script executed during file load. C: The default is an empty string. Q: When queried, this flag returns a string.\n \n - executeAfter : ea (bool) [create]\n Execute the script stored in the .after attribute of the scriptNode. This script is normally executed when the script\n node is deleted.\n \n - executeBefore : eb (bool) [create]\n Execute the script stored in the .before attribute of the scriptNode. This script is normally executed when the file is\n loaded.\n \n - ignoreReferenceEdits : ire (bool) [create]\n Sets whether changes made to referenced nodes during the execution of the script should be recorded as reference edits.\n This flag must be set when the scriptNode is created. If this flag is not set, changes to referenced nodes will be\n recorded as edits by default.\n \n - name : n (unicode) [create]\n When creating a new scriptNode, this flag specifies the name of the node. If a non-unique name is used, the name will be\n modified to ensure uniqueness.\n \n - scriptType : st (int) [create,query,edit]\n Specifies when the script is executed. The following values may be used: 0Execute on demand.1Execute on file load or on\n node deletion.2Execute on file load or on node deletion when not in batch mode. 3Internal4Execute on software\n render5Execute on software frame render6Execute on scene configuration7Execute on time changedC: The default value is 0.\n Q: When queried, this flag returns an int.\n \n - sourceType : stp (unicode) [create,query,edit]\n Sets the language type for both the attached scripts. Valid values are mel(enabled by default), and python.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.scriptNode`\n '
pass | def scriptNode(*args, **kwargs):
'\n scriptNodes contain scripts that are executed when a file is loaded or when the script node is deleted. If a script\n modifies a referenced node, the changes will be tracked as reference edits unless the scriptNode was created with the\n ignoreReferenceEdits flag. The scriptNode command is used to create, edit, query, and test scriptNodes. In query mode,\n return type is based on queried flag.\n \n Flags:\n - afterScript : afterScript (unicode) [create,query,edit]\n The script executed when the script node is deleted. C: The default is an empty string. Q: When queried, this flag\n returns a string.\n \n - beforeScript : bs (unicode) [create,query,edit]\n The script executed during file load. C: The default is an empty string. Q: When queried, this flag returns a string.\n \n - executeAfter : ea (bool) [create]\n Execute the script stored in the .after attribute of the scriptNode. This script is normally executed when the script\n node is deleted.\n \n - executeBefore : eb (bool) [create]\n Execute the script stored in the .before attribute of the scriptNode. This script is normally executed when the file is\n loaded.\n \n - ignoreReferenceEdits : ire (bool) [create]\n Sets whether changes made to referenced nodes during the execution of the script should be recorded as reference edits.\n This flag must be set when the scriptNode is created. If this flag is not set, changes to referenced nodes will be\n recorded as edits by default.\n \n - name : n (unicode) [create]\n When creating a new scriptNode, this flag specifies the name of the node. If a non-unique name is used, the name will be\n modified to ensure uniqueness.\n \n - scriptType : st (int) [create,query,edit]\n Specifies when the script is executed. The following values may be used: 0Execute on demand.1Execute on file load or on\n node deletion.2Execute on file load or on node deletion when not in batch mode. 3Internal4Execute on software\n render5Execute on software frame render6Execute on scene configuration7Execute on time changedC: The default value is 0.\n Q: When queried, this flag returns an int.\n \n - sourceType : stp (unicode) [create,query,edit]\n Sets the language type for both the attached scripts. Valid values are mel(enabled by default), and python.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.scriptNode`\n '
pass<|docstring|>scriptNodes contain scripts that are executed when a file is loaded or when the script node is deleted. If a script
modifies a referenced node, the changes will be tracked as reference edits unless the scriptNode was created with the
ignoreReferenceEdits flag. The scriptNode command is used to create, edit, query, and test scriptNodes. In query mode,
return type is based on queried flag.
Flags:
- afterScript : afterScript (unicode) [create,query,edit]
The script executed when the script node is deleted. C: The default is an empty string. Q: When queried, this flag
returns a string.
- beforeScript : bs (unicode) [create,query,edit]
The script executed during file load. C: The default is an empty string. Q: When queried, this flag returns a string.
- executeAfter : ea (bool) [create]
Execute the script stored in the .after attribute of the scriptNode. This script is normally executed when the script
node is deleted.
- executeBefore : eb (bool) [create]
Execute the script stored in the .before attribute of the scriptNode. This script is normally executed when the file is
loaded.
- ignoreReferenceEdits : ire (bool) [create]
Sets whether changes made to referenced nodes during the execution of the script should be recorded as reference edits.
This flag must be set when the scriptNode is created. If this flag is not set, changes to referenced nodes will be
recorded as edits by default.
- name : n (unicode) [create]
When creating a new scriptNode, this flag specifies the name of the node. If a non-unique name is used, the name will be
modified to ensure uniqueness.
- scriptType : st (int) [create,query,edit]
Specifies when the script is executed. The following values may be used: 0Execute on demand.1Execute on file load or on
node deletion.2Execute on file load or on node deletion when not in batch mode. 3Internal4Execute on software
render5Execute on software frame render6Execute on scene configuration7Execute on time changedC: The default value is 0.
Q: When queried, this flag returns an int.
- sourceType : stp (unicode) [create,query,edit]
Sets the language type for both the attached scripts. Valid values are mel(enabled by default), and python.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.scriptNode`<|endoftext|> |
a83be72646ddd317e04738050a75ff1b33621b2ba51503d940960b164ec71d0e | def reference(*args, **kwargs):
'\n Flags:\n - connectionsBroken : cb (bool) []\n \n - connectionsMade : cm (bool) []\n \n - dagPath : dp (bool) []\n \n - editCommand : ec (unicode) []\n \n - filename : f (unicode) []\n \n - isNodeReferenced : inr (bool) []\n \n - longName : ln (bool) []\n \n - node : n (unicode) []\n \n - referenceNode : rfn (unicode) []\n \n - shortName : sn (bool) []\n \n \n Derived from mel command `maya.cmds.reference`\n '
pass | Flags:
- connectionsBroken : cb (bool) []
- connectionsMade : cm (bool) []
- dagPath : dp (bool) []
- editCommand : ec (unicode) []
- filename : f (unicode) []
- isNodeReferenced : inr (bool) []
- longName : ln (bool) []
- node : n (unicode) []
- referenceNode : rfn (unicode) []
- shortName : sn (bool) []
Derived from mel command `maya.cmds.reference` | mayaSDK/pymel/core/system.py | reference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def reference(*args, **kwargs):
'\n Flags:\n - connectionsBroken : cb (bool) []\n \n - connectionsMade : cm (bool) []\n \n - dagPath : dp (bool) []\n \n - editCommand : ec (unicode) []\n \n - filename : f (unicode) []\n \n - isNodeReferenced : inr (bool) []\n \n - longName : ln (bool) []\n \n - node : n (unicode) []\n \n - referenceNode : rfn (unicode) []\n \n - shortName : sn (bool) []\n \n \n Derived from mel command `maya.cmds.reference`\n '
pass | def reference(*args, **kwargs):
'\n Flags:\n - connectionsBroken : cb (bool) []\n \n - connectionsMade : cm (bool) []\n \n - dagPath : dp (bool) []\n \n - editCommand : ec (unicode) []\n \n - filename : f (unicode) []\n \n - isNodeReferenced : inr (bool) []\n \n - longName : ln (bool) []\n \n - node : n (unicode) []\n \n - referenceNode : rfn (unicode) []\n \n - shortName : sn (bool) []\n \n \n Derived from mel command `maya.cmds.reference`\n '
pass<|docstring|>Flags:
- connectionsBroken : cb (bool) []
- connectionsMade : cm (bool) []
- dagPath : dp (bool) []
- editCommand : ec (unicode) []
- filename : f (unicode) []
- isNodeReferenced : inr (bool) []
- longName : ln (bool) []
- node : n (unicode) []
- referenceNode : rfn (unicode) []
- shortName : sn (bool) []
Derived from mel command `maya.cmds.reference`<|endoftext|> |
1cbd0b6587fcabc53566e14ff4cf8f0f2ab7d1f97df08b2316642e71e61322fc | def listNamespaces(root='None', recursive='False', internal='False'):
'\n Returns a list of the namespaces in the scene\n '
pass | Returns a list of the namespaces in the scene | mayaSDK/pymel/core/system.py | listNamespaces | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listNamespaces(root='None', recursive='False', internal='False'):
'\n \n '
pass | def listNamespaces(root='None', recursive='False', internal='False'):
'\n \n '
pass<|docstring|>Returns a list of the namespaces in the scene<|endoftext|> |
0392a8dfc725e910e4fcf8856b0a70b4c033411a9174078623b229e07f6224b1 | def dgdirty(*args, **kwargs):
"\n The dgdirtycommand is used to force a dependency graph dirty message on a node or plug. Used for debugging to find\n evaluation problems. If no nodes are specified then the current selection list is used. If the listflag is used it will\n return the list of things currently marked as dirty (or clean if the cleanflag was also used). The returned values will\n be the names of plugs either clean/dirty themselves, at both ends of a clean/dirty connection, or representing the\n location of clean/dirty data on the node. Be careful using this option in conjunction with the allflag, the list could\n be huge.\n \n Flags:\n - allPlugs : a (bool) [create,query]\n Ignore the selected or specified objects and dirty (or clean) all plugs.\n \n - clean : c (bool) [create,query]\n If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.\n \n - implicit : i (bool) [create,query]\n If this flag is set then allow the implicit or default nodes to be processed as well. Otherwise they will be skipped for\n efficiency.\n \n - list : l (unicode) [create,query]\n When this flag is specified then instead of sending out dirty/clean messages the list of currently dirty/clean objects\n will be returned. The allPlugsand cleanflags are respected to narrow guide the values to be returned. The value of the\n flag tells what will be reported. dataor d= show plugs that have dirty/clean dataplugor p= show plugs that have\n dirty/clean statesconnectionor c= show plugs with connections that have dirty/clean statesQuery this flag to find all\n legal values of the flag. Query this flag with its value already set to get a description of what that value means. Note\n that pand cmodes are restricted to plugs that have connections or non-standard state information. Other attributes will\n not have state information to check, though they will have data. In the case of array attributes only the children that\n have values currently set will be considered. No attempt will be made to evaluate them in order to update the available\n child lists. e.g. if you have a DAG with transform T1 and shape S1 the instanced attribute S1.wm[0] will be reported. If\n in a script you create a second instance T2-S1 and immediately list the plugs again before evaluation you will still\n only see S1.wm[0]. The new S1.wm[1] won't be reported until it is created through an evaluation, usually caused by\n refresh, a specific getAttr command, or an editor update. Note that the list is only for selected nodes. Unlike when\n dirty messages are sent this does not travel downstream.\n \n - propagation : p (bool) [create,query]\n If this flag is set then the ability of dirty messages to flow through the graph is left enabled.\n \n - showTiming : st (bool) [create,query]\n If this flag is used then show how long the dirty messages took to propagate.\n \n - verbose : v (bool) [create,query]\n Prints out all of the plugs being set dirty on stdout. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgdirty`\n "
pass | The dgdirtycommand is used to force a dependency graph dirty message on a node or plug. Used for debugging to find
evaluation problems. If no nodes are specified then the current selection list is used. If the listflag is used it will
return the list of things currently marked as dirty (or clean if the cleanflag was also used). The returned values will
be the names of plugs either clean/dirty themselves, at both ends of a clean/dirty connection, or representing the
location of clean/dirty data on the node. Be careful using this option in conjunction with the allflag, the list could
be huge.
Flags:
- allPlugs : a (bool) [create,query]
Ignore the selected or specified objects and dirty (or clean) all plugs.
- clean : c (bool) [create,query]
If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.
- implicit : i (bool) [create,query]
If this flag is set then allow the implicit or default nodes to be processed as well. Otherwise they will be skipped for
efficiency.
- list : l (unicode) [create,query]
When this flag is specified then instead of sending out dirty/clean messages the list of currently dirty/clean objects
will be returned. The allPlugsand cleanflags are respected to narrow guide the values to be returned. The value of the
flag tells what will be reported. dataor d= show plugs that have dirty/clean dataplugor p= show plugs that have
dirty/clean statesconnectionor c= show plugs with connections that have dirty/clean statesQuery this flag to find all
legal values of the flag. Query this flag with its value already set to get a description of what that value means. Note
that pand cmodes are restricted to plugs that have connections or non-standard state information. Other attributes will
not have state information to check, though they will have data. In the case of array attributes only the children that
have values currently set will be considered. No attempt will be made to evaluate them in order to update the available
child lists. e.g. if you have a DAG with transform T1 and shape S1 the instanced attribute S1.wm[0] will be reported. If
in a script you create a second instance T2-S1 and immediately list the plugs again before evaluation you will still
only see S1.wm[0]. The new S1.wm[1] won't be reported until it is created through an evaluation, usually caused by
refresh, a specific getAttr command, or an editor update. Note that the list is only for selected nodes. Unlike when
dirty messages are sent this does not travel downstream.
- propagation : p (bool) [create,query]
If this flag is set then the ability of dirty messages to flow through the graph is left enabled.
- showTiming : st (bool) [create,query]
If this flag is used then show how long the dirty messages took to propagate.
- verbose : v (bool) [create,query]
Prints out all of the plugs being set dirty on stdout. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.dgdirty` | mayaSDK/pymel/core/system.py | dgdirty | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgdirty(*args, **kwargs):
"\n The dgdirtycommand is used to force a dependency graph dirty message on a node or plug. Used for debugging to find\n evaluation problems. If no nodes are specified then the current selection list is used. If the listflag is used it will\n return the list of things currently marked as dirty (or clean if the cleanflag was also used). The returned values will\n be the names of plugs either clean/dirty themselves, at both ends of a clean/dirty connection, or representing the\n location of clean/dirty data on the node. Be careful using this option in conjunction with the allflag, the list could\n be huge.\n \n Flags:\n - allPlugs : a (bool) [create,query]\n Ignore the selected or specified objects and dirty (or clean) all plugs.\n \n - clean : c (bool) [create,query]\n If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.\n \n - implicit : i (bool) [create,query]\n If this flag is set then allow the implicit or default nodes to be processed as well. Otherwise they will be skipped for\n efficiency.\n \n - list : l (unicode) [create,query]\n When this flag is specified then instead of sending out dirty/clean messages the list of currently dirty/clean objects\n will be returned. The allPlugsand cleanflags are respected to narrow guide the values to be returned. The value of the\n flag tells what will be reported. dataor d= show plugs that have dirty/clean dataplugor p= show plugs that have\n dirty/clean statesconnectionor c= show plugs with connections that have dirty/clean statesQuery this flag to find all\n legal values of the flag. Query this flag with its value already set to get a description of what that value means. Note\n that pand cmodes are restricted to plugs that have connections or non-standard state information. Other attributes will\n not have state information to check, though they will have data. In the case of array attributes only the children that\n have values currently set will be considered. No attempt will be made to evaluate them in order to update the available\n child lists. e.g. if you have a DAG with transform T1 and shape S1 the instanced attribute S1.wm[0] will be reported. If\n in a script you create a second instance T2-S1 and immediately list the plugs again before evaluation you will still\n only see S1.wm[0]. The new S1.wm[1] won't be reported until it is created through an evaluation, usually caused by\n refresh, a specific getAttr command, or an editor update. Note that the list is only for selected nodes. Unlike when\n dirty messages are sent this does not travel downstream.\n \n - propagation : p (bool) [create,query]\n If this flag is set then the ability of dirty messages to flow through the graph is left enabled.\n \n - showTiming : st (bool) [create,query]\n If this flag is used then show how long the dirty messages took to propagate.\n \n - verbose : v (bool) [create,query]\n Prints out all of the plugs being set dirty on stdout. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgdirty`\n "
pass | def dgdirty(*args, **kwargs):
"\n The dgdirtycommand is used to force a dependency graph dirty message on a node or plug. Used for debugging to find\n evaluation problems. If no nodes are specified then the current selection list is used. If the listflag is used it will\n return the list of things currently marked as dirty (or clean if the cleanflag was also used). The returned values will\n be the names of plugs either clean/dirty themselves, at both ends of a clean/dirty connection, or representing the\n location of clean/dirty data on the node. Be careful using this option in conjunction with the allflag, the list could\n be huge.\n \n Flags:\n - allPlugs : a (bool) [create,query]\n Ignore the selected or specified objects and dirty (or clean) all plugs.\n \n - clean : c (bool) [create,query]\n If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.\n \n - implicit : i (bool) [create,query]\n If this flag is set then allow the implicit or default nodes to be processed as well. Otherwise they will be skipped for\n efficiency.\n \n - list : l (unicode) [create,query]\n When this flag is specified then instead of sending out dirty/clean messages the list of currently dirty/clean objects\n will be returned. The allPlugsand cleanflags are respected to narrow guide the values to be returned. The value of the\n flag tells what will be reported. dataor d= show plugs that have dirty/clean dataplugor p= show plugs that have\n dirty/clean statesconnectionor c= show plugs with connections that have dirty/clean statesQuery this flag to find all\n legal values of the flag. Query this flag with its value already set to get a description of what that value means. Note\n that pand cmodes are restricted to plugs that have connections or non-standard state information. Other attributes will\n not have state information to check, though they will have data. In the case of array attributes only the children that\n have values currently set will be considered. No attempt will be made to evaluate them in order to update the available\n child lists. e.g. if you have a DAG with transform T1 and shape S1 the instanced attribute S1.wm[0] will be reported. If\n in a script you create a second instance T2-S1 and immediately list the plugs again before evaluation you will still\n only see S1.wm[0]. The new S1.wm[1] won't be reported until it is created through an evaluation, usually caused by\n refresh, a specific getAttr command, or an editor update. Note that the list is only for selected nodes. Unlike when\n dirty messages are sent this does not travel downstream.\n \n - propagation : p (bool) [create,query]\n If this flag is set then the ability of dirty messages to flow through the graph is left enabled.\n \n - showTiming : st (bool) [create,query]\n If this flag is used then show how long the dirty messages took to propagate.\n \n - verbose : v (bool) [create,query]\n Prints out all of the plugs being set dirty on stdout. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dgdirty`\n "
pass<|docstring|>The dgdirtycommand is used to force a dependency graph dirty message on a node or plug. Used for debugging to find
evaluation problems. If no nodes are specified then the current selection list is used. If the listflag is used it will
return the list of things currently marked as dirty (or clean if the cleanflag was also used). The returned values will
be the names of plugs either clean/dirty themselves, at both ends of a clean/dirty connection, or representing the
location of clean/dirty data on the node. Be careful using this option in conjunction with the allflag, the list could
be huge.
Flags:
- allPlugs : a (bool) [create,query]
Ignore the selected or specified objects and dirty (or clean) all plugs.
- clean : c (bool) [create,query]
If this flag is set then the attributes are cleaned. Otherwise they are set to dirty.
- implicit : i (bool) [create,query]
If this flag is set then allow the implicit or default nodes to be processed as well. Otherwise they will be skipped for
efficiency.
- list : l (unicode) [create,query]
When this flag is specified then instead of sending out dirty/clean messages the list of currently dirty/clean objects
will be returned. The allPlugsand cleanflags are respected to narrow guide the values to be returned. The value of the
flag tells what will be reported. dataor d= show plugs that have dirty/clean dataplugor p= show plugs that have
dirty/clean statesconnectionor c= show plugs with connections that have dirty/clean statesQuery this flag to find all
legal values of the flag. Query this flag with its value already set to get a description of what that value means. Note
that pand cmodes are restricted to plugs that have connections or non-standard state information. Other attributes will
not have state information to check, though they will have data. In the case of array attributes only the children that
have values currently set will be considered. No attempt will be made to evaluate them in order to update the available
child lists. e.g. if you have a DAG with transform T1 and shape S1 the instanced attribute S1.wm[0] will be reported. If
in a script you create a second instance T2-S1 and immediately list the plugs again before evaluation you will still
only see S1.wm[0]. The new S1.wm[1] won't be reported until it is created through an evaluation, usually caused by
refresh, a specific getAttr command, or an editor update. Note that the list is only for selected nodes. Unlike when
dirty messages are sent this does not travel downstream.
- propagation : p (bool) [create,query]
If this flag is set then the ability of dirty messages to flow through the graph is left enabled.
- showTiming : st (bool) [create,query]
If this flag is used then show how long the dirty messages took to propagate.
- verbose : v (bool) [create,query]
Prints out all of the plugs being set dirty on stdout. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.dgdirty`<|endoftext|> |
8a8af10ed44f0ce18eaf6c5264c1a5c433428279e2ce0dcd9603288949353382 | def sysFile(*args, **kwargs):
'\n This command provides a system independent way to create a directory or to rename or delete a file.\n \n Flags:\n - copy : cp (unicode) [create]\n Copy the file to the name given by the newFileName paramter.\n \n - delete : delete (bool) [create]\n Deletes the file.\n \n - makeDir : md (bool) [create]\n Create the directory path given in the parameter. This will create the entire path if more than one directory needs to\n be created.\n \n - move : mov (unicode) [create]\n Behaves identically to the -rename flag and remains for compatibility with old scripts\n \n - removeEmptyDir : red (bool) [create]\n Delete the directory path given in the parameter if the directory is empty. The command will not delete a directory\n which is not empty.\n \n - rename : ren (unicode) [create]\n Rename the file to the name given by the newFileName parameter. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.sysFile`\n '
pass | This command provides a system independent way to create a directory or to rename or delete a file.
Flags:
- copy : cp (unicode) [create]
Copy the file to the name given by the newFileName paramter.
- delete : delete (bool) [create]
Deletes the file.
- makeDir : md (bool) [create]
Create the directory path given in the parameter. This will create the entire path if more than one directory needs to
be created.
- move : mov (unicode) [create]
Behaves identically to the -rename flag and remains for compatibility with old scripts
- removeEmptyDir : red (bool) [create]
Delete the directory path given in the parameter if the directory is empty. The command will not delete a directory
which is not empty.
- rename : ren (unicode) [create]
Rename the file to the name given by the newFileName parameter. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.sysFile` | mayaSDK/pymel/core/system.py | sysFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def sysFile(*args, **kwargs):
'\n This command provides a system independent way to create a directory or to rename or delete a file.\n \n Flags:\n - copy : cp (unicode) [create]\n Copy the file to the name given by the newFileName paramter.\n \n - delete : delete (bool) [create]\n Deletes the file.\n \n - makeDir : md (bool) [create]\n Create the directory path given in the parameter. This will create the entire path if more than one directory needs to\n be created.\n \n - move : mov (unicode) [create]\n Behaves identically to the -rename flag and remains for compatibility with old scripts\n \n - removeEmptyDir : red (bool) [create]\n Delete the directory path given in the parameter if the directory is empty. The command will not delete a directory\n which is not empty.\n \n - rename : ren (unicode) [create]\n Rename the file to the name given by the newFileName parameter. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.sysFile`\n '
pass | def sysFile(*args, **kwargs):
'\n This command provides a system independent way to create a directory or to rename or delete a file.\n \n Flags:\n - copy : cp (unicode) [create]\n Copy the file to the name given by the newFileName paramter.\n \n - delete : delete (bool) [create]\n Deletes the file.\n \n - makeDir : md (bool) [create]\n Create the directory path given in the parameter. This will create the entire path if more than one directory needs to\n be created.\n \n - move : mov (unicode) [create]\n Behaves identically to the -rename flag and remains for compatibility with old scripts\n \n - removeEmptyDir : red (bool) [create]\n Delete the directory path given in the parameter if the directory is empty. The command will not delete a directory\n which is not empty.\n \n - rename : ren (unicode) [create]\n Rename the file to the name given by the newFileName parameter. Flag can have multiple arguments,\n passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.sysFile`\n '
pass<|docstring|>This command provides a system independent way to create a directory or to rename or delete a file.
Flags:
- copy : cp (unicode) [create]
Copy the file to the name given by the newFileName paramter.
- delete : delete (bool) [create]
Deletes the file.
- makeDir : md (bool) [create]
Create the directory path given in the parameter. This will create the entire path if more than one directory needs to
be created.
- move : mov (unicode) [create]
Behaves identically to the -rename flag and remains for compatibility with old scripts
- removeEmptyDir : red (bool) [create]
Delete the directory path given in the parameter if the directory is empty. The command will not delete a directory
which is not empty.
- rename : ren (unicode) [create]
Rename the file to the name given by the newFileName parameter. Flag can have multiple arguments,
passed either as a tuple or a list.
Derived from mel command `maya.cmds.sysFile`<|endoftext|> |
1c0eb12f998aed036aeefac12235bd788b64f30eebfd756ddb799c6d34808139 | def listReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', loaded='None', unloaded='None'):
"\n Like iterReferences, except returns a list instead of an iterator.\n \n \n returns references in the scene as a list of value tuples.\n \n The values in the tuples can be namespaces, refNodes (as PyNodes), and/or\n references (as FileReferences), and are controlled by their respective\n keywords (and are returned in that order). If only one of the three options\n is True, the result will not be a list of value tuples, but will simply be a\n list of values.\n \n Parameters\n ----------\n parentReference : string, `Path`, or `FileReference`\n a reference to get sub-references from. If None (default), the current\n scene is used.\n \n recursive : bool\n recursively determine all references and sub-references\n \n namespaces : bool\n controls whether namespaces are returned\n \n refNodes : bool\n controls whether reference PyNodes are returned\n \n refNodes : bool\n controls whether FileReferences returned\n \n recurseType : string\n if recursing, whether to do a 'breadth' or 'depth' first search;\n defaults to a 'depth' first\n \n loaded : bool or None\n whether to return loaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n \n unloaded : bool or None\n whether to return unloaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n "
pass | Like iterReferences, except returns a list instead of an iterator.
returns references in the scene as a list of value tuples.
The values in the tuples can be namespaces, refNodes (as PyNodes), and/or
references (as FileReferences), and are controlled by their respective
keywords (and are returned in that order). If only one of the three options
is True, the result will not be a list of value tuples, but will simply be a
list of values.
Parameters
----------
parentReference : string, `Path`, or `FileReference`
a reference to get sub-references from. If None (default), the current
scene is used.
recursive : bool
recursively determine all references and sub-references
namespaces : bool
controls whether namespaces are returned
refNodes : bool
controls whether reference PyNodes are returned
refNodes : bool
controls whether FileReferences returned
recurseType : string
if recursing, whether to do a 'breadth' or 'depth' first search;
defaults to a 'depth' first
loaded : bool or None
whether to return loaded references in the return result; if both of
loaded/unloaded are not given (or None), then both are assumed True;
if only one is given, the other is assumed to have the opposite boolean
value
unloaded : bool or None
whether to return unloaded references in the return result; if both of
loaded/unloaded are not given (or None), then both are assumed True;
if only one is given, the other is assumed to have the opposite boolean
value | mayaSDK/pymel/core/system.py | listReferences | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', loaded='None', unloaded='None'):
"\n Like iterReferences, except returns a list instead of an iterator.\n \n \n returns references in the scene as a list of value tuples.\n \n The values in the tuples can be namespaces, refNodes (as PyNodes), and/or\n references (as FileReferences), and are controlled by their respective\n keywords (and are returned in that order). If only one of the three options\n is True, the result will not be a list of value tuples, but will simply be a\n list of values.\n \n Parameters\n ----------\n parentReference : string, `Path`, or `FileReference`\n a reference to get sub-references from. If None (default), the current\n scene is used.\n \n recursive : bool\n recursively determine all references and sub-references\n \n namespaces : bool\n controls whether namespaces are returned\n \n refNodes : bool\n controls whether reference PyNodes are returned\n \n refNodes : bool\n controls whether FileReferences returned\n \n recurseType : string\n if recursing, whether to do a 'breadth' or 'depth' first search;\n defaults to a 'depth' first\n \n loaded : bool or None\n whether to return loaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n \n unloaded : bool or None\n whether to return unloaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n "
pass | def listReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', loaded='None', unloaded='None'):
"\n Like iterReferences, except returns a list instead of an iterator.\n \n \n returns references in the scene as a list of value tuples.\n \n The values in the tuples can be namespaces, refNodes (as PyNodes), and/or\n references (as FileReferences), and are controlled by their respective\n keywords (and are returned in that order). If only one of the three options\n is True, the result will not be a list of value tuples, but will simply be a\n list of values.\n \n Parameters\n ----------\n parentReference : string, `Path`, or `FileReference`\n a reference to get sub-references from. If None (default), the current\n scene is used.\n \n recursive : bool\n recursively determine all references and sub-references\n \n namespaces : bool\n controls whether namespaces are returned\n \n refNodes : bool\n controls whether reference PyNodes are returned\n \n refNodes : bool\n controls whether FileReferences returned\n \n recurseType : string\n if recursing, whether to do a 'breadth' or 'depth' first search;\n defaults to a 'depth' first\n \n loaded : bool or None\n whether to return loaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n \n unloaded : bool or None\n whether to return unloaded references in the return result; if both of\n loaded/unloaded are not given (or None), then both are assumed True;\n if only one is given, the other is assumed to have the opposite boolean\n value\n "
pass<|docstring|>Like iterReferences, except returns a list instead of an iterator.
returns references in the scene as a list of value tuples.
The values in the tuples can be namespaces, refNodes (as PyNodes), and/or
references (as FileReferences), and are controlled by their respective
keywords (and are returned in that order). If only one of the three options
is True, the result will not be a list of value tuples, but will simply be a
list of values.
Parameters
----------
parentReference : string, `Path`, or `FileReference`
a reference to get sub-references from. If None (default), the current
scene is used.
recursive : bool
recursively determine all references and sub-references
namespaces : bool
controls whether namespaces are returned
refNodes : bool
controls whether reference PyNodes are returned
refNodes : bool
controls whether FileReferences returned
recurseType : string
if recursing, whether to do a 'breadth' or 'depth' first search;
defaults to a 'depth' first
loaded : bool or None
whether to return loaded references in the return result; if both of
loaded/unloaded are not given (or None), then both are assumed True;
if only one is given, the other is assumed to have the opposite boolean
value
unloaded : bool or None
whether to return unloaded references in the return result; if both of
loaded/unloaded are not given (or None), then both are assumed True;
if only one is given, the other is assumed to have the opposite boolean
value<|endoftext|> |
10f363a95246be11c6f1958a883a07d5a53f6b98381742b5763022f8c5c3e801 | def cacheFileCombine(*args, **kwargs):
'\n Creates a cacheBlend node that can be used to combine, layer or blend multiple cacheFiles for a given object.\n \n Flags:\n - cacheIndex : ci (bool) [query]\n A query only flag that returns the index related to the cache specified with the connectCache flag.\n \n - channelName : cnm (unicode) [edit]\n Used in conjunction with the connectCache flag to indicate the channel(s) that should be connected. If not specified,\n the first channel in the file is used.\n \n - connectCache : cc (unicode) [query,edit]\n An edit flag that specifies a cacheFile node that should be connected to the next available index on the specified\n cacheBlend node. As a query flag, it returns a string array containing the cacheFiles that feed into the specified\n cacheBlend node. In query mode, this flag can accept a value.\n \n - keepWeights : kw (bool) [edit]\n This is a flag for use in combination with the connectCache flag only. By default, the connectCache flag will set all\n weights other than the newly added cacheWeight to 0 so that the new cache gets complete control. This flag disables that\n behavior so that all existing blend weights are retained.\n \n - layerNode : ln (bool) [query]\n A query flag that returns a string array of the existing cacheBlends on the selected object(s). Returns an empty string\n array if no cacheBlends are found.\n \n - nextAvailable : na (bool) [query]\n A query flag that returns the next available index on the selected cacheBlend node.\n \n - object : obj (unicode) [query]\n This flag is used in combination with the objectIndex flag. It is used to specify the object whose index you wish to\n query.\n \n - objectIndex : oi (int) [query,edit]\n In edit mode, used in conjunction with the connectCache flag to indicate the objectIndex to be connected. In query mode,\n returns the index related to the object specified with the object flag. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileCombine`\n '
pass | Creates a cacheBlend node that can be used to combine, layer or blend multiple cacheFiles for a given object.
Flags:
- cacheIndex : ci (bool) [query]
A query only flag that returns the index related to the cache specified with the connectCache flag.
- channelName : cnm (unicode) [edit]
Used in conjunction with the connectCache flag to indicate the channel(s) that should be connected. If not specified,
the first channel in the file is used.
- connectCache : cc (unicode) [query,edit]
An edit flag that specifies a cacheFile node that should be connected to the next available index on the specified
cacheBlend node. As a query flag, it returns a string array containing the cacheFiles that feed into the specified
cacheBlend node. In query mode, this flag can accept a value.
- keepWeights : kw (bool) [edit]
This is a flag for use in combination with the connectCache flag only. By default, the connectCache flag will set all
weights other than the newly added cacheWeight to 0 so that the new cache gets complete control. This flag disables that
behavior so that all existing blend weights are retained.
- layerNode : ln (bool) [query]
A query flag that returns a string array of the existing cacheBlends on the selected object(s). Returns an empty string
array if no cacheBlends are found.
- nextAvailable : na (bool) [query]
A query flag that returns the next available index on the selected cacheBlend node.
- object : obj (unicode) [query]
This flag is used in combination with the objectIndex flag. It is used to specify the object whose index you wish to
query.
- objectIndex : oi (int) [query,edit]
In edit mode, used in conjunction with the connectCache flag to indicate the objectIndex to be connected. In query mode,
returns the index related to the object specified with the object flag. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.cacheFileCombine` | mayaSDK/pymel/core/system.py | cacheFileCombine | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def cacheFileCombine(*args, **kwargs):
'\n Creates a cacheBlend node that can be used to combine, layer or blend multiple cacheFiles for a given object.\n \n Flags:\n - cacheIndex : ci (bool) [query]\n A query only flag that returns the index related to the cache specified with the connectCache flag.\n \n - channelName : cnm (unicode) [edit]\n Used in conjunction with the connectCache flag to indicate the channel(s) that should be connected. If not specified,\n the first channel in the file is used.\n \n - connectCache : cc (unicode) [query,edit]\n An edit flag that specifies a cacheFile node that should be connected to the next available index on the specified\n cacheBlend node. As a query flag, it returns a string array containing the cacheFiles that feed into the specified\n cacheBlend node. In query mode, this flag can accept a value.\n \n - keepWeights : kw (bool) [edit]\n This is a flag for use in combination with the connectCache flag only. By default, the connectCache flag will set all\n weights other than the newly added cacheWeight to 0 so that the new cache gets complete control. This flag disables that\n behavior so that all existing blend weights are retained.\n \n - layerNode : ln (bool) [query]\n A query flag that returns a string array of the existing cacheBlends on the selected object(s). Returns an empty string\n array if no cacheBlends are found.\n \n - nextAvailable : na (bool) [query]\n A query flag that returns the next available index on the selected cacheBlend node.\n \n - object : obj (unicode) [query]\n This flag is used in combination with the objectIndex flag. It is used to specify the object whose index you wish to\n query.\n \n - objectIndex : oi (int) [query,edit]\n In edit mode, used in conjunction with the connectCache flag to indicate the objectIndex to be connected. In query mode,\n returns the index related to the object specified with the object flag. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileCombine`\n '
pass | def cacheFileCombine(*args, **kwargs):
'\n Creates a cacheBlend node that can be used to combine, layer or blend multiple cacheFiles for a given object.\n \n Flags:\n - cacheIndex : ci (bool) [query]\n A query only flag that returns the index related to the cache specified with the connectCache flag.\n \n - channelName : cnm (unicode) [edit]\n Used in conjunction with the connectCache flag to indicate the channel(s) that should be connected. If not specified,\n the first channel in the file is used.\n \n - connectCache : cc (unicode) [query,edit]\n An edit flag that specifies a cacheFile node that should be connected to the next available index on the specified\n cacheBlend node. As a query flag, it returns a string array containing the cacheFiles that feed into the specified\n cacheBlend node. In query mode, this flag can accept a value.\n \n - keepWeights : kw (bool) [edit]\n This is a flag for use in combination with the connectCache flag only. By default, the connectCache flag will set all\n weights other than the newly added cacheWeight to 0 so that the new cache gets complete control. This flag disables that\n behavior so that all existing blend weights are retained.\n \n - layerNode : ln (bool) [query]\n A query flag that returns a string array of the existing cacheBlends on the selected object(s). Returns an empty string\n array if no cacheBlends are found.\n \n - nextAvailable : na (bool) [query]\n A query flag that returns the next available index on the selected cacheBlend node.\n \n - object : obj (unicode) [query]\n This flag is used in combination with the objectIndex flag. It is used to specify the object whose index you wish to\n query.\n \n - objectIndex : oi (int) [query,edit]\n In edit mode, used in conjunction with the connectCache flag to indicate the objectIndex to be connected. In query mode,\n returns the index related to the object specified with the object flag. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileCombine`\n '
pass<|docstring|>Creates a cacheBlend node that can be used to combine, layer or blend multiple cacheFiles for a given object.
Flags:
- cacheIndex : ci (bool) [query]
A query only flag that returns the index related to the cache specified with the connectCache flag.
- channelName : cnm (unicode) [edit]
Used in conjunction with the connectCache flag to indicate the channel(s) that should be connected. If not specified,
the first channel in the file is used.
- connectCache : cc (unicode) [query,edit]
An edit flag that specifies a cacheFile node that should be connected to the next available index on the specified
cacheBlend node. As a query flag, it returns a string array containing the cacheFiles that feed into the specified
cacheBlend node. In query mode, this flag can accept a value.
- keepWeights : kw (bool) [edit]
This is a flag for use in combination with the connectCache flag only. By default, the connectCache flag will set all
weights other than the newly added cacheWeight to 0 so that the new cache gets complete control. This flag disables that
behavior so that all existing blend weights are retained.
- layerNode : ln (bool) [query]
A query flag that returns a string array of the existing cacheBlends on the selected object(s). Returns an empty string
array if no cacheBlends are found.
- nextAvailable : na (bool) [query]
A query flag that returns the next available index on the selected cacheBlend node.
- object : obj (unicode) [query]
This flag is used in combination with the objectIndex flag. It is used to specify the object whose index you wish to
query.
- objectIndex : oi (int) [query,edit]
In edit mode, used in conjunction with the connectCache flag to indicate the objectIndex to be connected. In query mode,
returns the index related to the object specified with the object flag. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.cacheFileCombine`<|endoftext|> |
64f5369196cd1eb35f786588d01f7cb1b14236446160cb4e77bbe7383587e1b2 | def dbpeek(*args, **kwargs):
'\n The dbpeekcommand is used to analyze the Maya data for information of interest. See a description of the flags for\n details on what types of things can be analyzed.\n \n Flags:\n - allObjects : all (bool) [create,query]\n Ignore any specified or selected objects and peek into all applicable objects. The definition of allObjectswill vary\n based on the peek operation being performed - see the flag documentation for details on what it means for a given\n operation. By default if no objects are selected or specified then it will behave as though this flag were set.\n \n - argument : a (unicode) [create,query]\n Specify one or more arguments to be passed to the operation. The acceptable values for the argument string are\n documented in the flag to which they will be applied. If the argument itself takes a value then the value will be of the\n form argname=argvalue.\n \n - count : c (int) [create,query]\n Specify a count to be used by the test. Different tests make different use of the count, query the operation to find out\n how it interprets the value. For example a performance test might use it as the number of iterations to run in the test,\n an output operation might use it to limit the amount of output it produces.\n \n - evaluationGraph : eg (bool) [create,query]\n Ignore any nodes that are not explicitly part of the evaluation graph. Usually this means nodes that are affected either\n directly or indirectly by animation. May also tailor the operation to be EM-specific in the areas where the structure of\n the DG differs from the structure of the EM, for example, plug configurations. This is a filter on the currently\n selected nodes, including the use of the allObjectsflag.\n \n - operation : op (unicode) [create,query]\n Specify the peeking operation to perform. The various operations are registered at run time and can be listed by\n querying this flag without a value. If you query it with a value then you get the detail values that peek operation\n accepts and a description of what it does. In query mode, this flag can accept a value.\n \n - outputFile : of (unicode) [create,query]\n Specify the location of a file to which the information is to be dumped. Default will return the value from the command.\n Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available when\n debugging on Windows to direct your output to the debug tab in the output window of Visual Studio.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbpeek`\n '
pass | The dbpeekcommand is used to analyze the Maya data for information of interest. See a description of the flags for
details on what types of things can be analyzed.
Flags:
- allObjects : all (bool) [create,query]
Ignore any specified or selected objects and peek into all applicable objects. The definition of allObjectswill vary
based on the peek operation being performed - see the flag documentation for details on what it means for a given
operation. By default if no objects are selected or specified then it will behave as though this flag were set.
- argument : a (unicode) [create,query]
Specify one or more arguments to be passed to the operation. The acceptable values for the argument string are
documented in the flag to which they will be applied. If the argument itself takes a value then the value will be of the
form argname=argvalue.
- count : c (int) [create,query]
Specify a count to be used by the test. Different tests make different use of the count, query the operation to find out
how it interprets the value. For example a performance test might use it as the number of iterations to run in the test,
an output operation might use it to limit the amount of output it produces.
- evaluationGraph : eg (bool) [create,query]
Ignore any nodes that are not explicitly part of the evaluation graph. Usually this means nodes that are affected either
directly or indirectly by animation. May also tailor the operation to be EM-specific in the areas where the structure of
the DG differs from the structure of the EM, for example, plug configurations. This is a filter on the currently
selected nodes, including the use of the allObjectsflag.
- operation : op (unicode) [create,query]
Specify the peeking operation to perform. The various operations are registered at run time and can be listed by
querying this flag without a value. If you query it with a value then you get the detail values that peek operation
accepts and a description of what it does. In query mode, this flag can accept a value.
- outputFile : of (unicode) [create,query]
Specify the location of a file to which the information is to be dumped. Default will return the value from the command.
Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available when
debugging on Windows to direct your output to the debug tab in the output window of Visual Studio.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dbpeek` | mayaSDK/pymel/core/system.py | dbpeek | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dbpeek(*args, **kwargs):
'\n The dbpeekcommand is used to analyze the Maya data for information of interest. See a description of the flags for\n details on what types of things can be analyzed.\n \n Flags:\n - allObjects : all (bool) [create,query]\n Ignore any specified or selected objects and peek into all applicable objects. The definition of allObjectswill vary\n based on the peek operation being performed - see the flag documentation for details on what it means for a given\n operation. By default if no objects are selected or specified then it will behave as though this flag were set.\n \n - argument : a (unicode) [create,query]\n Specify one or more arguments to be passed to the operation. The acceptable values for the argument string are\n documented in the flag to which they will be applied. If the argument itself takes a value then the value will be of the\n form argname=argvalue.\n \n - count : c (int) [create,query]\n Specify a count to be used by the test. Different tests make different use of the count, query the operation to find out\n how it interprets the value. For example a performance test might use it as the number of iterations to run in the test,\n an output operation might use it to limit the amount of output it produces.\n \n - evaluationGraph : eg (bool) [create,query]\n Ignore any nodes that are not explicitly part of the evaluation graph. Usually this means nodes that are affected either\n directly or indirectly by animation. May also tailor the operation to be EM-specific in the areas where the structure of\n the DG differs from the structure of the EM, for example, plug configurations. This is a filter on the currently\n selected nodes, including the use of the allObjectsflag.\n \n - operation : op (unicode) [create,query]\n Specify the peeking operation to perform. The various operations are registered at run time and can be listed by\n querying this flag without a value. If you query it with a value then you get the detail values that peek operation\n accepts and a description of what it does. In query mode, this flag can accept a value.\n \n - outputFile : of (unicode) [create,query]\n Specify the location of a file to which the information is to be dumped. Default will return the value from the command.\n Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available when\n debugging on Windows to direct your output to the debug tab in the output window of Visual Studio.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbpeek`\n '
pass | def dbpeek(*args, **kwargs):
'\n The dbpeekcommand is used to analyze the Maya data for information of interest. See a description of the flags for\n details on what types of things can be analyzed.\n \n Flags:\n - allObjects : all (bool) [create,query]\n Ignore any specified or selected objects and peek into all applicable objects. The definition of allObjectswill vary\n based on the peek operation being performed - see the flag documentation for details on what it means for a given\n operation. By default if no objects are selected or specified then it will behave as though this flag were set.\n \n - argument : a (unicode) [create,query]\n Specify one or more arguments to be passed to the operation. The acceptable values for the argument string are\n documented in the flag to which they will be applied. If the argument itself takes a value then the value will be of the\n form argname=argvalue.\n \n - count : c (int) [create,query]\n Specify a count to be used by the test. Different tests make different use of the count, query the operation to find out\n how it interprets the value. For example a performance test might use it as the number of iterations to run in the test,\n an output operation might use it to limit the amount of output it produces.\n \n - evaluationGraph : eg (bool) [create,query]\n Ignore any nodes that are not explicitly part of the evaluation graph. Usually this means nodes that are affected either\n directly or indirectly by animation. May also tailor the operation to be EM-specific in the areas where the structure of\n the DG differs from the structure of the EM, for example, plug configurations. This is a filter on the currently\n selected nodes, including the use of the allObjectsflag.\n \n - operation : op (unicode) [create,query]\n Specify the peeking operation to perform. The various operations are registered at run time and can be listed by\n querying this flag without a value. If you query it with a value then you get the detail values that peek operation\n accepts and a description of what it does. In query mode, this flag can accept a value.\n \n - outputFile : of (unicode) [create,query]\n Specify the location of a file to which the information is to be dumped. Default will return the value from the command.\n Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available when\n debugging on Windows to direct your output to the debug tab in the output window of Visual Studio.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.dbpeek`\n '
pass<|docstring|>The dbpeekcommand is used to analyze the Maya data for information of interest. See a description of the flags for
details on what types of things can be analyzed.
Flags:
- allObjects : all (bool) [create,query]
Ignore any specified or selected objects and peek into all applicable objects. The definition of allObjectswill vary
based on the peek operation being performed - see the flag documentation for details on what it means for a given
operation. By default if no objects are selected or specified then it will behave as though this flag were set.
- argument : a (unicode) [create,query]
Specify one or more arguments to be passed to the operation. The acceptable values for the argument string are
documented in the flag to which they will be applied. If the argument itself takes a value then the value will be of the
form argname=argvalue.
- count : c (int) [create,query]
Specify a count to be used by the test. Different tests make different use of the count, query the operation to find out
how it interprets the value. For example a performance test might use it as the number of iterations to run in the test,
an output operation might use it to limit the amount of output it produces.
- evaluationGraph : eg (bool) [create,query]
Ignore any nodes that are not explicitly part of the evaluation graph. Usually this means nodes that are affected either
directly or indirectly by animation. May also tailor the operation to be EM-specific in the areas where the structure of
the DG differs from the structure of the EM, for example, plug configurations. This is a filter on the currently
selected nodes, including the use of the allObjectsflag.
- operation : op (unicode) [create,query]
Specify the peeking operation to perform. The various operations are registered at run time and can be listed by
querying this flag without a value. If you query it with a value then you get the detail values that peek operation
accepts and a description of what it does. In query mode, this flag can accept a value.
- outputFile : of (unicode) [create,query]
Specify the location of a file to which the information is to be dumped. Default will return the value from the command.
Use the special names stdoutand stderrto redirect to your command window. The special name msdevis available when
debugging on Windows to direct your output to the debug tab in the output window of Visual Studio.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.dbpeek`<|endoftext|> |
6fae2165a1cebad8459542c6dd70c66fe9cfa1429f8695206b01bef6e415ef62 | def unknownNode(*args, **kwargs):
'\n Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when\n loading a scene file).\n \n Flags:\n - plugin : p (bool) [query]\n In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string\n is returned.\n \n - realClassName : rcn (bool) [query]\n Return the real class name of the node.\n \n - realClassTag : rct (bool) [query]\n Return the real class IFF tag of the node. Flag can have multiple arguments, passed either as a tuple\n or a list.\n \n \n Derived from mel command `maya.cmds.unknownNode`\n '
pass | Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when
loading a scene file).
Flags:
- plugin : p (bool) [query]
In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string
is returned.
- realClassName : rcn (bool) [query]
Return the real class name of the node.
- realClassTag : rct (bool) [query]
Return the real class IFF tag of the node. Flag can have multiple arguments, passed either as a tuple
or a list.
Derived from mel command `maya.cmds.unknownNode` | mayaSDK/pymel/core/system.py | unknownNode | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unknownNode(*args, **kwargs):
'\n Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when\n loading a scene file).\n \n Flags:\n - plugin : p (bool) [query]\n In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string\n is returned.\n \n - realClassName : rcn (bool) [query]\n Return the real class name of the node.\n \n - realClassTag : rct (bool) [query]\n Return the real class IFF tag of the node. Flag can have multiple arguments, passed either as a tuple\n or a list.\n \n \n Derived from mel command `maya.cmds.unknownNode`\n '
pass | def unknownNode(*args, **kwargs):
'\n Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when\n loading a scene file).\n \n Flags:\n - plugin : p (bool) [query]\n In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string\n is returned.\n \n - realClassName : rcn (bool) [query]\n Return the real class name of the node.\n \n - realClassTag : rct (bool) [query]\n Return the real class IFF tag of the node. Flag can have multiple arguments, passed either as a tuple\n or a list.\n \n \n Derived from mel command `maya.cmds.unknownNode`\n '
pass<|docstring|>Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when
loading a scene file).
Flags:
- plugin : p (bool) [query]
In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string
is returned.
- realClassName : rcn (bool) [query]
Return the real class name of the node.
- realClassTag : rct (bool) [query]
Return the real class IFF tag of the node. Flag can have multiple arguments, passed either as a tuple
or a list.
Derived from mel command `maya.cmds.unknownNode`<|endoftext|> |
2a5e45aba9f0e273ec14dfd6fecb579ff6d1846767d65ae3cdf64f98c439066a | def launchImageEditor(*args, **kwargs):
'\n Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and\n Windows platforms.\n \n Flags:\n - editImageFile : eif (unicode) [create]\n If the file is a PSD, then the specified verison of Photoshop is launched, and the file is opened in it. If file is any\n other image type, then the preferred image editor is launched, and the file is opened in it.\n \n - viewImageFile : vif (unicode) [create]\n Opens up an Image editor to view images. Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.launchImageEditor`\n '
pass | Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and
Windows platforms.
Flags:
- editImageFile : eif (unicode) [create]
If the file is a PSD, then the specified verison of Photoshop is launched, and the file is opened in it. If file is any
other image type, then the preferred image editor is launched, and the file is opened in it.
- viewImageFile : vif (unicode) [create]
Opens up an Image editor to view images. Flag can have multiple arguments, passed either as a tuple or
a list.
Derived from mel command `maya.cmds.launchImageEditor` | mayaSDK/pymel/core/system.py | launchImageEditor | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def launchImageEditor(*args, **kwargs):
'\n Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and\n Windows platforms.\n \n Flags:\n - editImageFile : eif (unicode) [create]\n If the file is a PSD, then the specified verison of Photoshop is launched, and the file is opened in it. If file is any\n other image type, then the preferred image editor is launched, and the file is opened in it.\n \n - viewImageFile : vif (unicode) [create]\n Opens up an Image editor to view images. Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.launchImageEditor`\n '
pass | def launchImageEditor(*args, **kwargs):
'\n Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and\n Windows platforms.\n \n Flags:\n - editImageFile : eif (unicode) [create]\n If the file is a PSD, then the specified verison of Photoshop is launched, and the file is opened in it. If file is any\n other image type, then the preferred image editor is launched, and the file is opened in it.\n \n - viewImageFile : vif (unicode) [create]\n Opens up an Image editor to view images. Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.launchImageEditor`\n '
pass<|docstring|>Launch the appropriate application to edit/view the image files specified. This command works only on the Macintosh and
Windows platforms.
Flags:
- editImageFile : eif (unicode) [create]
If the file is a PSD, then the specified verison of Photoshop is launched, and the file is opened in it. If file is any
other image type, then the preferred image editor is launched, and the file is opened in it.
- viewImageFile : vif (unicode) [create]
Opens up an Image editor to view images. Flag can have multiple arguments, passed either as a tuple or
a list.
Derived from mel command `maya.cmds.launchImageEditor`<|endoftext|> |
ef1ca54dc20148be7f34ad10df4188171f0e20afc9446dd97c322199811bbc25 | def showHelp(*args, **kwargs):
'\n Invokes a web browser to open the on-line documentation and help files. It will open the help page for a given topic, or\n open a browser to a specific URL. In query mode, return type is based on queried flag.\n \n Flags:\n - absolute : a (bool) [create]\n The specified URLis an absolute URL that should be passed directly to the web browser.\n \n - docs : d (bool) [create,query]\n Use this flag to directly specify a help file relative to the on-line documentation root.\n \n - helpTable : ht (bool) [create,query]\n Use this flag to specify which file will be used to search for help topics when the -d/docs and -a/absolute flags are\n not used. If only a file name is specified and not a path, then the file is assumed to be in the maya application\n directory.If this flag does not accept an argument if it is queried.The default value is helpTable.\n \n - version : v (bool) [query]\n Use this flag to get the Maya version that the showHelp command uses. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.showHelp`\n '
pass | Invokes a web browser to open the on-line documentation and help files. It will open the help page for a given topic, or
open a browser to a specific URL. In query mode, return type is based on queried flag.
Flags:
- absolute : a (bool) [create]
The specified URLis an absolute URL that should be passed directly to the web browser.
- docs : d (bool) [create,query]
Use this flag to directly specify a help file relative to the on-line documentation root.
- helpTable : ht (bool) [create,query]
Use this flag to specify which file will be used to search for help topics when the -d/docs and -a/absolute flags are
not used. If only a file name is specified and not a path, then the file is assumed to be in the maya application
directory.If this flag does not accept an argument if it is queried.The default value is helpTable.
- version : v (bool) [query]
Use this flag to get the Maya version that the showHelp command uses. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.showHelp` | mayaSDK/pymel/core/system.py | showHelp | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def showHelp(*args, **kwargs):
'\n Invokes a web browser to open the on-line documentation and help files. It will open the help page for a given topic, or\n open a browser to a specific URL. In query mode, return type is based on queried flag.\n \n Flags:\n - absolute : a (bool) [create]\n The specified URLis an absolute URL that should be passed directly to the web browser.\n \n - docs : d (bool) [create,query]\n Use this flag to directly specify a help file relative to the on-line documentation root.\n \n - helpTable : ht (bool) [create,query]\n Use this flag to specify which file will be used to search for help topics when the -d/docs and -a/absolute flags are\n not used. If only a file name is specified and not a path, then the file is assumed to be in the maya application\n directory.If this flag does not accept an argument if it is queried.The default value is helpTable.\n \n - version : v (bool) [query]\n Use this flag to get the Maya version that the showHelp command uses. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.showHelp`\n '
pass | def showHelp(*args, **kwargs):
'\n Invokes a web browser to open the on-line documentation and help files. It will open the help page for a given topic, or\n open a browser to a specific URL. In query mode, return type is based on queried flag.\n \n Flags:\n - absolute : a (bool) [create]\n The specified URLis an absolute URL that should be passed directly to the web browser.\n \n - docs : d (bool) [create,query]\n Use this flag to directly specify a help file relative to the on-line documentation root.\n \n - helpTable : ht (bool) [create,query]\n Use this flag to specify which file will be used to search for help topics when the -d/docs and -a/absolute flags are\n not used. If only a file name is specified and not a path, then the file is assumed to be in the maya application\n directory.If this flag does not accept an argument if it is queried.The default value is helpTable.\n \n - version : v (bool) [query]\n Use this flag to get the Maya version that the showHelp command uses. Flag can have\n multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.showHelp`\n '
pass<|docstring|>Invokes a web browser to open the on-line documentation and help files. It will open the help page for a given topic, or
open a browser to a specific URL. In query mode, return type is based on queried flag.
Flags:
- absolute : a (bool) [create]
The specified URLis an absolute URL that should be passed directly to the web browser.
- docs : d (bool) [create,query]
Use this flag to directly specify a help file relative to the on-line documentation root.
- helpTable : ht (bool) [create,query]
Use this flag to specify which file will be used to search for help topics when the -d/docs and -a/absolute flags are
not used. If only a file name is specified and not a path, then the file is assumed to be in the maya application
directory.If this flag does not accept an argument if it is queried.The default value is helpTable.
- version : v (bool) [query]
Use this flag to get the Maya version that the showHelp command uses. Flag can have
multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.showHelp`<|endoftext|> |
438aedbd6238b6235c698849a45852457f915b39407f260f017609b88526f979 | def exportEdits(*args, **kwargs):
"\n Use this command to export edits made in the scene to a file. The exported file can be subsequently imported to another\n scene. Edits may include: nodes, connections and reference edits such as value changes. The nodes that are included in\n the exported file will be based on the options used. At least one option flag that describes the set of target nodes to\n include in the exported file must be specified (e.g. 'selected', 'onReferenceNode'). Use the inclusion flags\n ('includeAnimation', 'includeShaders', 'includeNetwork') to specify which additional related nodes will be added to the\n export list. In export mode, when the command completes successfully, the name of the exported file will be returned. In\n query mode, this command will return information about the contents of the exported file. The query mode will return the\n list of nodes that will be considered for inclusion in the exported file based on the specified flags.\n \n Flags:\n - editCommand : ec (unicode) [create,query]\n This is a secondary flag used to indicate which type of reference edits should be considered by the command. If this\n flag is not specified all edit types will be included. This flag requires a string parameter. Valid values are: addAttr,\n connectAttr, deleteAttr, disconnectAttr, parent, setAttr, lockand unlock. In some contexts, this flag may be specified\n more than once to specify multiple edit types to consider.\n \n - excludeHierarchy : ehr (bool) [create,query]\n By default, all DAG parents and DAG history are written to the export file. To prevent any DAG relations not otherwise\n connected to the target nodes to be included, specify the -excludeHierarchy flag.\n \n - excludeNode : en (unicode) [create,query]\n Prevent the node from being included in the list of nodes being exported. This flag is useful to exclude specific scene\n nodes that might otherwise be exported. In the case where more than one Maya node has the same name, the DAG path can be\n specified to uniquely identify the node.\n \n - exportSelected : exs (bool) [create,query]\n The selected nodes and their connections to each other will be exported. Additionally, any dangling connections to non-\n exported nodes will be exported. Default nodes are ignored and never exported. Note that when using the exportSelected\n flag, only selected nodes are exported, and -include/-exclude flags such as -includeHierarchy are ignored.\n \n - force : f (bool) [create,query]\n Force the export action to take place. This flag is required to overwrite an existing file.\n \n - includeAnimation : ian (bool) [create,query]\n Additionally include animation nodes and animation helper nodes associated with the target nodes being exported.\n \n - includeConstraints : ic (bool) [create,query]\n Additionally include constraint-related nodes associated with the target nodes being exported.\n \n - includeDeformers : idf (bool) [create,query]\n Additionally include deformer networks associated with the target nodes being exported.\n \n - includeNetwork : inw (bool) [create,query]\n Additionally include the network of nodes connected to the target nodes being exported.\n \n - includeNode : includeNode (unicode) [create,query]\n Additionally include the named node in the list of nodes being exported. In the case where more than one Maya node has\n the same name, the DAG path can be specified to uniquely identify the node.\n \n - includeSetAttrs : isa (bool) [create,query]\n When using the -selected/-sel flag, if any of the selected nodes are referenced, also include/exclude any setAttr edits\n on those nodes. If used with the -onReferenceNode/-orn flag, include/exclude any setAttr edits on the reference.\n \n - includeSetDrivenKeys : sdk (bool) [create,query]\n Additionally include setDrivenKey-related nodes associated with the target nodes being exported.\n \n - includeShaders : ish (bool) [create,query]\n Additionally include shaders associated with the target nodes being exported.\n \n - onReferenceNode : orn (unicode) [create,query]\n This is a secondary flag used to indicate that only those edits which are stored on the indicated reference node should\n be considered. This flag only supports multiple uses when specified with the exportEditscommand.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n - selected : sel (bool) [create,query]\n Export will operate on the list of nodes currently selected. This flag differs from the exportSelected flag in that the\n selected nodes are not exported, only the edits on them, and any nodes found via the include flags that are used (such\n as includeAnimation, includeNetwork and so on).\n \n - type : typ (unicode) [create,query]\n Set the type of the exported file. Valid values are editMAor editMB. Note that this command respects the global\n defaultExtensionssetting for file naming that is controlled with the file command defaultExtensions option. See the\n file command for more information.\n \n \n Derived from mel command `maya.cmds.exportEdits`\n "
pass | Use this command to export edits made in the scene to a file. The exported file can be subsequently imported to another
scene. Edits may include: nodes, connections and reference edits such as value changes. The nodes that are included in
the exported file will be based on the options used. At least one option flag that describes the set of target nodes to
include in the exported file must be specified (e.g. 'selected', 'onReferenceNode'). Use the inclusion flags
('includeAnimation', 'includeShaders', 'includeNetwork') to specify which additional related nodes will be added to the
export list. In export mode, when the command completes successfully, the name of the exported file will be returned. In
query mode, this command will return information about the contents of the exported file. The query mode will return the
list of nodes that will be considered for inclusion in the exported file based on the specified flags.
Flags:
- editCommand : ec (unicode) [create,query]
This is a secondary flag used to indicate which type of reference edits should be considered by the command. If this
flag is not specified all edit types will be included. This flag requires a string parameter. Valid values are: addAttr,
connectAttr, deleteAttr, disconnectAttr, parent, setAttr, lockand unlock. In some contexts, this flag may be specified
more than once to specify multiple edit types to consider.
- excludeHierarchy : ehr (bool) [create,query]
By default, all DAG parents and DAG history are written to the export file. To prevent any DAG relations not otherwise
connected to the target nodes to be included, specify the -excludeHierarchy flag.
- excludeNode : en (unicode) [create,query]
Prevent the node from being included in the list of nodes being exported. This flag is useful to exclude specific scene
nodes that might otherwise be exported. In the case where more than one Maya node has the same name, the DAG path can be
specified to uniquely identify the node.
- exportSelected : exs (bool) [create,query]
The selected nodes and their connections to each other will be exported. Additionally, any dangling connections to non-
exported nodes will be exported. Default nodes are ignored and never exported. Note that when using the exportSelected
flag, only selected nodes are exported, and -include/-exclude flags such as -includeHierarchy are ignored.
- force : f (bool) [create,query]
Force the export action to take place. This flag is required to overwrite an existing file.
- includeAnimation : ian (bool) [create,query]
Additionally include animation nodes and animation helper nodes associated with the target nodes being exported.
- includeConstraints : ic (bool) [create,query]
Additionally include constraint-related nodes associated with the target nodes being exported.
- includeDeformers : idf (bool) [create,query]
Additionally include deformer networks associated with the target nodes being exported.
- includeNetwork : inw (bool) [create,query]
Additionally include the network of nodes connected to the target nodes being exported.
- includeNode : includeNode (unicode) [create,query]
Additionally include the named node in the list of nodes being exported. In the case where more than one Maya node has
the same name, the DAG path can be specified to uniquely identify the node.
- includeSetAttrs : isa (bool) [create,query]
When using the -selected/-sel flag, if any of the selected nodes are referenced, also include/exclude any setAttr edits
on those nodes. If used with the -onReferenceNode/-orn flag, include/exclude any setAttr edits on the reference.
- includeSetDrivenKeys : sdk (bool) [create,query]
Additionally include setDrivenKey-related nodes associated with the target nodes being exported.
- includeShaders : ish (bool) [create,query]
Additionally include shaders associated with the target nodes being exported.
- onReferenceNode : orn (unicode) [create,query]
This is a secondary flag used to indicate that only those edits which are stored on the indicated reference node should
be considered. This flag only supports multiple uses when specified with the exportEditscommand.
Flag can have multiple arguments, passed either as a tuple or a list.
- selected : sel (bool) [create,query]
Export will operate on the list of nodes currently selected. This flag differs from the exportSelected flag in that the
selected nodes are not exported, only the edits on them, and any nodes found via the include flags that are used (such
as includeAnimation, includeNetwork and so on).
- type : typ (unicode) [create,query]
Set the type of the exported file. Valid values are editMAor editMB. Note that this command respects the global
defaultExtensionssetting for file naming that is controlled with the file command defaultExtensions option. See the
file command for more information.
Derived from mel command `maya.cmds.exportEdits` | mayaSDK/pymel/core/system.py | exportEdits | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportEdits(*args, **kwargs):
"\n Use this command to export edits made in the scene to a file. The exported file can be subsequently imported to another\n scene. Edits may include: nodes, connections and reference edits such as value changes. The nodes that are included in\n the exported file will be based on the options used. At least one option flag that describes the set of target nodes to\n include in the exported file must be specified (e.g. 'selected', 'onReferenceNode'). Use the inclusion flags\n ('includeAnimation', 'includeShaders', 'includeNetwork') to specify which additional related nodes will be added to the\n export list. In export mode, when the command completes successfully, the name of the exported file will be returned. In\n query mode, this command will return information about the contents of the exported file. The query mode will return the\n list of nodes that will be considered for inclusion in the exported file based on the specified flags.\n \n Flags:\n - editCommand : ec (unicode) [create,query]\n This is a secondary flag used to indicate which type of reference edits should be considered by the command. If this\n flag is not specified all edit types will be included. This flag requires a string parameter. Valid values are: addAttr,\n connectAttr, deleteAttr, disconnectAttr, parent, setAttr, lockand unlock. In some contexts, this flag may be specified\n more than once to specify multiple edit types to consider.\n \n - excludeHierarchy : ehr (bool) [create,query]\n By default, all DAG parents and DAG history are written to the export file. To prevent any DAG relations not otherwise\n connected to the target nodes to be included, specify the -excludeHierarchy flag.\n \n - excludeNode : en (unicode) [create,query]\n Prevent the node from being included in the list of nodes being exported. This flag is useful to exclude specific scene\n nodes that might otherwise be exported. In the case where more than one Maya node has the same name, the DAG path can be\n specified to uniquely identify the node.\n \n - exportSelected : exs (bool) [create,query]\n The selected nodes and their connections to each other will be exported. Additionally, any dangling connections to non-\n exported nodes will be exported. Default nodes are ignored and never exported. Note that when using the exportSelected\n flag, only selected nodes are exported, and -include/-exclude flags such as -includeHierarchy are ignored.\n \n - force : f (bool) [create,query]\n Force the export action to take place. This flag is required to overwrite an existing file.\n \n - includeAnimation : ian (bool) [create,query]\n Additionally include animation nodes and animation helper nodes associated with the target nodes being exported.\n \n - includeConstraints : ic (bool) [create,query]\n Additionally include constraint-related nodes associated with the target nodes being exported.\n \n - includeDeformers : idf (bool) [create,query]\n Additionally include deformer networks associated with the target nodes being exported.\n \n - includeNetwork : inw (bool) [create,query]\n Additionally include the network of nodes connected to the target nodes being exported.\n \n - includeNode : includeNode (unicode) [create,query]\n Additionally include the named node in the list of nodes being exported. In the case where more than one Maya node has\n the same name, the DAG path can be specified to uniquely identify the node.\n \n - includeSetAttrs : isa (bool) [create,query]\n When using the -selected/-sel flag, if any of the selected nodes are referenced, also include/exclude any setAttr edits\n on those nodes. If used with the -onReferenceNode/-orn flag, include/exclude any setAttr edits on the reference.\n \n - includeSetDrivenKeys : sdk (bool) [create,query]\n Additionally include setDrivenKey-related nodes associated with the target nodes being exported.\n \n - includeShaders : ish (bool) [create,query]\n Additionally include shaders associated with the target nodes being exported.\n \n - onReferenceNode : orn (unicode) [create,query]\n This is a secondary flag used to indicate that only those edits which are stored on the indicated reference node should\n be considered. This flag only supports multiple uses when specified with the exportEditscommand.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n - selected : sel (bool) [create,query]\n Export will operate on the list of nodes currently selected. This flag differs from the exportSelected flag in that the\n selected nodes are not exported, only the edits on them, and any nodes found via the include flags that are used (such\n as includeAnimation, includeNetwork and so on).\n \n - type : typ (unicode) [create,query]\n Set the type of the exported file. Valid values are editMAor editMB. Note that this command respects the global\n defaultExtensionssetting for file naming that is controlled with the file command defaultExtensions option. See the\n file command for more information.\n \n \n Derived from mel command `maya.cmds.exportEdits`\n "
pass | def exportEdits(*args, **kwargs):
"\n Use this command to export edits made in the scene to a file. The exported file can be subsequently imported to another\n scene. Edits may include: nodes, connections and reference edits such as value changes. The nodes that are included in\n the exported file will be based on the options used. At least one option flag that describes the set of target nodes to\n include in the exported file must be specified (e.g. 'selected', 'onReferenceNode'). Use the inclusion flags\n ('includeAnimation', 'includeShaders', 'includeNetwork') to specify which additional related nodes will be added to the\n export list. In export mode, when the command completes successfully, the name of the exported file will be returned. In\n query mode, this command will return information about the contents of the exported file. The query mode will return the\n list of nodes that will be considered for inclusion in the exported file based on the specified flags.\n \n Flags:\n - editCommand : ec (unicode) [create,query]\n This is a secondary flag used to indicate which type of reference edits should be considered by the command. If this\n flag is not specified all edit types will be included. This flag requires a string parameter. Valid values are: addAttr,\n connectAttr, deleteAttr, disconnectAttr, parent, setAttr, lockand unlock. In some contexts, this flag may be specified\n more than once to specify multiple edit types to consider.\n \n - excludeHierarchy : ehr (bool) [create,query]\n By default, all DAG parents and DAG history are written to the export file. To prevent any DAG relations not otherwise\n connected to the target nodes to be included, specify the -excludeHierarchy flag.\n \n - excludeNode : en (unicode) [create,query]\n Prevent the node from being included in the list of nodes being exported. This flag is useful to exclude specific scene\n nodes that might otherwise be exported. In the case where more than one Maya node has the same name, the DAG path can be\n specified to uniquely identify the node.\n \n - exportSelected : exs (bool) [create,query]\n The selected nodes and their connections to each other will be exported. Additionally, any dangling connections to non-\n exported nodes will be exported. Default nodes are ignored and never exported. Note that when using the exportSelected\n flag, only selected nodes are exported, and -include/-exclude flags such as -includeHierarchy are ignored.\n \n - force : f (bool) [create,query]\n Force the export action to take place. This flag is required to overwrite an existing file.\n \n - includeAnimation : ian (bool) [create,query]\n Additionally include animation nodes and animation helper nodes associated with the target nodes being exported.\n \n - includeConstraints : ic (bool) [create,query]\n Additionally include constraint-related nodes associated with the target nodes being exported.\n \n - includeDeformers : idf (bool) [create,query]\n Additionally include deformer networks associated with the target nodes being exported.\n \n - includeNetwork : inw (bool) [create,query]\n Additionally include the network of nodes connected to the target nodes being exported.\n \n - includeNode : includeNode (unicode) [create,query]\n Additionally include the named node in the list of nodes being exported. In the case where more than one Maya node has\n the same name, the DAG path can be specified to uniquely identify the node.\n \n - includeSetAttrs : isa (bool) [create,query]\n When using the -selected/-sel flag, if any of the selected nodes are referenced, also include/exclude any setAttr edits\n on those nodes. If used with the -onReferenceNode/-orn flag, include/exclude any setAttr edits on the reference.\n \n - includeSetDrivenKeys : sdk (bool) [create,query]\n Additionally include setDrivenKey-related nodes associated with the target nodes being exported.\n \n - includeShaders : ish (bool) [create,query]\n Additionally include shaders associated with the target nodes being exported.\n \n - onReferenceNode : orn (unicode) [create,query]\n This is a secondary flag used to indicate that only those edits which are stored on the indicated reference node should\n be considered. This flag only supports multiple uses when specified with the exportEditscommand.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n - selected : sel (bool) [create,query]\n Export will operate on the list of nodes currently selected. This flag differs from the exportSelected flag in that the\n selected nodes are not exported, only the edits on them, and any nodes found via the include flags that are used (such\n as includeAnimation, includeNetwork and so on).\n \n - type : typ (unicode) [create,query]\n Set the type of the exported file. Valid values are editMAor editMB. Note that this command respects the global\n defaultExtensionssetting for file naming that is controlled with the file command defaultExtensions option. See the\n file command for more information.\n \n \n Derived from mel command `maya.cmds.exportEdits`\n "
pass<|docstring|>Use this command to export edits made in the scene to a file. The exported file can be subsequently imported to another
scene. Edits may include: nodes, connections and reference edits such as value changes. The nodes that are included in
the exported file will be based on the options used. At least one option flag that describes the set of target nodes to
include in the exported file must be specified (e.g. 'selected', 'onReferenceNode'). Use the inclusion flags
('includeAnimation', 'includeShaders', 'includeNetwork') to specify which additional related nodes will be added to the
export list. In export mode, when the command completes successfully, the name of the exported file will be returned. In
query mode, this command will return information about the contents of the exported file. The query mode will return the
list of nodes that will be considered for inclusion in the exported file based on the specified flags.
Flags:
- editCommand : ec (unicode) [create,query]
This is a secondary flag used to indicate which type of reference edits should be considered by the command. If this
flag is not specified all edit types will be included. This flag requires a string parameter. Valid values are: addAttr,
connectAttr, deleteAttr, disconnectAttr, parent, setAttr, lockand unlock. In some contexts, this flag may be specified
more than once to specify multiple edit types to consider.
- excludeHierarchy : ehr (bool) [create,query]
By default, all DAG parents and DAG history are written to the export file. To prevent any DAG relations not otherwise
connected to the target nodes to be included, specify the -excludeHierarchy flag.
- excludeNode : en (unicode) [create,query]
Prevent the node from being included in the list of nodes being exported. This flag is useful to exclude specific scene
nodes that might otherwise be exported. In the case where more than one Maya node has the same name, the DAG path can be
specified to uniquely identify the node.
- exportSelected : exs (bool) [create,query]
The selected nodes and their connections to each other will be exported. Additionally, any dangling connections to non-
exported nodes will be exported. Default nodes are ignored and never exported. Note that when using the exportSelected
flag, only selected nodes are exported, and -include/-exclude flags such as -includeHierarchy are ignored.
- force : f (bool) [create,query]
Force the export action to take place. This flag is required to overwrite an existing file.
- includeAnimation : ian (bool) [create,query]
Additionally include animation nodes and animation helper nodes associated with the target nodes being exported.
- includeConstraints : ic (bool) [create,query]
Additionally include constraint-related nodes associated with the target nodes being exported.
- includeDeformers : idf (bool) [create,query]
Additionally include deformer networks associated with the target nodes being exported.
- includeNetwork : inw (bool) [create,query]
Additionally include the network of nodes connected to the target nodes being exported.
- includeNode : includeNode (unicode) [create,query]
Additionally include the named node in the list of nodes being exported. In the case where more than one Maya node has
the same name, the DAG path can be specified to uniquely identify the node.
- includeSetAttrs : isa (bool) [create,query]
When using the -selected/-sel flag, if any of the selected nodes are referenced, also include/exclude any setAttr edits
on those nodes. If used with the -onReferenceNode/-orn flag, include/exclude any setAttr edits on the reference.
- includeSetDrivenKeys : sdk (bool) [create,query]
Additionally include setDrivenKey-related nodes associated with the target nodes being exported.
- includeShaders : ish (bool) [create,query]
Additionally include shaders associated with the target nodes being exported.
- onReferenceNode : orn (unicode) [create,query]
This is a secondary flag used to indicate that only those edits which are stored on the indicated reference node should
be considered. This flag only supports multiple uses when specified with the exportEditscommand.
Flag can have multiple arguments, passed either as a tuple or a list.
- selected : sel (bool) [create,query]
Export will operate on the list of nodes currently selected. This flag differs from the exportSelected flag in that the
selected nodes are not exported, only the edits on them, and any nodes found via the include flags that are used (such
as includeAnimation, includeNetwork and so on).
- type : typ (unicode) [create,query]
Set the type of the exported file. Valid values are editMAor editMB. Note that this command respects the global
defaultExtensionssetting for file naming that is controlled with the file command defaultExtensions option. See the
file command for more information.
Derived from mel command `maya.cmds.exportEdits`<|endoftext|> |
182dc79d2d7c0f5e83139dcece9cda2b6dddbf6690652f222ef66c1f6097272a | def imfPlugins(*args, **kwargs):
'\n This command queries all the available imf plugins for its name, keyword or image file extension. Only one of the\n attributes (name, keyword or extension) can be queried at a time. If no flags are specified, this command returns a list\n of all available plugin names.\n \n Flags:\n - extension : ext (unicode) [create,query]\n image file extension\n \n - keyword : key (unicode) [create,query]\n imf keyword\n \n - multiFrameSupport : mfs (unicode) [create,query]\n multi frame IO is supported\n \n - pluginName : pn (unicode) [create,query]\n imf plugin name\n \n - readSupport : rs (unicode) [create,query]\n read operation is supported\n \n - writeSupport : ws (unicode) [create,query]\n write operation is supported Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.imfPlugins`\n '
pass | This command queries all the available imf plugins for its name, keyword or image file extension. Only one of the
attributes (name, keyword or extension) can be queried at a time. If no flags are specified, this command returns a list
of all available plugin names.
Flags:
- extension : ext (unicode) [create,query]
image file extension
- keyword : key (unicode) [create,query]
imf keyword
- multiFrameSupport : mfs (unicode) [create,query]
multi frame IO is supported
- pluginName : pn (unicode) [create,query]
imf plugin name
- readSupport : rs (unicode) [create,query]
read operation is supported
- writeSupport : ws (unicode) [create,query]
write operation is supported Flag can have multiple arguments, passed either as a tuple or
a list.
Derived from mel command `maya.cmds.imfPlugins` | mayaSDK/pymel/core/system.py | imfPlugins | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def imfPlugins(*args, **kwargs):
'\n This command queries all the available imf plugins for its name, keyword or image file extension. Only one of the\n attributes (name, keyword or extension) can be queried at a time. If no flags are specified, this command returns a list\n of all available plugin names.\n \n Flags:\n - extension : ext (unicode) [create,query]\n image file extension\n \n - keyword : key (unicode) [create,query]\n imf keyword\n \n - multiFrameSupport : mfs (unicode) [create,query]\n multi frame IO is supported\n \n - pluginName : pn (unicode) [create,query]\n imf plugin name\n \n - readSupport : rs (unicode) [create,query]\n read operation is supported\n \n - writeSupport : ws (unicode) [create,query]\n write operation is supported Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.imfPlugins`\n '
pass | def imfPlugins(*args, **kwargs):
'\n This command queries all the available imf plugins for its name, keyword or image file extension. Only one of the\n attributes (name, keyword or extension) can be queried at a time. If no flags are specified, this command returns a list\n of all available plugin names.\n \n Flags:\n - extension : ext (unicode) [create,query]\n image file extension\n \n - keyword : key (unicode) [create,query]\n imf keyword\n \n - multiFrameSupport : mfs (unicode) [create,query]\n multi frame IO is supported\n \n - pluginName : pn (unicode) [create,query]\n imf plugin name\n \n - readSupport : rs (unicode) [create,query]\n read operation is supported\n \n - writeSupport : ws (unicode) [create,query]\n write operation is supported Flag can have multiple arguments, passed either as a tuple or\n a list.\n \n \n Derived from mel command `maya.cmds.imfPlugins`\n '
pass<|docstring|>This command queries all the available imf plugins for its name, keyword or image file extension. Only one of the
attributes (name, keyword or extension) can be queried at a time. If no flags are specified, this command returns a list
of all available plugin names.
Flags:
- extension : ext (unicode) [create,query]
image file extension
- keyword : key (unicode) [create,query]
imf keyword
- multiFrameSupport : mfs (unicode) [create,query]
multi frame IO is supported
- pluginName : pn (unicode) [create,query]
imf plugin name
- readSupport : rs (unicode) [create,query]
read operation is supported
- writeSupport : ws (unicode) [create,query]
write operation is supported Flag can have multiple arguments, passed either as a tuple or
a list.
Derived from mel command `maya.cmds.imfPlugins`<|endoftext|> |
f55338b05a269488bcbc14fbb4794c131fec2f87c2aa7252efcb9721df1c8629 | def feof(fileid):
"\n Reproduces the behavior of the mel command of the same name. if writing pymel scripts from scratch,\n you should use a more pythonic construct for looping through files:\n \n >>> f = open('myfile.txt') # doctest: +SKIP\n ... for line in f:\n ... print line\n \n This command is provided for python scripts generated by mel2py\n "
pass | Reproduces the behavior of the mel command of the same name. if writing pymel scripts from scratch,
you should use a more pythonic construct for looping through files:
>>> f = open('myfile.txt') # doctest: +SKIP
... for line in f:
... print line
This command is provided for python scripts generated by mel2py | mayaSDK/pymel/core/system.py | feof | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def feof(fileid):
"\n Reproduces the behavior of the mel command of the same name. if writing pymel scripts from scratch,\n you should use a more pythonic construct for looping through files:\n \n >>> f = open('myfile.txt') # doctest: +SKIP\n ... for line in f:\n ... print line\n \n This command is provided for python scripts generated by mel2py\n "
pass | def feof(fileid):
"\n Reproduces the behavior of the mel command of the same name. if writing pymel scripts from scratch,\n you should use a more pythonic construct for looping through files:\n \n >>> f = open('myfile.txt') # doctest: +SKIP\n ... for line in f:\n ... print line\n \n This command is provided for python scripts generated by mel2py\n "
pass<|docstring|>Reproduces the behavior of the mel command of the same name. if writing pymel scripts from scratch,
you should use a more pythonic construct for looping through files:
>>> f = open('myfile.txt') # doctest: +SKIP
... for line in f:
... print line
This command is provided for python scripts generated by mel2py<|endoftext|> |
3c2aa4485e316f9246c79c2352563552ab8e524cbf683a7d281d492ac98ec772 | def dynamicLoad(*args, **kwargs):
'\n Dynamically load the DLL passed as argument. In query mode, return type is based on queried flag.\n \n \n Derived from mel command `maya.cmds.dynamicLoad`\n '
pass | Dynamically load the DLL passed as argument. In query mode, return type is based on queried flag.
Derived from mel command `maya.cmds.dynamicLoad` | mayaSDK/pymel/core/system.py | dynamicLoad | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dynamicLoad(*args, **kwargs):
'\n Dynamically load the DLL passed as argument. In query mode, return type is based on queried flag.\n \n \n Derived from mel command `maya.cmds.dynamicLoad`\n '
pass | def dynamicLoad(*args, **kwargs):
'\n Dynamically load the DLL passed as argument. In query mode, return type is based on queried flag.\n \n \n Derived from mel command `maya.cmds.dynamicLoad`\n '
pass<|docstring|>Dynamically load the DLL passed as argument. In query mode, return type is based on queried flag.
Derived from mel command `maya.cmds.dynamicLoad`<|endoftext|> |
0fa822bd2dbc6cc9c5fbaac0a258b11c5e5835fbbc1b1610e50a75694e5fcf4d | def ogs(*args, **kwargs):
"\n OGS is one of the viewport renderers. As there is a lot of effort involved in migrating functionality it will evolve\n over several releases. As it evolves it is prudent to provide safeguards to get the database back to a known state. That\n is the function of this command, similar to how 'dgdirty' is used to restore state to the dependency graph.\n \n Flags:\n - deviceInformation : di (bool) [create]\n If used then output the current device information.\n \n - disposeReleasableTextures : drt (bool) [create]\n Clear up all the releasable file textures that are not required for rendering.\n \n - dumpTexture : dt (unicode) [create]\n If used then dump texture memory usage info (in MB), must be used with FLAG gpuMemoryUsed. The final info detail is\n specified by the string parameter. Current available values are: full, total.\n \n - enableHardwareInstancing : hwi (bool) [create]\n Enables/disables new gpu instancing of instanceable render items in OGS.\n \n - fragmentEditor : fe (unicode) [create]\n If used then launch the fragment editor UI.\n \n - fragmentXML : xml (unicode) [create]\n Get the fragment XML associated with a shading node.\n \n - gpuMemoryUsed : gpu (bool) [create]\n If used then output the estimated amount of GPU memory in use (in MB).\n \n - pause : p (bool) [create,query]\n Toggle pausing VP2 display update\n \n - rebakeTextures : rbt (bool) [create]\n If used then re-bake all baked textures for OGS.\n \n - regenerateUVTilePreview : rup (unicode) [create]\n If used then regenerate all UV tiles preview textures for OGS.\n \n - reloadTextures : rlt (bool) [create]\n If used then reload all textures for OGS.\n \n - reset : r (bool) [create,query]\n If used then reset the entire OGS database for all viewports using it. In query mode the number of viewports that would\n be affected is returned but the reset is not actually done. If no viewport is using OGS then OGS will stop listening to\n DG changes.\n \n - shaderSource : ss (unicode) [query]\n Get the shader source for the specified material.\n \n - toggleTexturePaging : ttp (bool) [create]\n If used then toggle the default OGS Texture paging mechanism.\n \n - traceRenderPipeline : trp (bool) [create]\n Enable debug tracing of the renderer pipeline. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.ogs`\n "
pass | OGS is one of the viewport renderers. As there is a lot of effort involved in migrating functionality it will evolve
over several releases. As it evolves it is prudent to provide safeguards to get the database back to a known state. That
is the function of this command, similar to how 'dgdirty' is used to restore state to the dependency graph.
Flags:
- deviceInformation : di (bool) [create]
If used then output the current device information.
- disposeReleasableTextures : drt (bool) [create]
Clear up all the releasable file textures that are not required for rendering.
- dumpTexture : dt (unicode) [create]
If used then dump texture memory usage info (in MB), must be used with FLAG gpuMemoryUsed. The final info detail is
specified by the string parameter. Current available values are: full, total.
- enableHardwareInstancing : hwi (bool) [create]
Enables/disables new gpu instancing of instanceable render items in OGS.
- fragmentEditor : fe (unicode) [create]
If used then launch the fragment editor UI.
- fragmentXML : xml (unicode) [create]
Get the fragment XML associated with a shading node.
- gpuMemoryUsed : gpu (bool) [create]
If used then output the estimated amount of GPU memory in use (in MB).
- pause : p (bool) [create,query]
Toggle pausing VP2 display update
- rebakeTextures : rbt (bool) [create]
If used then re-bake all baked textures for OGS.
- regenerateUVTilePreview : rup (unicode) [create]
If used then regenerate all UV tiles preview textures for OGS.
- reloadTextures : rlt (bool) [create]
If used then reload all textures for OGS.
- reset : r (bool) [create,query]
If used then reset the entire OGS database for all viewports using it. In query mode the number of viewports that would
be affected is returned but the reset is not actually done. If no viewport is using OGS then OGS will stop listening to
DG changes.
- shaderSource : ss (unicode) [query]
Get the shader source for the specified material.
- toggleTexturePaging : ttp (bool) [create]
If used then toggle the default OGS Texture paging mechanism.
- traceRenderPipeline : trp (bool) [create]
Enable debug tracing of the renderer pipeline. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.ogs` | mayaSDK/pymel/core/system.py | ogs | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def ogs(*args, **kwargs):
"\n OGS is one of the viewport renderers. As there is a lot of effort involved in migrating functionality it will evolve\n over several releases. As it evolves it is prudent to provide safeguards to get the database back to a known state. That\n is the function of this command, similar to how 'dgdirty' is used to restore state to the dependency graph.\n \n Flags:\n - deviceInformation : di (bool) [create]\n If used then output the current device information.\n \n - disposeReleasableTextures : drt (bool) [create]\n Clear up all the releasable file textures that are not required for rendering.\n \n - dumpTexture : dt (unicode) [create]\n If used then dump texture memory usage info (in MB), must be used with FLAG gpuMemoryUsed. The final info detail is\n specified by the string parameter. Current available values are: full, total.\n \n - enableHardwareInstancing : hwi (bool) [create]\n Enables/disables new gpu instancing of instanceable render items in OGS.\n \n - fragmentEditor : fe (unicode) [create]\n If used then launch the fragment editor UI.\n \n - fragmentXML : xml (unicode) [create]\n Get the fragment XML associated with a shading node.\n \n - gpuMemoryUsed : gpu (bool) [create]\n If used then output the estimated amount of GPU memory in use (in MB).\n \n - pause : p (bool) [create,query]\n Toggle pausing VP2 display update\n \n - rebakeTextures : rbt (bool) [create]\n If used then re-bake all baked textures for OGS.\n \n - regenerateUVTilePreview : rup (unicode) [create]\n If used then regenerate all UV tiles preview textures for OGS.\n \n - reloadTextures : rlt (bool) [create]\n If used then reload all textures for OGS.\n \n - reset : r (bool) [create,query]\n If used then reset the entire OGS database for all viewports using it. In query mode the number of viewports that would\n be affected is returned but the reset is not actually done. If no viewport is using OGS then OGS will stop listening to\n DG changes.\n \n - shaderSource : ss (unicode) [query]\n Get the shader source for the specified material.\n \n - toggleTexturePaging : ttp (bool) [create]\n If used then toggle the default OGS Texture paging mechanism.\n \n - traceRenderPipeline : trp (bool) [create]\n Enable debug tracing of the renderer pipeline. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.ogs`\n "
pass | def ogs(*args, **kwargs):
"\n OGS is one of the viewport renderers. As there is a lot of effort involved in migrating functionality it will evolve\n over several releases. As it evolves it is prudent to provide safeguards to get the database back to a known state. That\n is the function of this command, similar to how 'dgdirty' is used to restore state to the dependency graph.\n \n Flags:\n - deviceInformation : di (bool) [create]\n If used then output the current device information.\n \n - disposeReleasableTextures : drt (bool) [create]\n Clear up all the releasable file textures that are not required for rendering.\n \n - dumpTexture : dt (unicode) [create]\n If used then dump texture memory usage info (in MB), must be used with FLAG gpuMemoryUsed. The final info detail is\n specified by the string parameter. Current available values are: full, total.\n \n - enableHardwareInstancing : hwi (bool) [create]\n Enables/disables new gpu instancing of instanceable render items in OGS.\n \n - fragmentEditor : fe (unicode) [create]\n If used then launch the fragment editor UI.\n \n - fragmentXML : xml (unicode) [create]\n Get the fragment XML associated with a shading node.\n \n - gpuMemoryUsed : gpu (bool) [create]\n If used then output the estimated amount of GPU memory in use (in MB).\n \n - pause : p (bool) [create,query]\n Toggle pausing VP2 display update\n \n - rebakeTextures : rbt (bool) [create]\n If used then re-bake all baked textures for OGS.\n \n - regenerateUVTilePreview : rup (unicode) [create]\n If used then regenerate all UV tiles preview textures for OGS.\n \n - reloadTextures : rlt (bool) [create]\n If used then reload all textures for OGS.\n \n - reset : r (bool) [create,query]\n If used then reset the entire OGS database for all viewports using it. In query mode the number of viewports that would\n be affected is returned but the reset is not actually done. If no viewport is using OGS then OGS will stop listening to\n DG changes.\n \n - shaderSource : ss (unicode) [query]\n Get the shader source for the specified material.\n \n - toggleTexturePaging : ttp (bool) [create]\n If used then toggle the default OGS Texture paging mechanism.\n \n - traceRenderPipeline : trp (bool) [create]\n Enable debug tracing of the renderer pipeline. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.ogs`\n "
pass<|docstring|>OGS is one of the viewport renderers. As there is a lot of effort involved in migrating functionality it will evolve
over several releases. As it evolves it is prudent to provide safeguards to get the database back to a known state. That
is the function of this command, similar to how 'dgdirty' is used to restore state to the dependency graph.
Flags:
- deviceInformation : di (bool) [create]
If used then output the current device information.
- disposeReleasableTextures : drt (bool) [create]
Clear up all the releasable file textures that are not required for rendering.
- dumpTexture : dt (unicode) [create]
If used then dump texture memory usage info (in MB), must be used with FLAG gpuMemoryUsed. The final info detail is
specified by the string parameter. Current available values are: full, total.
- enableHardwareInstancing : hwi (bool) [create]
Enables/disables new gpu instancing of instanceable render items in OGS.
- fragmentEditor : fe (unicode) [create]
If used then launch the fragment editor UI.
- fragmentXML : xml (unicode) [create]
Get the fragment XML associated with a shading node.
- gpuMemoryUsed : gpu (bool) [create]
If used then output the estimated amount of GPU memory in use (in MB).
- pause : p (bool) [create,query]
Toggle pausing VP2 display update
- rebakeTextures : rbt (bool) [create]
If used then re-bake all baked textures for OGS.
- regenerateUVTilePreview : rup (unicode) [create]
If used then regenerate all UV tiles preview textures for OGS.
- reloadTextures : rlt (bool) [create]
If used then reload all textures for OGS.
- reset : r (bool) [create,query]
If used then reset the entire OGS database for all viewports using it. In query mode the number of viewports that would
be affected is returned but the reset is not actually done. If no viewport is using OGS then OGS will stop listening to
DG changes.
- shaderSource : ss (unicode) [query]
Get the shader source for the specified material.
- toggleTexturePaging : ttp (bool) [create]
If used then toggle the default OGS Texture paging mechanism.
- traceRenderPipeline : trp (bool) [create]
Enable debug tracing of the renderer pipeline. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.ogs`<|endoftext|> |
a123dcb33ec7e97e8d1cd58b30eedcfa88576907e913431a20d9f8b06d55ac5c | def dgmodified(*args, **kwargs):
'\n The dgmodifiedcommand is used to find out which nodes in the dependency graph have been modified. This is\n mostly useful for fixing instances where file new asks you to save when no changes have been made to\n the scene.\n \n \n Derived from mel command `maya.cmds.dgmodified`\n '
pass | The dgmodifiedcommand is used to find out which nodes in the dependency graph have been modified. This is
mostly useful for fixing instances where file new asks you to save when no changes have been made to
the scene.
Derived from mel command `maya.cmds.dgmodified` | mayaSDK/pymel/core/system.py | dgmodified | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgmodified(*args, **kwargs):
'\n The dgmodifiedcommand is used to find out which nodes in the dependency graph have been modified. This is\n mostly useful for fixing instances where file new asks you to save when no changes have been made to\n the scene.\n \n \n Derived from mel command `maya.cmds.dgmodified`\n '
pass | def dgmodified(*args, **kwargs):
'\n The dgmodifiedcommand is used to find out which nodes in the dependency graph have been modified. This is\n mostly useful for fixing instances where file new asks you to save when no changes have been made to\n the scene.\n \n \n Derived from mel command `maya.cmds.dgmodified`\n '
pass<|docstring|>The dgmodifiedcommand is used to find out which nodes in the dependency graph have been modified. This is
mostly useful for fixing instances where file new asks you to save when no changes have been made to
the scene.
Derived from mel command `maya.cmds.dgmodified`<|endoftext|> |
d30db97d0fda92130c73f203e6ae57e5cf10138b286f381a766c8c8590a7f54f | def loadModule(*args, **kwargs):
"\n Maya plug-ins may be installed individually within one of Maya's standard plug-in directories, or they may be packaged\n up with other resources in a module. Each module resides in its own directory and provides a module definition file to\n make Maya aware of the plug-ins it provides. When Maya starts up it loads all of the module files it finds, making the\n module's plug-ins, scripts and other resources available for use. Note that the plug-ins themselves are not loaded at\n this time, Maya is simply made aware of them so that they can be loaded if needed. The loadModule command provides the\n ability to list and load any new modules which have been added since Maya started up, thereby avoiding the need to\n restart Maya before being able to use them.\n \n Flags:\n - allModules : a (bool) [create]\n Load all new modules not yet loaded in Maya. New modules are the one returned by the -scan option.\n \n - load : ld (unicode) [create]\n Load the module specified by the module definition file.\n \n - scan : sc (bool) [create]\n Rescan module presence. Returns the list of module definition files found and not yet loaded into Maya. Does not load\n any of these newly found modules, nor change the Maya state. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.loadModule`\n "
pass | Maya plug-ins may be installed individually within one of Maya's standard plug-in directories, or they may be packaged
up with other resources in a module. Each module resides in its own directory and provides a module definition file to
make Maya aware of the plug-ins it provides. When Maya starts up it loads all of the module files it finds, making the
module's plug-ins, scripts and other resources available for use. Note that the plug-ins themselves are not loaded at
this time, Maya is simply made aware of them so that they can be loaded if needed. The loadModule command provides the
ability to list and load any new modules which have been added since Maya started up, thereby avoiding the need to
restart Maya before being able to use them.
Flags:
- allModules : a (bool) [create]
Load all new modules not yet loaded in Maya. New modules are the one returned by the -scan option.
- load : ld (unicode) [create]
Load the module specified by the module definition file.
- scan : sc (bool) [create]
Rescan module presence. Returns the list of module definition files found and not yet loaded into Maya. Does not load
any of these newly found modules, nor change the Maya state. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.loadModule` | mayaSDK/pymel/core/system.py | loadModule | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def loadModule(*args, **kwargs):
"\n Maya plug-ins may be installed individually within one of Maya's standard plug-in directories, or they may be packaged\n up with other resources in a module. Each module resides in its own directory and provides a module definition file to\n make Maya aware of the plug-ins it provides. When Maya starts up it loads all of the module files it finds, making the\n module's plug-ins, scripts and other resources available for use. Note that the plug-ins themselves are not loaded at\n this time, Maya is simply made aware of them so that they can be loaded if needed. The loadModule command provides the\n ability to list and load any new modules which have been added since Maya started up, thereby avoiding the need to\n restart Maya before being able to use them.\n \n Flags:\n - allModules : a (bool) [create]\n Load all new modules not yet loaded in Maya. New modules are the one returned by the -scan option.\n \n - load : ld (unicode) [create]\n Load the module specified by the module definition file.\n \n - scan : sc (bool) [create]\n Rescan module presence. Returns the list of module definition files found and not yet loaded into Maya. Does not load\n any of these newly found modules, nor change the Maya state. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.loadModule`\n "
pass | def loadModule(*args, **kwargs):
"\n Maya plug-ins may be installed individually within one of Maya's standard plug-in directories, or they may be packaged\n up with other resources in a module. Each module resides in its own directory and provides a module definition file to\n make Maya aware of the plug-ins it provides. When Maya starts up it loads all of the module files it finds, making the\n module's plug-ins, scripts and other resources available for use. Note that the plug-ins themselves are not loaded at\n this time, Maya is simply made aware of them so that they can be loaded if needed. The loadModule command provides the\n ability to list and load any new modules which have been added since Maya started up, thereby avoiding the need to\n restart Maya before being able to use them.\n \n Flags:\n - allModules : a (bool) [create]\n Load all new modules not yet loaded in Maya. New modules are the one returned by the -scan option.\n \n - load : ld (unicode) [create]\n Load the module specified by the module definition file.\n \n - scan : sc (bool) [create]\n Rescan module presence. Returns the list of module definition files found and not yet loaded into Maya. Does not load\n any of these newly found modules, nor change the Maya state. Flag can have multiple\n arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.loadModule`\n "
pass<|docstring|>Maya plug-ins may be installed individually within one of Maya's standard plug-in directories, or they may be packaged
up with other resources in a module. Each module resides in its own directory and provides a module definition file to
make Maya aware of the plug-ins it provides. When Maya starts up it loads all of the module files it finds, making the
module's plug-ins, scripts and other resources available for use. Note that the plug-ins themselves are not loaded at
this time, Maya is simply made aware of them so that they can be loaded if needed. The loadModule command provides the
ability to list and load any new modules which have been added since Maya started up, thereby avoiding the need to
restart Maya before being able to use them.
Flags:
- allModules : a (bool) [create]
Load all new modules not yet loaded in Maya. New modules are the one returned by the -scan option.
- load : ld (unicode) [create]
Load the module specified by the module definition file.
- scan : sc (bool) [create]
Rescan module presence. Returns the list of module definition files found and not yet loaded into Maya. Does not load
any of these newly found modules, nor change the Maya state. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.loadModule`<|endoftext|> |
6a04989f89710d1d1ec6bf845e5014f8b1a0e23ecc3f4565f80fd5ce0039694f | def hardware(*args, **kwargs):
'\n Return description of the hardware available in the machine.\n \n Flags:\n - brdType : brd (bool) [create]\n Returns IP number identifying the CPU motherboard\n \n - cpuType : cpu (bool) [create]\n Returns type of CPU\n \n - graphicsType : gfx (bool) [create]\n Returns string identifying graphics hardware type\n \n - megaHertz : mhz (bool) [create]\n Returns string identifying the speed of the CPU chip\n \n - numProcessors : npr (bool) [create]\n Returns string identifying the number of processors Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.hardware`\n '
pass | Return description of the hardware available in the machine.
Flags:
- brdType : brd (bool) [create]
Returns IP number identifying the CPU motherboard
- cpuType : cpu (bool) [create]
Returns type of CPU
- graphicsType : gfx (bool) [create]
Returns string identifying graphics hardware type
- megaHertz : mhz (bool) [create]
Returns string identifying the speed of the CPU chip
- numProcessors : npr (bool) [create]
Returns string identifying the number of processors Flag can have multiple arguments, passed either as
a tuple or a list.
Derived from mel command `maya.cmds.hardware` | mayaSDK/pymel/core/system.py | hardware | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def hardware(*args, **kwargs):
'\n Return description of the hardware available in the machine.\n \n Flags:\n - brdType : brd (bool) [create]\n Returns IP number identifying the CPU motherboard\n \n - cpuType : cpu (bool) [create]\n Returns type of CPU\n \n - graphicsType : gfx (bool) [create]\n Returns string identifying graphics hardware type\n \n - megaHertz : mhz (bool) [create]\n Returns string identifying the speed of the CPU chip\n \n - numProcessors : npr (bool) [create]\n Returns string identifying the number of processors Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.hardware`\n '
pass | def hardware(*args, **kwargs):
'\n Return description of the hardware available in the machine.\n \n Flags:\n - brdType : brd (bool) [create]\n Returns IP number identifying the CPU motherboard\n \n - cpuType : cpu (bool) [create]\n Returns type of CPU\n \n - graphicsType : gfx (bool) [create]\n Returns string identifying graphics hardware type\n \n - megaHertz : mhz (bool) [create]\n Returns string identifying the speed of the CPU chip\n \n - numProcessors : npr (bool) [create]\n Returns string identifying the number of processors Flag can have multiple arguments, passed either as\n a tuple or a list.\n \n \n Derived from mel command `maya.cmds.hardware`\n '
pass<|docstring|>Return description of the hardware available in the machine.
Flags:
- brdType : brd (bool) [create]
Returns IP number identifying the CPU motherboard
- cpuType : cpu (bool) [create]
Returns type of CPU
- graphicsType : gfx (bool) [create]
Returns string identifying graphics hardware type
- megaHertz : mhz (bool) [create]
Returns string identifying the speed of the CPU chip
- numProcessors : npr (bool) [create]
Returns string identifying the number of processors Flag can have multiple arguments, passed either as
a tuple or a list.
Derived from mel command `maya.cmds.hardware`<|endoftext|> |
4fb969f118b4578748ccc2484be3a8cf88d4c75a71f6ba22c362dcf3653d2b43 | def _getTypeFromExtension(path, mode="'write'"):
'\n Parameters\n ----------\n path : str\n path from with to pull the extension from - note that it may NOT be\n ONLY the extension - ie, "obj" and ".obj", will not work, but\n "foo.obj" will\n mode : {\'write\', \'read\'}\n the type is basically a string name of a file translator, which can\n have different ones registered for reading or writing; this specifies\n whether you\'re looking for the read or write translator\n '
pass | Parameters
----------
path : str
path from with to pull the extension from - note that it may NOT be
ONLY the extension - ie, "obj" and ".obj", will not work, but
"foo.obj" will
mode : {'write', 'read'}
the type is basically a string name of a file translator, which can
have different ones registered for reading or writing; this specifies
whether you're looking for the read or write translator | mayaSDK/pymel/core/system.py | _getTypeFromExtension | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def _getTypeFromExtension(path, mode="'write'"):
'\n Parameters\n ----------\n path : str\n path from with to pull the extension from - note that it may NOT be\n ONLY the extension - ie, "obj" and ".obj", will not work, but\n "foo.obj" will\n mode : {\'write\', \'read\'}\n the type is basically a string name of a file translator, which can\n have different ones registered for reading or writing; this specifies\n whether you\'re looking for the read or write translator\n '
pass | def _getTypeFromExtension(path, mode="'write'"):
'\n Parameters\n ----------\n path : str\n path from with to pull the extension from - note that it may NOT be\n ONLY the extension - ie, "obj" and ".obj", will not work, but\n "foo.obj" will\n mode : {\'write\', \'read\'}\n the type is basically a string name of a file translator, which can\n have different ones registered for reading or writing; this specifies\n whether you\'re looking for the read or write translator\n '
pass<|docstring|>Parameters
----------
path : str
path from with to pull the extension from - note that it may NOT be
ONLY the extension - ie, "obj" and ".obj", will not work, but
"foo.obj" will
mode : {'write', 'read'}
the type is basically a string name of a file translator, which can
have different ones registered for reading or writing; this specifies
whether you're looking for the read or write translator<|endoftext|> |
af625f55a5728b1c74ae37d7b16fb10f8402ba18f9e40e7043df28f26f3b04ed | def listInputDeviceButtons(*args, **kwargs):
'\n This command lists all of the buttons of the specified input device specified as an argument.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceButtons`\n '
pass | This command lists all of the buttons of the specified input device specified as an argument.
Dynamic library stub function
Derived from mel command `maya.cmds.listInputDeviceButtons` | mayaSDK/pymel/core/system.py | listInputDeviceButtons | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listInputDeviceButtons(*args, **kwargs):
'\n This command lists all of the buttons of the specified input device specified as an argument.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceButtons`\n '
pass | def listInputDeviceButtons(*args, **kwargs):
'\n This command lists all of the buttons of the specified input device specified as an argument.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceButtons`\n '
pass<|docstring|>This command lists all of the buttons of the specified input device specified as an argument.
Dynamic library stub function
Derived from mel command `maya.cmds.listInputDeviceButtons`<|endoftext|> |
fd55a02203db089beca80ee3a4bb6cd2367c829c917268b7dedb2d78286815df | def createReference(filepath, **kwargs):
"\n Create a reference to the specified file. Returns the name of the file referenced.Query all file references from the specified file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - defaultNamespace:\n Use the default name space for import and referencing. This is an advanced option. If set, then on import or\n reference, Maya will attempt to place all nodes from the imported or referenced file directly into the root (default)\n name space, without invoking any name clash resolution algorithms. If the names of any of the new objects already\n exist in the root namespace, then errors will result. The user of this flag is responsible for creating a name clash\n resolution mechanism outside of Maya to avoid such errors. Note:This flag is intended only for use with custom file\n translators written through the API. Use at your own risk.\n - deferReference:\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is\n deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the\n reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.\n - groupReference:\n Used only with the -r or the -i flag. Used to group all the imported/referenced items under a single transform.\n - groupLocator:\n Used only with the -r and the -gr flag. Used to group the output of groupReference under a locator\n - groupName:\n Used only with the -gr flag. Optionally used to set the name of the transform node that the imported/referenced items\n will be grouped under.\n - namespace:\n The namespace name to use that will group all objects during importing and referencing. Change the namespace used to\n group all the objects from the specified referenced file. The reference must have been created with the Using\n Namespacesoption, and must be loaded. Non-referenced nodes contained in the existing namespace will also be moved to the\n new namespace. The new namespace will be created by this command and can not already exist. The old namespace will be\n removed.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - renamingPrefix:\n The string to use as a prefix for all objects from this file. This flag has been replaced by -ns/namespace.\n - swapNamespace:\n Can only be used in conjunction with the -r/reference or -i/import flags. This flag will replace any occurrences of a\n given namespace to an alternate specified namespace. This namespace swapwill occur as the file is referenced in. It\n takes in two string arguments. The first argument specifies the namespace to replace. The second argument specifies the\n replacement namespace. Use of this flag, implicitly enables the use of namespaces and cannot be used with\n deferReference.\n - sharedReferenceFile:\n Can only be used in conjunction with the -r/reference flag and the -ns/namespace flag (there is no prefix support). This\n flag modifies the '-r/reference' flag to indicate that all nodes within that reference should be treated as shared\n nodes. New copies of those nodes will not be created if a copy already exists. Instead, the shared node will be\n merged with the existing node. The specifics of what happens when two nodes are merged depends on the node type. This\n flag cannot be used in conjunction with -shd/sharedNodes.\n - sharedNodes:\n This flag modifies the '-r/reference' flag to indicate that certain types of nodes within that reference should be\n treated as shared nodes. All shared nodes will be placed in the default namespace. New copies of those nodes will not be\n created if a copy already exists in the default namespace, instead the shared node will be merged with the existing\n node. The specifics of what happens when two nodes are merged depends on the node type. In general attribute values will\n not be merged, meaning the values set on any existing shared nodes will be retained, and the values of the nodes being\n merged in will be ignored. The valid options are displayLayers, shadingNetworks, renderLayersByName, and\n renderLayersById. This flag is multi-use; it may be specified multiple times to for example, share both display layers\n and shading networks. Two shading networks will only be merged if they are identical: the network of nodes feeding\n into the shading group must be arranged identically with equivalent nodes have the same name and node type. Additionally\n if a network is animated or contains a DAG object or expression it will not be mergeable. This flag cannot be used in\n conjunction with -srf/sharedReferenceFile.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n "
pass | Create a reference to the specified file. Returns the name of the file referenced.Query all file references from the specified file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- defaultNamespace:
Use the default name space for import and referencing. This is an advanced option. If set, then on import or
reference, Maya will attempt to place all nodes from the imported or referenced file directly into the root (default)
name space, without invoking any name clash resolution algorithms. If the names of any of the new objects already
exist in the root namespace, then errors will result. The user of this flag is responsible for creating a name clash
resolution mechanism outside of Maya to avoid such errors. Note:This flag is intended only for use with custom file
translators written through the API. Use at your own risk.
- deferReference:
When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is
deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the
reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
- groupReference:
Used only with the -r or the -i flag. Used to group all the imported/referenced items under a single transform.
- groupLocator:
Used only with the -r and the -gr flag. Used to group the output of groupReference under a locator
- groupName:
Used only with the -gr flag. Optionally used to set the name of the transform node that the imported/referenced items
will be grouped under.
- namespace:
The namespace name to use that will group all objects during importing and referencing. Change the namespace used to
group all the objects from the specified referenced file. The reference must have been created with the Using
Namespacesoption, and must be loaded. Non-referenced nodes contained in the existing namespace will also be moved to the
new namespace. The new namespace will be created by this command and can not already exist. The old namespace will be
removed.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- renamingPrefix:
The string to use as a prefix for all objects from this file. This flag has been replaced by -ns/namespace.
- swapNamespace:
Can only be used in conjunction with the -r/reference or -i/import flags. This flag will replace any occurrences of a
given namespace to an alternate specified namespace. This namespace swapwill occur as the file is referenced in. It
takes in two string arguments. The first argument specifies the namespace to replace. The second argument specifies the
replacement namespace. Use of this flag, implicitly enables the use of namespaces and cannot be used with
deferReference.
- sharedReferenceFile:
Can only be used in conjunction with the -r/reference flag and the -ns/namespace flag (there is no prefix support). This
flag modifies the '-r/reference' flag to indicate that all nodes within that reference should be treated as shared
nodes. New copies of those nodes will not be created if a copy already exists. Instead, the shared node will be
merged with the existing node. The specifics of what happens when two nodes are merged depends on the node type. This
flag cannot be used in conjunction with -shd/sharedNodes.
- sharedNodes:
This flag modifies the '-r/reference' flag to indicate that certain types of nodes within that reference should be
treated as shared nodes. All shared nodes will be placed in the default namespace. New copies of those nodes will not be
created if a copy already exists in the default namespace, instead the shared node will be merged with the existing
node. The specifics of what happens when two nodes are merged depends on the node type. In general attribute values will
not be merged, meaning the values set on any existing shared nodes will be retained, and the values of the nodes being
merged in will be ignored. The valid options are displayLayers, shadingNetworks, renderLayersByName, and
renderLayersById. This flag is multi-use; it may be specified multiple times to for example, share both display layers
and shading networks. Two shading networks will only be merged if they are identical: the network of nodes feeding
into the shading group must be arranged identically with equivalent nodes have the same name and node type. Additionally
if a network is animated or contains a DAG object or expression it will not be mergeable. This flag cannot be used in
conjunction with -srf/sharedReferenceFile.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | createReference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def createReference(filepath, **kwargs):
"\n Create a reference to the specified file. Returns the name of the file referenced.Query all file references from the specified file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - defaultNamespace:\n Use the default name space for import and referencing. This is an advanced option. If set, then on import or\n reference, Maya will attempt to place all nodes from the imported or referenced file directly into the root (default)\n name space, without invoking any name clash resolution algorithms. If the names of any of the new objects already\n exist in the root namespace, then errors will result. The user of this flag is responsible for creating a name clash\n resolution mechanism outside of Maya to avoid such errors. Note:This flag is intended only for use with custom file\n translators written through the API. Use at your own risk.\n - deferReference:\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is\n deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the\n reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.\n - groupReference:\n Used only with the -r or the -i flag. Used to group all the imported/referenced items under a single transform.\n - groupLocator:\n Used only with the -r and the -gr flag. Used to group the output of groupReference under a locator\n - groupName:\n Used only with the -gr flag. Optionally used to set the name of the transform node that the imported/referenced items\n will be grouped under.\n - namespace:\n The namespace name to use that will group all objects during importing and referencing. Change the namespace used to\n group all the objects from the specified referenced file. The reference must have been created with the Using\n Namespacesoption, and must be loaded. Non-referenced nodes contained in the existing namespace will also be moved to the\n new namespace. The new namespace will be created by this command and can not already exist. The old namespace will be\n removed.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - renamingPrefix:\n The string to use as a prefix for all objects from this file. This flag has been replaced by -ns/namespace.\n - swapNamespace:\n Can only be used in conjunction with the -r/reference or -i/import flags. This flag will replace any occurrences of a\n given namespace to an alternate specified namespace. This namespace swapwill occur as the file is referenced in. It\n takes in two string arguments. The first argument specifies the namespace to replace. The second argument specifies the\n replacement namespace. Use of this flag, implicitly enables the use of namespaces and cannot be used with\n deferReference.\n - sharedReferenceFile:\n Can only be used in conjunction with the -r/reference flag and the -ns/namespace flag (there is no prefix support). This\n flag modifies the '-r/reference' flag to indicate that all nodes within that reference should be treated as shared\n nodes. New copies of those nodes will not be created if a copy already exists. Instead, the shared node will be\n merged with the existing node. The specifics of what happens when two nodes are merged depends on the node type. This\n flag cannot be used in conjunction with -shd/sharedNodes.\n - sharedNodes:\n This flag modifies the '-r/reference' flag to indicate that certain types of nodes within that reference should be\n treated as shared nodes. All shared nodes will be placed in the default namespace. New copies of those nodes will not be\n created if a copy already exists in the default namespace, instead the shared node will be merged with the existing\n node. The specifics of what happens when two nodes are merged depends on the node type. In general attribute values will\n not be merged, meaning the values set on any existing shared nodes will be retained, and the values of the nodes being\n merged in will be ignored. The valid options are displayLayers, shadingNetworks, renderLayersByName, and\n renderLayersById. This flag is multi-use; it may be specified multiple times to for example, share both display layers\n and shading networks. Two shading networks will only be merged if they are identical: the network of nodes feeding\n into the shading group must be arranged identically with equivalent nodes have the same name and node type. Additionally\n if a network is animated or contains a DAG object or expression it will not be mergeable. This flag cannot be used in\n conjunction with -srf/sharedReferenceFile.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n "
pass | def createReference(filepath, **kwargs):
"\n Create a reference to the specified file. Returns the name of the file referenced.Query all file references from the specified file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - defaultNamespace:\n Use the default name space for import and referencing. This is an advanced option. If set, then on import or\n reference, Maya will attempt to place all nodes from the imported or referenced file directly into the root (default)\n name space, without invoking any name clash resolution algorithms. If the names of any of the new objects already\n exist in the root namespace, then errors will result. The user of this flag is responsible for creating a name clash\n resolution mechanism outside of Maya to avoid such errors. Note:This flag is intended only for use with custom file\n translators written through the API. Use at your own risk.\n - deferReference:\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is\n deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the\n reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.\n - groupReference:\n Used only with the -r or the -i flag. Used to group all the imported/referenced items under a single transform.\n - groupLocator:\n Used only with the -r and the -gr flag. Used to group the output of groupReference under a locator\n - groupName:\n Used only with the -gr flag. Optionally used to set the name of the transform node that the imported/referenced items\n will be grouped under.\n - namespace:\n The namespace name to use that will group all objects during importing and referencing. Change the namespace used to\n group all the objects from the specified referenced file. The reference must have been created with the Using\n Namespacesoption, and must be loaded. Non-referenced nodes contained in the existing namespace will also be moved to the\n new namespace. The new namespace will be created by this command and can not already exist. The old namespace will be\n removed.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - renamingPrefix:\n The string to use as a prefix for all objects from this file. This flag has been replaced by -ns/namespace.\n - swapNamespace:\n Can only be used in conjunction with the -r/reference or -i/import flags. This flag will replace any occurrences of a\n given namespace to an alternate specified namespace. This namespace swapwill occur as the file is referenced in. It\n takes in two string arguments. The first argument specifies the namespace to replace. The second argument specifies the\n replacement namespace. Use of this flag, implicitly enables the use of namespaces and cannot be used with\n deferReference.\n - sharedReferenceFile:\n Can only be used in conjunction with the -r/reference flag and the -ns/namespace flag (there is no prefix support). This\n flag modifies the '-r/reference' flag to indicate that all nodes within that reference should be treated as shared\n nodes. New copies of those nodes will not be created if a copy already exists. Instead, the shared node will be\n merged with the existing node. The specifics of what happens when two nodes are merged depends on the node type. This\n flag cannot be used in conjunction with -shd/sharedNodes.\n - sharedNodes:\n This flag modifies the '-r/reference' flag to indicate that certain types of nodes within that reference should be\n treated as shared nodes. All shared nodes will be placed in the default namespace. New copies of those nodes will not be\n created if a copy already exists in the default namespace, instead the shared node will be merged with the existing\n node. The specifics of what happens when two nodes are merged depends on the node type. In general attribute values will\n not be merged, meaning the values set on any existing shared nodes will be retained, and the values of the nodes being\n merged in will be ignored. The valid options are displayLayers, shadingNetworks, renderLayersByName, and\n renderLayersById. This flag is multi-use; it may be specified multiple times to for example, share both display layers\n and shading networks. Two shading networks will only be merged if they are identical: the network of nodes feeding\n into the shading group must be arranged identically with equivalent nodes have the same name and node type. Additionally\n if a network is animated or contains a DAG object or expression it will not be mergeable. This flag cannot be used in\n conjunction with -srf/sharedReferenceFile.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n "
pass<|docstring|>Create a reference to the specified file. Returns the name of the file referenced.Query all file references from the specified file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- defaultNamespace:
Use the default name space for import and referencing. This is an advanced option. If set, then on import or
reference, Maya will attempt to place all nodes from the imported or referenced file directly into the root (default)
name space, without invoking any name clash resolution algorithms. If the names of any of the new objects already
exist in the root namespace, then errors will result. The user of this flag is responsible for creating a name clash
resolution mechanism outside of Maya to avoid such errors. Note:This flag is intended only for use with custom file
translators written through the API. Use at your own risk.
- deferReference:
When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is
deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the
reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
- groupReference:
Used only with the -r or the -i flag. Used to group all the imported/referenced items under a single transform.
- groupLocator:
Used only with the -r and the -gr flag. Used to group the output of groupReference under a locator
- groupName:
Used only with the -gr flag. Optionally used to set the name of the transform node that the imported/referenced items
will be grouped under.
- namespace:
The namespace name to use that will group all objects during importing and referencing. Change the namespace used to
group all the objects from the specified referenced file. The reference must have been created with the Using
Namespacesoption, and must be loaded. Non-referenced nodes contained in the existing namespace will also be moved to the
new namespace. The new namespace will be created by this command and can not already exist. The old namespace will be
removed.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- renamingPrefix:
The string to use as a prefix for all objects from this file. This flag has been replaced by -ns/namespace.
- swapNamespace:
Can only be used in conjunction with the -r/reference or -i/import flags. This flag will replace any occurrences of a
given namespace to an alternate specified namespace. This namespace swapwill occur as the file is referenced in. It
takes in two string arguments. The first argument specifies the namespace to replace. The second argument specifies the
replacement namespace. Use of this flag, implicitly enables the use of namespaces and cannot be used with
deferReference.
- sharedReferenceFile:
Can only be used in conjunction with the -r/reference flag and the -ns/namespace flag (there is no prefix support). This
flag modifies the '-r/reference' flag to indicate that all nodes within that reference should be treated as shared
nodes. New copies of those nodes will not be created if a copy already exists. Instead, the shared node will be
merged with the existing node. The specifics of what happens when two nodes are merged depends on the node type. This
flag cannot be used in conjunction with -shd/sharedNodes.
- sharedNodes:
This flag modifies the '-r/reference' flag to indicate that certain types of nodes within that reference should be
treated as shared nodes. All shared nodes will be placed in the default namespace. New copies of those nodes will not be
created if a copy already exists in the default namespace, instead the shared node will be merged with the existing
node. The specifics of what happens when two nodes are merged depends on the node type. In general attribute values will
not be merged, meaning the values set on any existing shared nodes will be retained, and the values of the nodes being
merged in will be ignored. The valid options are displayLayers, shadingNetworks, renderLayersByName, and
renderLayersById. This flag is multi-use; it may be specified multiple times to for example, share both display layers
and shading networks. Two shading networks will only be merged if they are identical: the network of nodes feeding
into the shading group must be arranged identically with equivalent nodes have the same name and node type. Additionally
if a network is animated or contains a DAG object or expression it will not be mergeable. This flag cannot be used in
conjunction with -srf/sharedReferenceFile.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file`<|endoftext|> |
1b34391728b1db000f341e8b481bd9a66de2709874fdca59aea49336cb64c886 | def getInputDeviceRange(*args, **kwargs):
"\n This command lists the minimum and maximum values the device axis can return. This value is the raw device values\n before any mapping is applied. If you don't specify an axis the values for all axes of the device are returned.\n \n Dynamic library stub function\n \n Flags:\n - maxValue : max (bool) [create]\n list only the maximum value of the axis\n \n - minValue : min (bool) [create]\n list only the minimum value of the axis Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.getInputDeviceRange`\n "
pass | This command lists the minimum and maximum values the device axis can return. This value is the raw device values
before any mapping is applied. If you don't specify an axis the values for all axes of the device are returned.
Dynamic library stub function
Flags:
- maxValue : max (bool) [create]
list only the maximum value of the axis
- minValue : min (bool) [create]
list only the minimum value of the axis Flag can have multiple arguments, passed either as a tuple or a
list.
Derived from mel command `maya.cmds.getInputDeviceRange` | mayaSDK/pymel/core/system.py | getInputDeviceRange | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getInputDeviceRange(*args, **kwargs):
"\n This command lists the minimum and maximum values the device axis can return. This value is the raw device values\n before any mapping is applied. If you don't specify an axis the values for all axes of the device are returned.\n \n Dynamic library stub function\n \n Flags:\n - maxValue : max (bool) [create]\n list only the maximum value of the axis\n \n - minValue : min (bool) [create]\n list only the minimum value of the axis Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.getInputDeviceRange`\n "
pass | def getInputDeviceRange(*args, **kwargs):
"\n This command lists the minimum and maximum values the device axis can return. This value is the raw device values\n before any mapping is applied. If you don't specify an axis the values for all axes of the device are returned.\n \n Dynamic library stub function\n \n Flags:\n - maxValue : max (bool) [create]\n list only the maximum value of the axis\n \n - minValue : min (bool) [create]\n list only the minimum value of the axis Flag can have multiple arguments, passed either as a tuple or a\n list.\n \n \n Derived from mel command `maya.cmds.getInputDeviceRange`\n "
pass<|docstring|>This command lists the minimum and maximum values the device axis can return. This value is the raw device values
before any mapping is applied. If you don't specify an axis the values for all axes of the device are returned.
Dynamic library stub function
Flags:
- maxValue : max (bool) [create]
list only the maximum value of the axis
- minValue : min (bool) [create]
list only the minimum value of the axis Flag can have multiple arguments, passed either as a tuple or a
list.
Derived from mel command `maya.cmds.getInputDeviceRange`<|endoftext|> |
990afbc4f973ea997fb301949589d8ef056f025731cfef260e43060600338a5f | def allNodeTypes(*args, **kwargs):
"\n This command returns a list containing the type names of every kind of creatable node registered with the system. Note\n that some node types are abstract and cannot be created. These will not show up on this list. (e.g. transform and\n polyShape both inherit from dagObject, but dagObject cannot be created directly so it will not appear on this list.)\n \n Flags:\n - includeAbstract : ia (bool) [create]\n Show every node type, even the abstract ones which cannot be created via the 'createNode' command. These will have the\n suffix (abstract)appended to them in the list. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.allNodeTypes`\n "
pass | This command returns a list containing the type names of every kind of creatable node registered with the system. Note
that some node types are abstract and cannot be created. These will not show up on this list. (e.g. transform and
polyShape both inherit from dagObject, but dagObject cannot be created directly so it will not appear on this list.)
Flags:
- includeAbstract : ia (bool) [create]
Show every node type, even the abstract ones which cannot be created via the 'createNode' command. These will have the
suffix (abstract)appended to them in the list. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.allNodeTypes` | mayaSDK/pymel/core/system.py | allNodeTypes | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def allNodeTypes(*args, **kwargs):
"\n This command returns a list containing the type names of every kind of creatable node registered with the system. Note\n that some node types are abstract and cannot be created. These will not show up on this list. (e.g. transform and\n polyShape both inherit from dagObject, but dagObject cannot be created directly so it will not appear on this list.)\n \n Flags:\n - includeAbstract : ia (bool) [create]\n Show every node type, even the abstract ones which cannot be created via the 'createNode' command. These will have the\n suffix (abstract)appended to them in the list. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.allNodeTypes`\n "
pass | def allNodeTypes(*args, **kwargs):
"\n This command returns a list containing the type names of every kind of creatable node registered with the system. Note\n that some node types are abstract and cannot be created. These will not show up on this list. (e.g. transform and\n polyShape both inherit from dagObject, but dagObject cannot be created directly so it will not appear on this list.)\n \n Flags:\n - includeAbstract : ia (bool) [create]\n Show every node type, even the abstract ones which cannot be created via the 'createNode' command. These will have the\n suffix (abstract)appended to them in the list. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.allNodeTypes`\n "
pass<|docstring|>This command returns a list containing the type names of every kind of creatable node registered with the system. Note
that some node types are abstract and cannot be created. These will not show up on this list. (e.g. transform and
polyShape both inherit from dagObject, but dagObject cannot be created directly so it will not appear on this list.)
Flags:
- includeAbstract : ia (bool) [create]
Show every node type, even the abstract ones which cannot be created via the 'createNode' command. These will have the
suffix (abstract)appended to them in the list. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.allNodeTypes`<|endoftext|> |
c61d8bc935aad8f6b989954fdd4785fbe764ef24e70f2d095a613c8db966a87b | def fileDialog2(*args, **kwargs):
'\n This command provides a dialog that allows users to select files or directories.\n \n Flags:\n - buttonBoxOrientation : bbo (int) []\n \n - cancelCaption : cc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the Cancel button within the dialog.\n \n - caption : cap (unicode) [create]\n Provide a title for the dialog.\n \n - dialogStyle : ds (int) [create]\n 1 On Windows or Mac OS X will use a native style file dialog.2 Use a custom file dialog with a style that is consistent\n across platforms.\n \n - fileFilter : ff (unicode) [create]\n Provide a list of file type filters to the dialog. Multiple filters should be separated by double semi-colons. See the\n examples section.\n \n - fileMode : fm (int) [create]\n Indicate what the dialog is to return. 0 Any file, whether it exists or not.1 A single existing file.2 The name of a\n directory. Both directories and files are displayed in the dialog.3 The name of a directory. Only directories are\n displayed in the dialog.4 Then names of one or more existing files.\n \n - fileTypeChanged : ftc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user-selected file type changes. The\n callback is of the form: global proc MyCustomFileTypeChanged(string $parent, string $newType) The parent argument is the\n parent layout into which controls have been added using the optionsUICreate flag. The newType argument is the new file\n type.\n \n - hideFileExtensions : hfe (bool) []\n \n - hideNameEdit : hne (bool) []\n \n - okCaption : okc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the OK, or Accept, button within the dialog.\n \n - optionsUICancel : oca (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is cancelled (with Cancel button or\n close button to close window). The callback is of the form: global proc MyCustomOptionsUICancel()\n \n - optionsUICommit : ocm (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is successfully dismissed. It will\n not be called if the user cancels the dialog, or closes the window using window title bar controls or other window\n system means. The callback is of the form: global proc MyCustomOptionsUICommit(string $parent) The parent argument is\n the parent layout into which controls have been added using the optionsUICreate flag.\n \n - optionsUICommit2 : oc2 (unicode) [create]\n MEL only. As optionsUICommit, the given string is interpreted as a MEL callback, to be called when the dialog is\n successfully dismissed. The difference is that this callback takes one additional argument which is the file name\n selected by the user before the dialog validation. It will not be called if the user cancels the dialog, or closes the\n window using window title bar controls or other window system means. The callback is of the form: global proc\n MyCustomOptionsUICommit(string $parent, string $selectedFile) The parent argument is the parent layout into which\n controls have been added using the optionsUICreate flag.\n \n - optionsUICreate : ocr (bool) [create]\n MEL only. The string is interpreted as a MEL callback, to be called on creation of the file dialog. The callback is of\n the form: global proc MyCustomOptionsUISetup(string $parent) The parent argument is the parent layout into which\n controls can be added. This parent is the right-hand pane of the file dialog.\n \n - optionsUIInit : oin (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called just after file dialog creation, to initialize\n controls. The callback is of the form: global proc MyCustomOptionsUIInitValues(string $parent, string $filterType) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The filterType\n argument is the initial file filter.\n \n - returnFilter : rf (bool) [create]\n If true, the selected filter will be returned as the last item in the string array along with the selected files.\n \n - selectFileFilter : sff (unicode) [create]\n Specify the initial file filter to select. Specify just the begining text and not the full wildcard spec.\n \n - selectionChanged : sc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user changes the file selection in the\n file dialog. The callback is of the form: global proc MyCustomSelectionChanged(string $parent, string $selection) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The selection\n argument is the full path to the newly-selected file.\n \n - setProjectBtnEnabled : spe (bool) []\n \n - startingDirectory : dir (unicode) [create]\n Provide the starting directory for the dialog. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.fileDialog2`\n '
pass | This command provides a dialog that allows users to select files or directories.
Flags:
- buttonBoxOrientation : bbo (int) []
- cancelCaption : cc (unicode) [create]
If the dialogStyle flag is set to 2 then this provides a caption for the Cancel button within the dialog.
- caption : cap (unicode) [create]
Provide a title for the dialog.
- dialogStyle : ds (int) [create]
1 On Windows or Mac OS X will use a native style file dialog.2 Use a custom file dialog with a style that is consistent
across platforms.
- fileFilter : ff (unicode) [create]
Provide a list of file type filters to the dialog. Multiple filters should be separated by double semi-colons. See the
examples section.
- fileMode : fm (int) [create]
Indicate what the dialog is to return. 0 Any file, whether it exists or not.1 A single existing file.2 The name of a
directory. Both directories and files are displayed in the dialog.3 The name of a directory. Only directories are
displayed in the dialog.4 Then names of one or more existing files.
- fileTypeChanged : ftc (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the user-selected file type changes. The
callback is of the form: global proc MyCustomFileTypeChanged(string $parent, string $newType) The parent argument is the
parent layout into which controls have been added using the optionsUICreate flag. The newType argument is the new file
type.
- hideFileExtensions : hfe (bool) []
- hideNameEdit : hne (bool) []
- okCaption : okc (unicode) [create]
If the dialogStyle flag is set to 2 then this provides a caption for the OK, or Accept, button within the dialog.
- optionsUICancel : oca (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the dialog is cancelled (with Cancel button or
close button to close window). The callback is of the form: global proc MyCustomOptionsUICancel()
- optionsUICommit : ocm (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the dialog is successfully dismissed. It will
not be called if the user cancels the dialog, or closes the window using window title bar controls or other window
system means. The callback is of the form: global proc MyCustomOptionsUICommit(string $parent) The parent argument is
the parent layout into which controls have been added using the optionsUICreate flag.
- optionsUICommit2 : oc2 (unicode) [create]
MEL only. As optionsUICommit, the given string is interpreted as a MEL callback, to be called when the dialog is
successfully dismissed. The difference is that this callback takes one additional argument which is the file name
selected by the user before the dialog validation. It will not be called if the user cancels the dialog, or closes the
window using window title bar controls or other window system means. The callback is of the form: global proc
MyCustomOptionsUICommit(string $parent, string $selectedFile) The parent argument is the parent layout into which
controls have been added using the optionsUICreate flag.
- optionsUICreate : ocr (bool) [create]
MEL only. The string is interpreted as a MEL callback, to be called on creation of the file dialog. The callback is of
the form: global proc MyCustomOptionsUISetup(string $parent) The parent argument is the parent layout into which
controls can be added. This parent is the right-hand pane of the file dialog.
- optionsUIInit : oin (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called just after file dialog creation, to initialize
controls. The callback is of the form: global proc MyCustomOptionsUIInitValues(string $parent, string $filterType) The
parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The filterType
argument is the initial file filter.
- returnFilter : rf (bool) [create]
If true, the selected filter will be returned as the last item in the string array along with the selected files.
- selectFileFilter : sff (unicode) [create]
Specify the initial file filter to select. Specify just the begining text and not the full wildcard spec.
- selectionChanged : sc (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the user changes the file selection in the
file dialog. The callback is of the form: global proc MyCustomSelectionChanged(string $parent, string $selection) The
parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The selection
argument is the full path to the newly-selected file.
- setProjectBtnEnabled : spe (bool) []
- startingDirectory : dir (unicode) [create]
Provide the starting directory for the dialog. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.fileDialog2` | mayaSDK/pymel/core/system.py | fileDialog2 | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def fileDialog2(*args, **kwargs):
'\n This command provides a dialog that allows users to select files or directories.\n \n Flags:\n - buttonBoxOrientation : bbo (int) []\n \n - cancelCaption : cc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the Cancel button within the dialog.\n \n - caption : cap (unicode) [create]\n Provide a title for the dialog.\n \n - dialogStyle : ds (int) [create]\n 1 On Windows or Mac OS X will use a native style file dialog.2 Use a custom file dialog with a style that is consistent\n across platforms.\n \n - fileFilter : ff (unicode) [create]\n Provide a list of file type filters to the dialog. Multiple filters should be separated by double semi-colons. See the\n examples section.\n \n - fileMode : fm (int) [create]\n Indicate what the dialog is to return. 0 Any file, whether it exists or not.1 A single existing file.2 The name of a\n directory. Both directories and files are displayed in the dialog.3 The name of a directory. Only directories are\n displayed in the dialog.4 Then names of one or more existing files.\n \n - fileTypeChanged : ftc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user-selected file type changes. The\n callback is of the form: global proc MyCustomFileTypeChanged(string $parent, string $newType) The parent argument is the\n parent layout into which controls have been added using the optionsUICreate flag. The newType argument is the new file\n type.\n \n - hideFileExtensions : hfe (bool) []\n \n - hideNameEdit : hne (bool) []\n \n - okCaption : okc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the OK, or Accept, button within the dialog.\n \n - optionsUICancel : oca (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is cancelled (with Cancel button or\n close button to close window). The callback is of the form: global proc MyCustomOptionsUICancel()\n \n - optionsUICommit : ocm (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is successfully dismissed. It will\n not be called if the user cancels the dialog, or closes the window using window title bar controls or other window\n system means. The callback is of the form: global proc MyCustomOptionsUICommit(string $parent) The parent argument is\n the parent layout into which controls have been added using the optionsUICreate flag.\n \n - optionsUICommit2 : oc2 (unicode) [create]\n MEL only. As optionsUICommit, the given string is interpreted as a MEL callback, to be called when the dialog is\n successfully dismissed. The difference is that this callback takes one additional argument which is the file name\n selected by the user before the dialog validation. It will not be called if the user cancels the dialog, or closes the\n window using window title bar controls or other window system means. The callback is of the form: global proc\n MyCustomOptionsUICommit(string $parent, string $selectedFile) The parent argument is the parent layout into which\n controls have been added using the optionsUICreate flag.\n \n - optionsUICreate : ocr (bool) [create]\n MEL only. The string is interpreted as a MEL callback, to be called on creation of the file dialog. The callback is of\n the form: global proc MyCustomOptionsUISetup(string $parent) The parent argument is the parent layout into which\n controls can be added. This parent is the right-hand pane of the file dialog.\n \n - optionsUIInit : oin (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called just after file dialog creation, to initialize\n controls. The callback is of the form: global proc MyCustomOptionsUIInitValues(string $parent, string $filterType) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The filterType\n argument is the initial file filter.\n \n - returnFilter : rf (bool) [create]\n If true, the selected filter will be returned as the last item in the string array along with the selected files.\n \n - selectFileFilter : sff (unicode) [create]\n Specify the initial file filter to select. Specify just the begining text and not the full wildcard spec.\n \n - selectionChanged : sc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user changes the file selection in the\n file dialog. The callback is of the form: global proc MyCustomSelectionChanged(string $parent, string $selection) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The selection\n argument is the full path to the newly-selected file.\n \n - setProjectBtnEnabled : spe (bool) []\n \n - startingDirectory : dir (unicode) [create]\n Provide the starting directory for the dialog. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.fileDialog2`\n '
pass | def fileDialog2(*args, **kwargs):
'\n This command provides a dialog that allows users to select files or directories.\n \n Flags:\n - buttonBoxOrientation : bbo (int) []\n \n - cancelCaption : cc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the Cancel button within the dialog.\n \n - caption : cap (unicode) [create]\n Provide a title for the dialog.\n \n - dialogStyle : ds (int) [create]\n 1 On Windows or Mac OS X will use a native style file dialog.2 Use a custom file dialog with a style that is consistent\n across platforms.\n \n - fileFilter : ff (unicode) [create]\n Provide a list of file type filters to the dialog. Multiple filters should be separated by double semi-colons. See the\n examples section.\n \n - fileMode : fm (int) [create]\n Indicate what the dialog is to return. 0 Any file, whether it exists or not.1 A single existing file.2 The name of a\n directory. Both directories and files are displayed in the dialog.3 The name of a directory. Only directories are\n displayed in the dialog.4 Then names of one or more existing files.\n \n - fileTypeChanged : ftc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user-selected file type changes. The\n callback is of the form: global proc MyCustomFileTypeChanged(string $parent, string $newType) The parent argument is the\n parent layout into which controls have been added using the optionsUICreate flag. The newType argument is the new file\n type.\n \n - hideFileExtensions : hfe (bool) []\n \n - hideNameEdit : hne (bool) []\n \n - okCaption : okc (unicode) [create]\n If the dialogStyle flag is set to 2 then this provides a caption for the OK, or Accept, button within the dialog.\n \n - optionsUICancel : oca (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is cancelled (with Cancel button or\n close button to close window). The callback is of the form: global proc MyCustomOptionsUICancel()\n \n - optionsUICommit : ocm (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the dialog is successfully dismissed. It will\n not be called if the user cancels the dialog, or closes the window using window title bar controls or other window\n system means. The callback is of the form: global proc MyCustomOptionsUICommit(string $parent) The parent argument is\n the parent layout into which controls have been added using the optionsUICreate flag.\n \n - optionsUICommit2 : oc2 (unicode) [create]\n MEL only. As optionsUICommit, the given string is interpreted as a MEL callback, to be called when the dialog is\n successfully dismissed. The difference is that this callback takes one additional argument which is the file name\n selected by the user before the dialog validation. It will not be called if the user cancels the dialog, or closes the\n window using window title bar controls or other window system means. The callback is of the form: global proc\n MyCustomOptionsUICommit(string $parent, string $selectedFile) The parent argument is the parent layout into which\n controls have been added using the optionsUICreate flag.\n \n - optionsUICreate : ocr (bool) [create]\n MEL only. The string is interpreted as a MEL callback, to be called on creation of the file dialog. The callback is of\n the form: global proc MyCustomOptionsUISetup(string $parent) The parent argument is the parent layout into which\n controls can be added. This parent is the right-hand pane of the file dialog.\n \n - optionsUIInit : oin (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called just after file dialog creation, to initialize\n controls. The callback is of the form: global proc MyCustomOptionsUIInitValues(string $parent, string $filterType) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The filterType\n argument is the initial file filter.\n \n - returnFilter : rf (bool) [create]\n If true, the selected filter will be returned as the last item in the string array along with the selected files.\n \n - selectFileFilter : sff (unicode) [create]\n Specify the initial file filter to select. Specify just the begining text and not the full wildcard spec.\n \n - selectionChanged : sc (unicode) [create]\n MEL only. The string is interpreted as a MEL callback, to be called when the user changes the file selection in the\n file dialog. The callback is of the form: global proc MyCustomSelectionChanged(string $parent, string $selection) The\n parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The selection\n argument is the full path to the newly-selected file.\n \n - setProjectBtnEnabled : spe (bool) []\n \n - startingDirectory : dir (unicode) [create]\n Provide the starting directory for the dialog. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.fileDialog2`\n '
pass<|docstring|>This command provides a dialog that allows users to select files or directories.
Flags:
- buttonBoxOrientation : bbo (int) []
- cancelCaption : cc (unicode) [create]
If the dialogStyle flag is set to 2 then this provides a caption for the Cancel button within the dialog.
- caption : cap (unicode) [create]
Provide a title for the dialog.
- dialogStyle : ds (int) [create]
1 On Windows or Mac OS X will use a native style file dialog.2 Use a custom file dialog with a style that is consistent
across platforms.
- fileFilter : ff (unicode) [create]
Provide a list of file type filters to the dialog. Multiple filters should be separated by double semi-colons. See the
examples section.
- fileMode : fm (int) [create]
Indicate what the dialog is to return. 0 Any file, whether it exists or not.1 A single existing file.2 The name of a
directory. Both directories and files are displayed in the dialog.3 The name of a directory. Only directories are
displayed in the dialog.4 Then names of one or more existing files.
- fileTypeChanged : ftc (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the user-selected file type changes. The
callback is of the form: global proc MyCustomFileTypeChanged(string $parent, string $newType) The parent argument is the
parent layout into which controls have been added using the optionsUICreate flag. The newType argument is the new file
type.
- hideFileExtensions : hfe (bool) []
- hideNameEdit : hne (bool) []
- okCaption : okc (unicode) [create]
If the dialogStyle flag is set to 2 then this provides a caption for the OK, or Accept, button within the dialog.
- optionsUICancel : oca (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the dialog is cancelled (with Cancel button or
close button to close window). The callback is of the form: global proc MyCustomOptionsUICancel()
- optionsUICommit : ocm (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the dialog is successfully dismissed. It will
not be called if the user cancels the dialog, or closes the window using window title bar controls or other window
system means. The callback is of the form: global proc MyCustomOptionsUICommit(string $parent) The parent argument is
the parent layout into which controls have been added using the optionsUICreate flag.
- optionsUICommit2 : oc2 (unicode) [create]
MEL only. As optionsUICommit, the given string is interpreted as a MEL callback, to be called when the dialog is
successfully dismissed. The difference is that this callback takes one additional argument which is the file name
selected by the user before the dialog validation. It will not be called if the user cancels the dialog, or closes the
window using window title bar controls or other window system means. The callback is of the form: global proc
MyCustomOptionsUICommit(string $parent, string $selectedFile) The parent argument is the parent layout into which
controls have been added using the optionsUICreate flag.
- optionsUICreate : ocr (bool) [create]
MEL only. The string is interpreted as a MEL callback, to be called on creation of the file dialog. The callback is of
the form: global proc MyCustomOptionsUISetup(string $parent) The parent argument is the parent layout into which
controls can be added. This parent is the right-hand pane of the file dialog.
- optionsUIInit : oin (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called just after file dialog creation, to initialize
controls. The callback is of the form: global proc MyCustomOptionsUIInitValues(string $parent, string $filterType) The
parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The filterType
argument is the initial file filter.
- returnFilter : rf (bool) [create]
If true, the selected filter will be returned as the last item in the string array along with the selected files.
- selectFileFilter : sff (unicode) [create]
Specify the initial file filter to select. Specify just the begining text and not the full wildcard spec.
- selectionChanged : sc (unicode) [create]
MEL only. The string is interpreted as a MEL callback, to be called when the user changes the file selection in the
file dialog. The callback is of the form: global proc MyCustomSelectionChanged(string $parent, string $selection) The
parent argument is the parent layout into which controls have been added using the optionsUICreate flag. The selection
argument is the full path to the newly-selected file.
- setProjectBtnEnabled : spe (bool) []
- startingDirectory : dir (unicode) [create]
Provide the starting directory for the dialog. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.fileDialog2`<|endoftext|> |
30b523ef663cbc15ffcee5b37f4415bfa4c6240d5511d18ca7abdce71e608d7f | def undo(*args, **kwargs):
'\n Takes the most recent command from the undo list and undoes it.\n \n \n Derived from mel command `maya.cmds.undo`\n '
pass | Takes the most recent command from the undo list and undoes it.
Derived from mel command `maya.cmds.undo` | mayaSDK/pymel/core/system.py | undo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def undo(*args, **kwargs):
'\n Takes the most recent command from the undo list and undoes it.\n \n \n Derived from mel command `maya.cmds.undo`\n '
pass | def undo(*args, **kwargs):
'\n Takes the most recent command from the undo list and undoes it.\n \n \n Derived from mel command `maya.cmds.undo`\n '
pass<|docstring|>Takes the most recent command from the undo list and undoes it.
Derived from mel command `maya.cmds.undo`<|endoftext|> |
188e269bff7e9229111358f503f1d4b89e0bfa7f89a5e96ba749f0304637f339 | def _translateEditFlags(kwargs, addKwargs='True'):
'\n Given the pymel values for successfulEdits/failedEdits (which may be\n True, False, or None), returns the corresponding maya.cmds values to use\n '
pass | Given the pymel values for successfulEdits/failedEdits (which may be
True, False, or None), returns the corresponding maya.cmds values to use | mayaSDK/pymel/core/system.py | _translateEditFlags | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def _translateEditFlags(kwargs, addKwargs='True'):
'\n Given the pymel values for successfulEdits/failedEdits (which may be\n True, False, or None), returns the corresponding maya.cmds values to use\n '
pass | def _translateEditFlags(kwargs, addKwargs='True'):
'\n Given the pymel values for successfulEdits/failedEdits (which may be\n True, False, or None), returns the corresponding maya.cmds values to use\n '
pass<|docstring|>Given the pymel values for successfulEdits/failedEdits (which may be
True, False, or None), returns the corresponding maya.cmds values to use<|endoftext|> |
dfdafab71a3a595db3c20ec1ae72a410bd5eb5f6e9dda8a32e672e469739d288 | def listDeviceAttachments(*args, **kwargs):
"\n This command lists the current set of device attachments. The listing is in the form of the commands required to\n recreate them. This includes both attachments and device mappings.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute attachments to list\n \n - axis : ax (unicode) [create]\n specify the axis attachments to list\n \n - clutch : c (unicode) [create]\n List only attachment clutched with this button\n \n - device : d (unicode) [create]\n specify which device attachments to list\n \n - file : f (unicode) [create]\n Specify the name of the file to write out device attachments.\n \n - selection : sl (bool) [create]\n This flag list only attachments on selection\n \n - write : w (bool) [create]\n Write out device attachments to a file specified by the -f flag, is set. If -f is not set, it'll write out to a file\n named for the device. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.listDeviceAttachments`\n "
pass | This command lists the current set of device attachments. The listing is in the form of the commands required to
recreate them. This includes both attachments and device mappings.
Dynamic library stub function
Flags:
- attribute : at (unicode) [create]
specify the attribute attachments to list
- axis : ax (unicode) [create]
specify the axis attachments to list
- clutch : c (unicode) [create]
List only attachment clutched with this button
- device : d (unicode) [create]
specify which device attachments to list
- file : f (unicode) [create]
Specify the name of the file to write out device attachments.
- selection : sl (bool) [create]
This flag list only attachments on selection
- write : w (bool) [create]
Write out device attachments to a file specified by the -f flag, is set. If -f is not set, it'll write out to a file
named for the device. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.listDeviceAttachments` | mayaSDK/pymel/core/system.py | listDeviceAttachments | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listDeviceAttachments(*args, **kwargs):
"\n This command lists the current set of device attachments. The listing is in the form of the commands required to\n recreate them. This includes both attachments and device mappings.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute attachments to list\n \n - axis : ax (unicode) [create]\n specify the axis attachments to list\n \n - clutch : c (unicode) [create]\n List only attachment clutched with this button\n \n - device : d (unicode) [create]\n specify which device attachments to list\n \n - file : f (unicode) [create]\n Specify the name of the file to write out device attachments.\n \n - selection : sl (bool) [create]\n This flag list only attachments on selection\n \n - write : w (bool) [create]\n Write out device attachments to a file specified by the -f flag, is set. If -f is not set, it'll write out to a file\n named for the device. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.listDeviceAttachments`\n "
pass | def listDeviceAttachments(*args, **kwargs):
"\n This command lists the current set of device attachments. The listing is in the form of the commands required to\n recreate them. This includes both attachments and device mappings.\n \n Dynamic library stub function\n \n Flags:\n - attribute : at (unicode) [create]\n specify the attribute attachments to list\n \n - axis : ax (unicode) [create]\n specify the axis attachments to list\n \n - clutch : c (unicode) [create]\n List only attachment clutched with this button\n \n - device : d (unicode) [create]\n specify which device attachments to list\n \n - file : f (unicode) [create]\n Specify the name of the file to write out device attachments.\n \n - selection : sl (bool) [create]\n This flag list only attachments on selection\n \n - write : w (bool) [create]\n Write out device attachments to a file specified by the -f flag, is set. If -f is not set, it'll write out to a file\n named for the device. Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.listDeviceAttachments`\n "
pass<|docstring|>This command lists the current set of device attachments. The listing is in the form of the commands required to
recreate them. This includes both attachments and device mappings.
Dynamic library stub function
Flags:
- attribute : at (unicode) [create]
specify the attribute attachments to list
- axis : ax (unicode) [create]
specify the axis attachments to list
- clutch : c (unicode) [create]
List only attachment clutched with this button
- device : d (unicode) [create]
specify which device attachments to list
- file : f (unicode) [create]
Specify the name of the file to write out device attachments.
- selection : sl (bool) [create]
This flag list only attachments on selection
- write : w (bool) [create]
Write out device attachments to a file specified by the -f flag, is set. If -f is not set, it'll write out to a file
named for the device. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.listDeviceAttachments`<|endoftext|> |
f06e11b108c80e396894c90ddf00125cf5d17287900b2a3b44c17914fda635c3 | def cacheFileTrack(*args, **kwargs):
'\n This command is used for inserting and removing tracks related to the caches displayed in the trax editor. It can also\n be used to modify the track state, for example, to lock or mute a track. In query mode, return type is\n based on queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be muted or not.\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be soloed or not.\n \n - track : t (int) [create,query,edit]\n Used to specify a new track index for a cache to be displayed. Track-indices are 1-based.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileTrack`\n '
pass | This command is used for inserting and removing tracks related to the caches displayed in the trax editor. It can also
be used to modify the track state, for example, to lock or mute a track. In query mode, return type is
based on queried flag.
Flags:
- insertTrack : it (int) [create]
This flag is used to insert a new empty track at the track index specified.
- lock : l (bool) [create,query,edit]
This flag specifies whether clips on a track are to be locked or not.
- mute : m (bool) [create,query,edit]
This flag specifies whether clips on a track are to be muted or not.
- removeEmptyTracks : ret (bool) [create]
This flag is used to remove all tracks that have no clips.
- removeTrack : rt (int) [create]
This flag is used to remove the track with the specified index. The track must have no clips on it before it can be
removed.
- solo : so (bool) [create,query,edit]
This flag specifies whether clips on a track are to be soloed or not.
- track : t (int) [create,query,edit]
Used to specify a new track index for a cache to be displayed. Track-indices are 1-based.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.cacheFileTrack` | mayaSDK/pymel/core/system.py | cacheFileTrack | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def cacheFileTrack(*args, **kwargs):
'\n This command is used for inserting and removing tracks related to the caches displayed in the trax editor. It can also\n be used to modify the track state, for example, to lock or mute a track. In query mode, return type is\n based on queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be muted or not.\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be soloed or not.\n \n - track : t (int) [create,query,edit]\n Used to specify a new track index for a cache to be displayed. Track-indices are 1-based.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileTrack`\n '
pass | def cacheFileTrack(*args, **kwargs):
'\n This command is used for inserting and removing tracks related to the caches displayed in the trax editor. It can also\n be used to modify the track state, for example, to lock or mute a track. In query mode, return type is\n based on queried flag.\n \n Flags:\n - insertTrack : it (int) [create]\n This flag is used to insert a new empty track at the track index specified.\n \n - lock : l (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be locked or not.\n \n - mute : m (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be muted or not.\n \n - removeEmptyTracks : ret (bool) [create]\n This flag is used to remove all tracks that have no clips.\n \n - removeTrack : rt (int) [create]\n This flag is used to remove the track with the specified index. The track must have no clips on it before it can be\n removed.\n \n - solo : so (bool) [create,query,edit]\n This flag specifies whether clips on a track are to be soloed or not.\n \n - track : t (int) [create,query,edit]\n Used to specify a new track index for a cache to be displayed. Track-indices are 1-based.\n Flag can have multiple arguments, passed either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.cacheFileTrack`\n '
pass<|docstring|>This command is used for inserting and removing tracks related to the caches displayed in the trax editor. It can also
be used to modify the track state, for example, to lock or mute a track. In query mode, return type is
based on queried flag.
Flags:
- insertTrack : it (int) [create]
This flag is used to insert a new empty track at the track index specified.
- lock : l (bool) [create,query,edit]
This flag specifies whether clips on a track are to be locked or not.
- mute : m (bool) [create,query,edit]
This flag specifies whether clips on a track are to be muted or not.
- removeEmptyTracks : ret (bool) [create]
This flag is used to remove all tracks that have no clips.
- removeTrack : rt (int) [create]
This flag is used to remove the track with the specified index. The track must have no clips on it before it can be
removed.
- solo : so (bool) [create,query,edit]
This flag specifies whether clips on a track are to be soloed or not.
- track : t (int) [create,query,edit]
Used to specify a new track index for a cache to be displayed. Track-indices are 1-based.
Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command `maya.cmds.cacheFileTrack`<|endoftext|> |
a97e98a642e2b9a3c1a1ce190ab989d8f92e427d12086360a98db91227b0619b | def exportSelectedAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | exportSelectedAnimFromReference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportSelectedAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | def exportSelectedAnimFromReference(exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass<|docstring|>Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
c5ee12ec67639f8f1c92a6da2b10bcc6ceee009e9be065c087f0e9c79988a29e | def openFile(*args, **kwargs):
'\n Open the specified file. Returns the name of the opened file. \n \n Flags:\n - loadAllDeferred:\n This flag is obsolete, and has been replaced by the loadReferenceDepth flag. When used with the -open flag, determines\n if the -deferReference flag is respected when reading in the file. If true is passed, all of the references are loaded.\n If false is passed, the -deferReference flag is respected.\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass | Open the specified file. Returns the name of the opened file.
Flags:
- loadAllDeferred:
This flag is obsolete, and has been replaced by the loadReferenceDepth flag. When used with the -open flag, determines
if the -deferReference flag is respected when reading in the file. If true is passed, all of the references are loaded.
If false is passed, the -deferReference flag is respected.
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | openFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def openFile(*args, **kwargs):
'\n Open the specified file. Returns the name of the opened file. \n \n Flags:\n - loadAllDeferred:\n This flag is obsolete, and has been replaced by the loadReferenceDepth flag. When used with the -open flag, determines\n if the -deferReference flag is respected when reading in the file. If true is passed, all of the references are loaded.\n If false is passed, the -deferReference flag is respected.\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass | def openFile(*args, **kwargs):
'\n Open the specified file. Returns the name of the opened file. \n \n Flags:\n - loadAllDeferred:\n This flag is obsolete, and has been replaced by the loadReferenceDepth flag. When used with the -open flag, determines\n if the -deferReference flag is respected when reading in the file. If true is passed, all of the references are loaded.\n If false is passed, the -deferReference flag is respected.\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Open the specified file. Returns the name of the opened file.
Flags:
- loadAllDeferred:
This flag is obsolete, and has been replaced by the loadReferenceDepth flag. When used with the -open flag, determines
if the -deferReference flag is respected when reading in the file. If true is passed, all of the references are loaded.
If false is passed, the -deferReference flag is respected.
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
0fc6ca18f13dc46f02ba49dfcadcff1eca0d80914d1a97203938a7c59c0c7931 | def openGLExtension(*args, **kwargs):
'\n Command returns the extension name depending on whether a given OpenGL extension is supported or not. The input is the\n extension string to the -extension flag. If the -extension flag is not used, or if the string argument to this flag is\n an empty string than all extension names are returned in a single string. If the extension exists it is not necessary\n true that the extension is supported. This command can only be used when a modeling view has been created. Otherwise no\n extensions will have been initialized and the resulting string will always be the empty string.\n \n Flags:\n - extension : ext (unicode) [create]\n Specifies the OpenGL extension to query.\n \n - renderer : rnd (bool) [create]\n Specifies to query the OpenGL renderer.\n \n - vendor : vnd (bool) [create]\n Specifies to query the company responsible for the OpenGL implementation.\n \n - version : ver (bool) [create]\n Specifies to query the OpenGL version. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.openGLExtension`\n '
pass | Command returns the extension name depending on whether a given OpenGL extension is supported or not. The input is the
extension string to the -extension flag. If the -extension flag is not used, or if the string argument to this flag is
an empty string than all extension names are returned in a single string. If the extension exists it is not necessary
true that the extension is supported. This command can only be used when a modeling view has been created. Otherwise no
extensions will have been initialized and the resulting string will always be the empty string.
Flags:
- extension : ext (unicode) [create]
Specifies the OpenGL extension to query.
- renderer : rnd (bool) [create]
Specifies to query the OpenGL renderer.
- vendor : vnd (bool) [create]
Specifies to query the company responsible for the OpenGL implementation.
- version : ver (bool) [create]
Specifies to query the OpenGL version. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.openGLExtension` | mayaSDK/pymel/core/system.py | openGLExtension | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def openGLExtension(*args, **kwargs):
'\n Command returns the extension name depending on whether a given OpenGL extension is supported or not. The input is the\n extension string to the -extension flag. If the -extension flag is not used, or if the string argument to this flag is\n an empty string than all extension names are returned in a single string. If the extension exists it is not necessary\n true that the extension is supported. This command can only be used when a modeling view has been created. Otherwise no\n extensions will have been initialized and the resulting string will always be the empty string.\n \n Flags:\n - extension : ext (unicode) [create]\n Specifies the OpenGL extension to query.\n \n - renderer : rnd (bool) [create]\n Specifies to query the OpenGL renderer.\n \n - vendor : vnd (bool) [create]\n Specifies to query the company responsible for the OpenGL implementation.\n \n - version : ver (bool) [create]\n Specifies to query the OpenGL version. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.openGLExtension`\n '
pass | def openGLExtension(*args, **kwargs):
'\n Command returns the extension name depending on whether a given OpenGL extension is supported or not. The input is the\n extension string to the -extension flag. If the -extension flag is not used, or if the string argument to this flag is\n an empty string than all extension names are returned in a single string. If the extension exists it is not necessary\n true that the extension is supported. This command can only be used when a modeling view has been created. Otherwise no\n extensions will have been initialized and the resulting string will always be the empty string.\n \n Flags:\n - extension : ext (unicode) [create]\n Specifies the OpenGL extension to query.\n \n - renderer : rnd (bool) [create]\n Specifies to query the OpenGL renderer.\n \n - vendor : vnd (bool) [create]\n Specifies to query the company responsible for the OpenGL implementation.\n \n - version : ver (bool) [create]\n Specifies to query the OpenGL version. Flag can have multiple arguments, passed either as a\n tuple or a list.\n \n \n Derived from mel command `maya.cmds.openGLExtension`\n '
pass<|docstring|>Command returns the extension name depending on whether a given OpenGL extension is supported or not. The input is the
extension string to the -extension flag. If the -extension flag is not used, or if the string argument to this flag is
an empty string than all extension names are returned in a single string. If the extension exists it is not necessary
true that the extension is supported. This command can only be used when a modeling view has been created. Otherwise no
extensions will have been initialized and the resulting string will always be the empty string.
Flags:
- extension : ext (unicode) [create]
Specifies the OpenGL extension to query.
- renderer : rnd (bool) [create]
Specifies to query the OpenGL renderer.
- vendor : vnd (bool) [create]
Specifies to query the company responsible for the OpenGL implementation.
- version : ver (bool) [create]
Specifies to query the OpenGL version. Flag can have multiple arguments, passed either as a
tuple or a list.
Derived from mel command `maya.cmds.openGLExtension`<|endoftext|> |
b694f0f0f1163e3226a2a5f7fc9b13fd7d6bf28bc16c8093e0347384279bdf06 | def loadReference(filepath, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | loadReference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def loadReference(filepath, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | def loadReference(filepath, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file`<|endoftext|> |
7ef29de6881678d2c5fcbd18e858eb24fdfc8c3dc7e0ca7cb2dbbcdc2b267865 | def filePathEditor(*args, **kwargs):
"\n Maya can reference and use external files, such as textures or other Maya scenes. This command is used to get the\n information about those file paths and modify them in bulk. By default, only the most frequently used types of files are\n presented to the user: TextureScene referenceAudioImage planeFor the command to manage more file types, those must be\n explicitly requested by the caller using the registerTypeflag. This flag tells the command about attributes or nodes\n that are to reveal their paths when the command is used. Currently, the attributes specified through this flag must\n have the usedAsFileNameproperty. Supported nodes are referenceand plug-in nodes. For example: brush.flowerImageor\n referencecan be used as value for this flag. Conversely, the deregisterTypeflag can be used to tell the command to stop\n handling certain attributes or nodes. Once the set of attributes and nodes to be searched for external files is\n selected, the command can be used to obtain a list of plugs that contain file names. Additional information can be\n obtained, such as each file's name, directory, and report whether the file exists. Additional information about the\n associated node or plug can also be obtained, such as its name, type and label. Finally, the command can be used to\n perform various manipulations such as editing the paths, remapping the files or verifying the presence of identically-\n named files in target directories. See the repath, copyAndRepathand replaceFieldflags for more information. The results\n of these manipulations can be previewed before they are applied using the previewflag. In query mode,\n return type is based on queried flag.\n \n Flags:\n - attributeOnly : ao (bool) [query]\n Used with listFilesto return the node and attribute name that are using the files.\n \n - attributeType : at (unicode) [query]\n Query the attribute type for the specified plug.\n \n - byType : bt (unicode) [query]\n Used with listFilesto query files that are used by the specified node type or attribute type.\n \n - copyAndRepath : cr (unicode, unicode) [create]\n Copy a source file to the destination path and repath the plug data to the new file. The source file must have the same\n name as the one in the plug. The command will look for the file at the specified location first. If not found, the\n command will try to use the original file in the plug. If the file is still not found, nothing is done.\n \n - deregisterType : dt (unicode) [create]\n Deregister a file type from the list of registered types so the command stops handling it. Unless the temporaryflag is\n used, the type will be removed from the preferences will not reappear on application restart. When the temporaryflag is\n specified, the deregistration is only effective for the current session. The deregistration will be rejected if the type\n has already been unregistered. However, it is valid to deregister permanently (without the temporaryflag) a type after\n it has been temporarily deregistered.\n \n - force : f (bool) [create]\n Used with flag repathto repath all files to the new location, including the resolved files. Otherwise, repathwill only\n deal with the missing files. Used with flag copyAndRepathto overwrite any colliding file at the destination. Otherwise,\n copyAndRepathwill use the existing file at the destination instead of overwriting it. The default value is off.\n \n - listDirectories : ld (unicode) [query]\n List all sub directories of the specified directory. Only directories containing at least one file whose type is\n registered (see registerType) will be listed. If no directory is provided, all directories applicable to the scene will\n be returned.\n \n - listFiles : lf (unicode) [query]\n List files in the specified directory. No recursion in subdirectories will be performed.\n \n - listRegisteredTypes : lrt (bool) [query]\n Query the list of registered attribute types. The registered types include the auto-loaded types from the preference\n file and the types explicitly registered by the user, both with and without the temporaryflag.\n \n - preview : p (bool) [create]\n Used with repath, replaceStringor copyAndRepathto preview the result of the operation instead of excuting it. When it is\n used with repathor replaceString, the command returns the new file path and a status flag indicating whether the new\n file exists (1) or not (0). The path name and the file status are listed in pairs. When it is used with copyAndRepath,\n the command returns the files that need copying.\n \n - recursive : rc (bool) [create]\n Used with flag repathto search the files in the target directory and its subdirectories recursively. If the flag is on,\n the command will repath the plug to a file that has the same name in the target directory or sub directories. If the\n flag is off, the command will apply the directory change without verifying that the resulting file exists.\n \n - refresh : rf (bool) [create]\n Clear and re-collect the file information in the scene. The command does not automatically track file path modifications\n in the scene. So it is the users responsibility to cause refreshes in order to get up-to-date information.\n \n - registerType : rt (unicode) [create]\n Register a new file type that the command will handle and recognize from now on. Unless the temporaryflag is used, the\n registered type is saved in the preferences and reappears on application restart. The new type will be rejected if it\n collides with an existing type or label. One exception to this is when registering a type without the temporaryflag\n after the type has been registered with it. This is considered as modifying the persistent/temporary property of the\n existing type, rather than registering a new type.\n \n - relativeNames : rel (bool) [query]\n Used with listDirectoriesor listFilesto return the relative path of each directory or file. Paths are relative to the\n current project folder. If a file or the directory is not under the current project folder, the returned path will still\n be a full path.\n \n - repath : r (unicode) [create]\n Replace the directory part of a file path with a specified location. The file name will be preserved.\n \n - replaceAll : ra (bool) [create]\n Used with flag replaceString, specifies how many times the matched string will be replaced. When the flag is false, only\n the first matched string will be replaced. Otherwise, all matched strings will be replaced. The default value is false.\n \n - replaceField : rfd (unicode) [create]\n Used with the replaceStringflag to control the scope of the replacement. Possible values are: pathOnly- only replace\n strings in the directory part. nameOnly- only replace strings in the file name, without the directory. fullPath- replace\n strings anywhere in the full name. The default argument is fullPath.\n \n - replaceString : rs (unicode, unicode) [create]\n Replace the target string with the new string in the file paths. The flag needs two arguments: the first one is the\n target string and the second one is the new string. See the replaceFieldand replaceAllflags to control how the\n replacement is performed.\n \n - status : s (bool) [query]\n Used with listFiles, this will cause the returned list of files to include one status flag per file: 0 if it cannot be\n resolved and 1 if it can. Used with listDirectories, this will cause the returned list of directories to include one\n status flag per directory: 0 if it cannot be resolved, 1 if it can and 2 if the resolution is partial. The status will\n be interleaved with the file/directory names, with the name appearing first. See the example for listFiles. See the\n withAttributeflag for another way of getting per-file information. When multiple per-entry items appear in the list\n (e.g.: plug name), the status is always last.\n \n - temporary : tmp (bool) [create]\n Make the effect of the register/deregisterflag only applicable in the current session. Normally, a type\n registration/deregistration is permanent and is made persistent via a preference file. When the temporaryflag is\n specified, the changes will not be saved to the preference file. When the application restarts, any type that has been\n previously temporarily registered will not appear and any type that was temporarily deregistered will re-appear.\n \n - typeLabel : tl (unicode) [create,query]\n Used with registerTypeto set the label name for the new file type. Used with queryto return the type label for the\n specified attribute type. For default types, the type label is the localized string. For other types, the type label is\n supplied by user.\n \n - unresolved : u (bool) [query]\n Used with listFilesto query the unresolved files that are being used in the scene.\n \n - withAttribute : wa (bool) [query]\n Used with listFilesto return the name of the plug using a given file. For example, if file.jpgis used by the plug\n node1.fileTextureName, then the returned string will become the pair file.jpg node1.fileTextureName. See the statusflag\n for another way to get per-file information. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.filePathEditor`\n "
pass | Maya can reference and use external files, such as textures or other Maya scenes. This command is used to get the
information about those file paths and modify them in bulk. By default, only the most frequently used types of files are
presented to the user: TextureScene referenceAudioImage planeFor the command to manage more file types, those must be
explicitly requested by the caller using the registerTypeflag. This flag tells the command about attributes or nodes
that are to reveal their paths when the command is used. Currently, the attributes specified through this flag must
have the usedAsFileNameproperty. Supported nodes are referenceand plug-in nodes. For example: brush.flowerImageor
referencecan be used as value for this flag. Conversely, the deregisterTypeflag can be used to tell the command to stop
handling certain attributes or nodes. Once the set of attributes and nodes to be searched for external files is
selected, the command can be used to obtain a list of plugs that contain file names. Additional information can be
obtained, such as each file's name, directory, and report whether the file exists. Additional information about the
associated node or plug can also be obtained, such as its name, type and label. Finally, the command can be used to
perform various manipulations such as editing the paths, remapping the files or verifying the presence of identically-
named files in target directories. See the repath, copyAndRepathand replaceFieldflags for more information. The results
of these manipulations can be previewed before they are applied using the previewflag. In query mode,
return type is based on queried flag.
Flags:
- attributeOnly : ao (bool) [query]
Used with listFilesto return the node and attribute name that are using the files.
- attributeType : at (unicode) [query]
Query the attribute type for the specified plug.
- byType : bt (unicode) [query]
Used with listFilesto query files that are used by the specified node type or attribute type.
- copyAndRepath : cr (unicode, unicode) [create]
Copy a source file to the destination path and repath the plug data to the new file. The source file must have the same
name as the one in the plug. The command will look for the file at the specified location first. If not found, the
command will try to use the original file in the plug. If the file is still not found, nothing is done.
- deregisterType : dt (unicode) [create]
Deregister a file type from the list of registered types so the command stops handling it. Unless the temporaryflag is
used, the type will be removed from the preferences will not reappear on application restart. When the temporaryflag is
specified, the deregistration is only effective for the current session. The deregistration will be rejected if the type
has already been unregistered. However, it is valid to deregister permanently (without the temporaryflag) a type after
it has been temporarily deregistered.
- force : f (bool) [create]
Used with flag repathto repath all files to the new location, including the resolved files. Otherwise, repathwill only
deal with the missing files. Used with flag copyAndRepathto overwrite any colliding file at the destination. Otherwise,
copyAndRepathwill use the existing file at the destination instead of overwriting it. The default value is off.
- listDirectories : ld (unicode) [query]
List all sub directories of the specified directory. Only directories containing at least one file whose type is
registered (see registerType) will be listed. If no directory is provided, all directories applicable to the scene will
be returned.
- listFiles : lf (unicode) [query]
List files in the specified directory. No recursion in subdirectories will be performed.
- listRegisteredTypes : lrt (bool) [query]
Query the list of registered attribute types. The registered types include the auto-loaded types from the preference
file and the types explicitly registered by the user, both with and without the temporaryflag.
- preview : p (bool) [create]
Used with repath, replaceStringor copyAndRepathto preview the result of the operation instead of excuting it. When it is
used with repathor replaceString, the command returns the new file path and a status flag indicating whether the new
file exists (1) or not (0). The path name and the file status are listed in pairs. When it is used with copyAndRepath,
the command returns the files that need copying.
- recursive : rc (bool) [create]
Used with flag repathto search the files in the target directory and its subdirectories recursively. If the flag is on,
the command will repath the plug to a file that has the same name in the target directory or sub directories. If the
flag is off, the command will apply the directory change without verifying that the resulting file exists.
- refresh : rf (bool) [create]
Clear and re-collect the file information in the scene. The command does not automatically track file path modifications
in the scene. So it is the users responsibility to cause refreshes in order to get up-to-date information.
- registerType : rt (unicode) [create]
Register a new file type that the command will handle and recognize from now on. Unless the temporaryflag is used, the
registered type is saved in the preferences and reappears on application restart. The new type will be rejected if it
collides with an existing type or label. One exception to this is when registering a type without the temporaryflag
after the type has been registered with it. This is considered as modifying the persistent/temporary property of the
existing type, rather than registering a new type.
- relativeNames : rel (bool) [query]
Used with listDirectoriesor listFilesto return the relative path of each directory or file. Paths are relative to the
current project folder. If a file or the directory is not under the current project folder, the returned path will still
be a full path.
- repath : r (unicode) [create]
Replace the directory part of a file path with a specified location. The file name will be preserved.
- replaceAll : ra (bool) [create]
Used with flag replaceString, specifies how many times the matched string will be replaced. When the flag is false, only
the first matched string will be replaced. Otherwise, all matched strings will be replaced. The default value is false.
- replaceField : rfd (unicode) [create]
Used with the replaceStringflag to control the scope of the replacement. Possible values are: pathOnly- only replace
strings in the directory part. nameOnly- only replace strings in the file name, without the directory. fullPath- replace
strings anywhere in the full name. The default argument is fullPath.
- replaceString : rs (unicode, unicode) [create]
Replace the target string with the new string in the file paths. The flag needs two arguments: the first one is the
target string and the second one is the new string. See the replaceFieldand replaceAllflags to control how the
replacement is performed.
- status : s (bool) [query]
Used with listFiles, this will cause the returned list of files to include one status flag per file: 0 if it cannot be
resolved and 1 if it can. Used with listDirectories, this will cause the returned list of directories to include one
status flag per directory: 0 if it cannot be resolved, 1 if it can and 2 if the resolution is partial. The status will
be interleaved with the file/directory names, with the name appearing first. See the example for listFiles. See the
withAttributeflag for another way of getting per-file information. When multiple per-entry items appear in the list
(e.g.: plug name), the status is always last.
- temporary : tmp (bool) [create]
Make the effect of the register/deregisterflag only applicable in the current session. Normally, a type
registration/deregistration is permanent and is made persistent via a preference file. When the temporaryflag is
specified, the changes will not be saved to the preference file. When the application restarts, any type that has been
previously temporarily registered will not appear and any type that was temporarily deregistered will re-appear.
- typeLabel : tl (unicode) [create,query]
Used with registerTypeto set the label name for the new file type. Used with queryto return the type label for the
specified attribute type. For default types, the type label is the localized string. For other types, the type label is
supplied by user.
- unresolved : u (bool) [query]
Used with listFilesto query the unresolved files that are being used in the scene.
- withAttribute : wa (bool) [query]
Used with listFilesto return the name of the plug using a given file. For example, if file.jpgis used by the plug
node1.fileTextureName, then the returned string will become the pair file.jpg node1.fileTextureName. See the statusflag
for another way to get per-file information. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.filePathEditor` | mayaSDK/pymel/core/system.py | filePathEditor | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def filePathEditor(*args, **kwargs):
"\n Maya can reference and use external files, such as textures or other Maya scenes. This command is used to get the\n information about those file paths and modify them in bulk. By default, only the most frequently used types of files are\n presented to the user: TextureScene referenceAudioImage planeFor the command to manage more file types, those must be\n explicitly requested by the caller using the registerTypeflag. This flag tells the command about attributes or nodes\n that are to reveal their paths when the command is used. Currently, the attributes specified through this flag must\n have the usedAsFileNameproperty. Supported nodes are referenceand plug-in nodes. For example: brush.flowerImageor\n referencecan be used as value for this flag. Conversely, the deregisterTypeflag can be used to tell the command to stop\n handling certain attributes or nodes. Once the set of attributes and nodes to be searched for external files is\n selected, the command can be used to obtain a list of plugs that contain file names. Additional information can be\n obtained, such as each file's name, directory, and report whether the file exists. Additional information about the\n associated node or plug can also be obtained, such as its name, type and label. Finally, the command can be used to\n perform various manipulations such as editing the paths, remapping the files or verifying the presence of identically-\n named files in target directories. See the repath, copyAndRepathand replaceFieldflags for more information. The results\n of these manipulations can be previewed before they are applied using the previewflag. In query mode,\n return type is based on queried flag.\n \n Flags:\n - attributeOnly : ao (bool) [query]\n Used with listFilesto return the node and attribute name that are using the files.\n \n - attributeType : at (unicode) [query]\n Query the attribute type for the specified plug.\n \n - byType : bt (unicode) [query]\n Used with listFilesto query files that are used by the specified node type or attribute type.\n \n - copyAndRepath : cr (unicode, unicode) [create]\n Copy a source file to the destination path and repath the plug data to the new file. The source file must have the same\n name as the one in the plug. The command will look for the file at the specified location first. If not found, the\n command will try to use the original file in the plug. If the file is still not found, nothing is done.\n \n - deregisterType : dt (unicode) [create]\n Deregister a file type from the list of registered types so the command stops handling it. Unless the temporaryflag is\n used, the type will be removed from the preferences will not reappear on application restart. When the temporaryflag is\n specified, the deregistration is only effective for the current session. The deregistration will be rejected if the type\n has already been unregistered. However, it is valid to deregister permanently (without the temporaryflag) a type after\n it has been temporarily deregistered.\n \n - force : f (bool) [create]\n Used with flag repathto repath all files to the new location, including the resolved files. Otherwise, repathwill only\n deal with the missing files. Used with flag copyAndRepathto overwrite any colliding file at the destination. Otherwise,\n copyAndRepathwill use the existing file at the destination instead of overwriting it. The default value is off.\n \n - listDirectories : ld (unicode) [query]\n List all sub directories of the specified directory. Only directories containing at least one file whose type is\n registered (see registerType) will be listed. If no directory is provided, all directories applicable to the scene will\n be returned.\n \n - listFiles : lf (unicode) [query]\n List files in the specified directory. No recursion in subdirectories will be performed.\n \n - listRegisteredTypes : lrt (bool) [query]\n Query the list of registered attribute types. The registered types include the auto-loaded types from the preference\n file and the types explicitly registered by the user, both with and without the temporaryflag.\n \n - preview : p (bool) [create]\n Used with repath, replaceStringor copyAndRepathto preview the result of the operation instead of excuting it. When it is\n used with repathor replaceString, the command returns the new file path and a status flag indicating whether the new\n file exists (1) or not (0). The path name and the file status are listed in pairs. When it is used with copyAndRepath,\n the command returns the files that need copying.\n \n - recursive : rc (bool) [create]\n Used with flag repathto search the files in the target directory and its subdirectories recursively. If the flag is on,\n the command will repath the plug to a file that has the same name in the target directory or sub directories. If the\n flag is off, the command will apply the directory change without verifying that the resulting file exists.\n \n - refresh : rf (bool) [create]\n Clear and re-collect the file information in the scene. The command does not automatically track file path modifications\n in the scene. So it is the users responsibility to cause refreshes in order to get up-to-date information.\n \n - registerType : rt (unicode) [create]\n Register a new file type that the command will handle and recognize from now on. Unless the temporaryflag is used, the\n registered type is saved in the preferences and reappears on application restart. The new type will be rejected if it\n collides with an existing type or label. One exception to this is when registering a type without the temporaryflag\n after the type has been registered with it. This is considered as modifying the persistent/temporary property of the\n existing type, rather than registering a new type.\n \n - relativeNames : rel (bool) [query]\n Used with listDirectoriesor listFilesto return the relative path of each directory or file. Paths are relative to the\n current project folder. If a file or the directory is not under the current project folder, the returned path will still\n be a full path.\n \n - repath : r (unicode) [create]\n Replace the directory part of a file path with a specified location. The file name will be preserved.\n \n - replaceAll : ra (bool) [create]\n Used with flag replaceString, specifies how many times the matched string will be replaced. When the flag is false, only\n the first matched string will be replaced. Otherwise, all matched strings will be replaced. The default value is false.\n \n - replaceField : rfd (unicode) [create]\n Used with the replaceStringflag to control the scope of the replacement. Possible values are: pathOnly- only replace\n strings in the directory part. nameOnly- only replace strings in the file name, without the directory. fullPath- replace\n strings anywhere in the full name. The default argument is fullPath.\n \n - replaceString : rs (unicode, unicode) [create]\n Replace the target string with the new string in the file paths. The flag needs two arguments: the first one is the\n target string and the second one is the new string. See the replaceFieldand replaceAllflags to control how the\n replacement is performed.\n \n - status : s (bool) [query]\n Used with listFiles, this will cause the returned list of files to include one status flag per file: 0 if it cannot be\n resolved and 1 if it can. Used with listDirectories, this will cause the returned list of directories to include one\n status flag per directory: 0 if it cannot be resolved, 1 if it can and 2 if the resolution is partial. The status will\n be interleaved with the file/directory names, with the name appearing first. See the example for listFiles. See the\n withAttributeflag for another way of getting per-file information. When multiple per-entry items appear in the list\n (e.g.: plug name), the status is always last.\n \n - temporary : tmp (bool) [create]\n Make the effect of the register/deregisterflag only applicable in the current session. Normally, a type\n registration/deregistration is permanent and is made persistent via a preference file. When the temporaryflag is\n specified, the changes will not be saved to the preference file. When the application restarts, any type that has been\n previously temporarily registered will not appear and any type that was temporarily deregistered will re-appear.\n \n - typeLabel : tl (unicode) [create,query]\n Used with registerTypeto set the label name for the new file type. Used with queryto return the type label for the\n specified attribute type. For default types, the type label is the localized string. For other types, the type label is\n supplied by user.\n \n - unresolved : u (bool) [query]\n Used with listFilesto query the unresolved files that are being used in the scene.\n \n - withAttribute : wa (bool) [query]\n Used with listFilesto return the name of the plug using a given file. For example, if file.jpgis used by the plug\n node1.fileTextureName, then the returned string will become the pair file.jpg node1.fileTextureName. See the statusflag\n for another way to get per-file information. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.filePathEditor`\n "
pass | def filePathEditor(*args, **kwargs):
"\n Maya can reference and use external files, such as textures or other Maya scenes. This command is used to get the\n information about those file paths and modify them in bulk. By default, only the most frequently used types of files are\n presented to the user: TextureScene referenceAudioImage planeFor the command to manage more file types, those must be\n explicitly requested by the caller using the registerTypeflag. This flag tells the command about attributes or nodes\n that are to reveal their paths when the command is used. Currently, the attributes specified through this flag must\n have the usedAsFileNameproperty. Supported nodes are referenceand plug-in nodes. For example: brush.flowerImageor\n referencecan be used as value for this flag. Conversely, the deregisterTypeflag can be used to tell the command to stop\n handling certain attributes or nodes. Once the set of attributes and nodes to be searched for external files is\n selected, the command can be used to obtain a list of plugs that contain file names. Additional information can be\n obtained, such as each file's name, directory, and report whether the file exists. Additional information about the\n associated node or plug can also be obtained, such as its name, type and label. Finally, the command can be used to\n perform various manipulations such as editing the paths, remapping the files or verifying the presence of identically-\n named files in target directories. See the repath, copyAndRepathand replaceFieldflags for more information. The results\n of these manipulations can be previewed before they are applied using the previewflag. In query mode,\n return type is based on queried flag.\n \n Flags:\n - attributeOnly : ao (bool) [query]\n Used with listFilesto return the node and attribute name that are using the files.\n \n - attributeType : at (unicode) [query]\n Query the attribute type for the specified plug.\n \n - byType : bt (unicode) [query]\n Used with listFilesto query files that are used by the specified node type or attribute type.\n \n - copyAndRepath : cr (unicode, unicode) [create]\n Copy a source file to the destination path and repath the plug data to the new file. The source file must have the same\n name as the one in the plug. The command will look for the file at the specified location first. If not found, the\n command will try to use the original file in the plug. If the file is still not found, nothing is done.\n \n - deregisterType : dt (unicode) [create]\n Deregister a file type from the list of registered types so the command stops handling it. Unless the temporaryflag is\n used, the type will be removed from the preferences will not reappear on application restart. When the temporaryflag is\n specified, the deregistration is only effective for the current session. The deregistration will be rejected if the type\n has already been unregistered. However, it is valid to deregister permanently (without the temporaryflag) a type after\n it has been temporarily deregistered.\n \n - force : f (bool) [create]\n Used with flag repathto repath all files to the new location, including the resolved files. Otherwise, repathwill only\n deal with the missing files. Used with flag copyAndRepathto overwrite any colliding file at the destination. Otherwise,\n copyAndRepathwill use the existing file at the destination instead of overwriting it. The default value is off.\n \n - listDirectories : ld (unicode) [query]\n List all sub directories of the specified directory. Only directories containing at least one file whose type is\n registered (see registerType) will be listed. If no directory is provided, all directories applicable to the scene will\n be returned.\n \n - listFiles : lf (unicode) [query]\n List files in the specified directory. No recursion in subdirectories will be performed.\n \n - listRegisteredTypes : lrt (bool) [query]\n Query the list of registered attribute types. The registered types include the auto-loaded types from the preference\n file and the types explicitly registered by the user, both with and without the temporaryflag.\n \n - preview : p (bool) [create]\n Used with repath, replaceStringor copyAndRepathto preview the result of the operation instead of excuting it. When it is\n used with repathor replaceString, the command returns the new file path and a status flag indicating whether the new\n file exists (1) or not (0). The path name and the file status are listed in pairs. When it is used with copyAndRepath,\n the command returns the files that need copying.\n \n - recursive : rc (bool) [create]\n Used with flag repathto search the files in the target directory and its subdirectories recursively. If the flag is on,\n the command will repath the plug to a file that has the same name in the target directory or sub directories. If the\n flag is off, the command will apply the directory change without verifying that the resulting file exists.\n \n - refresh : rf (bool) [create]\n Clear and re-collect the file information in the scene. The command does not automatically track file path modifications\n in the scene. So it is the users responsibility to cause refreshes in order to get up-to-date information.\n \n - registerType : rt (unicode) [create]\n Register a new file type that the command will handle and recognize from now on. Unless the temporaryflag is used, the\n registered type is saved in the preferences and reappears on application restart. The new type will be rejected if it\n collides with an existing type or label. One exception to this is when registering a type without the temporaryflag\n after the type has been registered with it. This is considered as modifying the persistent/temporary property of the\n existing type, rather than registering a new type.\n \n - relativeNames : rel (bool) [query]\n Used with listDirectoriesor listFilesto return the relative path of each directory or file. Paths are relative to the\n current project folder. If a file or the directory is not under the current project folder, the returned path will still\n be a full path.\n \n - repath : r (unicode) [create]\n Replace the directory part of a file path with a specified location. The file name will be preserved.\n \n - replaceAll : ra (bool) [create]\n Used with flag replaceString, specifies how many times the matched string will be replaced. When the flag is false, only\n the first matched string will be replaced. Otherwise, all matched strings will be replaced. The default value is false.\n \n - replaceField : rfd (unicode) [create]\n Used with the replaceStringflag to control the scope of the replacement. Possible values are: pathOnly- only replace\n strings in the directory part. nameOnly- only replace strings in the file name, without the directory. fullPath- replace\n strings anywhere in the full name. The default argument is fullPath.\n \n - replaceString : rs (unicode, unicode) [create]\n Replace the target string with the new string in the file paths. The flag needs two arguments: the first one is the\n target string and the second one is the new string. See the replaceFieldand replaceAllflags to control how the\n replacement is performed.\n \n - status : s (bool) [query]\n Used with listFiles, this will cause the returned list of files to include one status flag per file: 0 if it cannot be\n resolved and 1 if it can. Used with listDirectories, this will cause the returned list of directories to include one\n status flag per directory: 0 if it cannot be resolved, 1 if it can and 2 if the resolution is partial. The status will\n be interleaved with the file/directory names, with the name appearing first. See the example for listFiles. See the\n withAttributeflag for another way of getting per-file information. When multiple per-entry items appear in the list\n (e.g.: plug name), the status is always last.\n \n - temporary : tmp (bool) [create]\n Make the effect of the register/deregisterflag only applicable in the current session. Normally, a type\n registration/deregistration is permanent and is made persistent via a preference file. When the temporaryflag is\n specified, the changes will not be saved to the preference file. When the application restarts, any type that has been\n previously temporarily registered will not appear and any type that was temporarily deregistered will re-appear.\n \n - typeLabel : tl (unicode) [create,query]\n Used with registerTypeto set the label name for the new file type. Used with queryto return the type label for the\n specified attribute type. For default types, the type label is the localized string. For other types, the type label is\n supplied by user.\n \n - unresolved : u (bool) [query]\n Used with listFilesto query the unresolved files that are being used in the scene.\n \n - withAttribute : wa (bool) [query]\n Used with listFilesto return the name of the plug using a given file. For example, if file.jpgis used by the plug\n node1.fileTextureName, then the returned string will become the pair file.jpg node1.fileTextureName. See the statusflag\n for another way to get per-file information. Flag can have multiple arguments, passed\n either as a tuple or a list.\n \n \n Derived from mel command `maya.cmds.filePathEditor`\n "
pass<|docstring|>Maya can reference and use external files, such as textures or other Maya scenes. This command is used to get the
information about those file paths and modify them in bulk. By default, only the most frequently used types of files are
presented to the user: TextureScene referenceAudioImage planeFor the command to manage more file types, those must be
explicitly requested by the caller using the registerTypeflag. This flag tells the command about attributes or nodes
that are to reveal their paths when the command is used. Currently, the attributes specified through this flag must
have the usedAsFileNameproperty. Supported nodes are referenceand plug-in nodes. For example: brush.flowerImageor
referencecan be used as value for this flag. Conversely, the deregisterTypeflag can be used to tell the command to stop
handling certain attributes or nodes. Once the set of attributes and nodes to be searched for external files is
selected, the command can be used to obtain a list of plugs that contain file names. Additional information can be
obtained, such as each file's name, directory, and report whether the file exists. Additional information about the
associated node or plug can also be obtained, such as its name, type and label. Finally, the command can be used to
perform various manipulations such as editing the paths, remapping the files or verifying the presence of identically-
named files in target directories. See the repath, copyAndRepathand replaceFieldflags for more information. The results
of these manipulations can be previewed before they are applied using the previewflag. In query mode,
return type is based on queried flag.
Flags:
- attributeOnly : ao (bool) [query]
Used with listFilesto return the node and attribute name that are using the files.
- attributeType : at (unicode) [query]
Query the attribute type for the specified plug.
- byType : bt (unicode) [query]
Used with listFilesto query files that are used by the specified node type or attribute type.
- copyAndRepath : cr (unicode, unicode) [create]
Copy a source file to the destination path and repath the plug data to the new file. The source file must have the same
name as the one in the plug. The command will look for the file at the specified location first. If not found, the
command will try to use the original file in the plug. If the file is still not found, nothing is done.
- deregisterType : dt (unicode) [create]
Deregister a file type from the list of registered types so the command stops handling it. Unless the temporaryflag is
used, the type will be removed from the preferences will not reappear on application restart. When the temporaryflag is
specified, the deregistration is only effective for the current session. The deregistration will be rejected if the type
has already been unregistered. However, it is valid to deregister permanently (without the temporaryflag) a type after
it has been temporarily deregistered.
- force : f (bool) [create]
Used with flag repathto repath all files to the new location, including the resolved files. Otherwise, repathwill only
deal with the missing files. Used with flag copyAndRepathto overwrite any colliding file at the destination. Otherwise,
copyAndRepathwill use the existing file at the destination instead of overwriting it. The default value is off.
- listDirectories : ld (unicode) [query]
List all sub directories of the specified directory. Only directories containing at least one file whose type is
registered (see registerType) will be listed. If no directory is provided, all directories applicable to the scene will
be returned.
- listFiles : lf (unicode) [query]
List files in the specified directory. No recursion in subdirectories will be performed.
- listRegisteredTypes : lrt (bool) [query]
Query the list of registered attribute types. The registered types include the auto-loaded types from the preference
file and the types explicitly registered by the user, both with and without the temporaryflag.
- preview : p (bool) [create]
Used with repath, replaceStringor copyAndRepathto preview the result of the operation instead of excuting it. When it is
used with repathor replaceString, the command returns the new file path and a status flag indicating whether the new
file exists (1) or not (0). The path name and the file status are listed in pairs. When it is used with copyAndRepath,
the command returns the files that need copying.
- recursive : rc (bool) [create]
Used with flag repathto search the files in the target directory and its subdirectories recursively. If the flag is on,
the command will repath the plug to a file that has the same name in the target directory or sub directories. If the
flag is off, the command will apply the directory change without verifying that the resulting file exists.
- refresh : rf (bool) [create]
Clear and re-collect the file information in the scene. The command does not automatically track file path modifications
in the scene. So it is the users responsibility to cause refreshes in order to get up-to-date information.
- registerType : rt (unicode) [create]
Register a new file type that the command will handle and recognize from now on. Unless the temporaryflag is used, the
registered type is saved in the preferences and reappears on application restart. The new type will be rejected if it
collides with an existing type or label. One exception to this is when registering a type without the temporaryflag
after the type has been registered with it. This is considered as modifying the persistent/temporary property of the
existing type, rather than registering a new type.
- relativeNames : rel (bool) [query]
Used with listDirectoriesor listFilesto return the relative path of each directory or file. Paths are relative to the
current project folder. If a file or the directory is not under the current project folder, the returned path will still
be a full path.
- repath : r (unicode) [create]
Replace the directory part of a file path with a specified location. The file name will be preserved.
- replaceAll : ra (bool) [create]
Used with flag replaceString, specifies how many times the matched string will be replaced. When the flag is false, only
the first matched string will be replaced. Otherwise, all matched strings will be replaced. The default value is false.
- replaceField : rfd (unicode) [create]
Used with the replaceStringflag to control the scope of the replacement. Possible values are: pathOnly- only replace
strings in the directory part. nameOnly- only replace strings in the file name, without the directory. fullPath- replace
strings anywhere in the full name. The default argument is fullPath.
- replaceString : rs (unicode, unicode) [create]
Replace the target string with the new string in the file paths. The flag needs two arguments: the first one is the
target string and the second one is the new string. See the replaceFieldand replaceAllflags to control how the
replacement is performed.
- status : s (bool) [query]
Used with listFiles, this will cause the returned list of files to include one status flag per file: 0 if it cannot be
resolved and 1 if it can. Used with listDirectories, this will cause the returned list of directories to include one
status flag per directory: 0 if it cannot be resolved, 1 if it can and 2 if the resolution is partial. The status will
be interleaved with the file/directory names, with the name appearing first. See the example for listFiles. See the
withAttributeflag for another way of getting per-file information. When multiple per-entry items appear in the list
(e.g.: plug name), the status is always last.
- temporary : tmp (bool) [create]
Make the effect of the register/deregisterflag only applicable in the current session. Normally, a type
registration/deregistration is permanent and is made persistent via a preference file. When the temporaryflag is
specified, the changes will not be saved to the preference file. When the application restarts, any type that has been
previously temporarily registered will not appear and any type that was temporarily deregistered will re-appear.
- typeLabel : tl (unicode) [create,query]
Used with registerTypeto set the label name for the new file type. Used with queryto return the type label for the
specified attribute type. For default types, the type label is the localized string. For other types, the type label is
supplied by user.
- unresolved : u (bool) [query]
Used with listFilesto query the unresolved files that are being used in the scene.
- withAttribute : wa (bool) [query]
Used with listFilesto return the name of the plug using a given file. For example, if file.jpgis used by the plug
node1.fileTextureName, then the returned string will become the pair file.jpg node1.fileTextureName. See the statusflag
for another way to get per-file information. Flag can have multiple arguments, passed
either as a tuple or a list.
Derived from mel command `maya.cmds.filePathEditor`<|endoftext|> |
9cd065422c9b7b0de24c9e5fadcce33daafa58ad6908d0c4eb1175d3a8ede312 | def remove(self, force='False'):
"\n Remove the reference edit. if 'force=True' then the reference will be unloaded from the scene (if it is not already unloaded)\n "
pass | Remove the reference edit. if 'force=True' then the reference will be unloaded from the scene (if it is not already unloaded) | mayaSDK/pymel/core/system.py | remove | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def remove(self, force='False'):
"\n \n "
pass | def remove(self, force='False'):
"\n \n "
pass<|docstring|>Remove the reference edit. if 'force=True' then the reference will be unloaded from the scene (if it is not already unloaded)<|endoftext|> |
160f2a35dbd73d36a2337f637c5de06bd6951db2d272490ccf2e28fc029707c3 | def getTypeName(self, **kwargs):
'\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in, audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of file types that match this file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in, audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | getTypeName | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getTypeName(self, **kwargs):
'\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in, audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of file types that match this file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def getTypeName(self, **kwargs):
'\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in, audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of file types that match this file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in, audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
ccdc22051828366709caf98a4bd849e155b348aaf8d759837f22a91ce9511f00 | def clean(self, haltOnError='True', reparentOtherChildren='True'):
'\n Deletes all nodes in this namespace\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass | Deletes all nodes in this namespace
Parameters
----------
haltOnError : bool
If true, and reparentOtherChildren is set, and there is an error in
reparenting, then raise an Exception (no rollback is performed);
otherwise, ignore the failed reparent, and continue
reparentOtherChildren : bool
If True, then if any transforms in this namespace have children NOT
in this namespace, then will attempt to reparent these children
under world (errors during these reparenting attempts is controlled
by haltOnError) | mayaSDK/pymel/core/system.py | clean | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def clean(self, haltOnError='True', reparentOtherChildren='True'):
'\n Deletes all nodes in this namespace\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass | def clean(self, haltOnError='True', reparentOtherChildren='True'):
'\n Deletes all nodes in this namespace\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass<|docstring|>Deletes all nodes in this namespace
Parameters
----------
haltOnError : bool
If true, and reparentOtherChildren is set, and there is an error in
reparenting, then raise an Exception (no rollback is performed);
otherwise, ignore the failed reparent, and continue
reparentOtherChildren : bool
If True, then if any transforms in this namespace have children NOT
in this namespace, then will attempt to reparent these children
under world (errors during these reparenting attempts is controlled
by haltOnError)<|endoftext|> |
7b55313b59f4123f04f432c3dcb8bf828ea2e18a08ff4b7aaf91356a6c333777 | def listNamespaces(self, recursive='False', internal='False'):
'\n List the namespaces contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out certain automatically created\n maya namespaces (ie, :UI, :shared); set to True to show these\n internal namespaces as well\n '
pass | List the namespaces contained within this namespace.
:parameters:
recursive : `bool`
Set to True to enable recursive search of sub (and sub-sub, etc)
namespaces
internal : `bool`
By default, this command filters out certain automatically created
maya namespaces (ie, :UI, :shared); set to True to show these
internal namespaces as well | mayaSDK/pymel/core/system.py | listNamespaces | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listNamespaces(self, recursive='False', internal='False'):
'\n List the namespaces contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out certain automatically created\n maya namespaces (ie, :UI, :shared); set to True to show these\n internal namespaces as well\n '
pass | def listNamespaces(self, recursive='False', internal='False'):
'\n List the namespaces contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out certain automatically created\n maya namespaces (ie, :UI, :shared); set to True to show these\n internal namespaces as well\n '
pass<|docstring|>List the namespaces contained within this namespace.
:parameters:
recursive : `bool`
Set to True to enable recursive search of sub (and sub-sub, etc)
namespaces
internal : `bool`
By default, this command filters out certain automatically created
maya namespaces (ie, :UI, :shared); set to True to show these
internal namespaces as well<|endoftext|> |
ff9248e4523ce4b2dc2a67449fb8de4d39f0cb548f1314f99a42698cd23d38e3 | def listNodes(self, recursive='False', internal='False'):
'\n List the nodes contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out nodes in certain automatically\n created maya namespaces (ie, :UI, :shared); set to True to show\n these internal namespaces as well\n '
pass | List the nodes contained within this namespace.
:parameters:
recursive : `bool`
Set to True to enable recursive search of sub (and sub-sub, etc)
namespaces
internal : `bool`
By default, this command filters out nodes in certain automatically
created maya namespaces (ie, :UI, :shared); set to True to show
these internal namespaces as well | mayaSDK/pymel/core/system.py | listNodes | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listNodes(self, recursive='False', internal='False'):
'\n List the nodes contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out nodes in certain automatically\n created maya namespaces (ie, :UI, :shared); set to True to show\n these internal namespaces as well\n '
pass | def listNodes(self, recursive='False', internal='False'):
'\n List the nodes contained within this namespace.\n \n :parameters:\n recursive : `bool`\n Set to True to enable recursive search of sub (and sub-sub, etc)\n namespaces\n internal : `bool`\n By default, this command filters out nodes in certain automatically\n created maya namespaces (ie, :UI, :shared); set to True to show\n these internal namespaces as well\n '
pass<|docstring|>List the nodes contained within this namespace.
:parameters:
recursive : `bool`
Set to True to enable recursive search of sub (and sub-sub, etc)
namespaces
internal : `bool`
By default, this command filters out nodes in certain automatically
created maya namespaces (ie, :UI, :shared); set to True to show
these internal namespaces as well<|endoftext|> |
3e37b01f699fddc84090a165f7e8896b6fda7ae227432006f27bc8dfbbe28d39 | def remove(self, haltOnError='True', reparentOtherChildren='True'):
'\n Removes this namespace\n \n Recursively deletes any nodes and sub-namespaces\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass | Removes this namespace
Recursively deletes any nodes and sub-namespaces
Parameters
----------
haltOnError : bool
If true, and reparentOtherChildren is set, and there is an error in
reparenting, then raise an Exception (no rollback is performed);
otherwise, ignore the failed reparent, and continue
reparentOtherChildren : bool
If True, then if any transforms in this namespace have children NOT
in this namespace, then will attempt to reparent these children
under world (errors during these reparenting attempts is controlled
by haltOnError) | mayaSDK/pymel/core/system.py | remove | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def remove(self, haltOnError='True', reparentOtherChildren='True'):
'\n Removes this namespace\n \n Recursively deletes any nodes and sub-namespaces\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass | def remove(self, haltOnError='True', reparentOtherChildren='True'):
'\n Removes this namespace\n \n Recursively deletes any nodes and sub-namespaces\n \n Parameters\n ----------\n haltOnError : bool\n If true, and reparentOtherChildren is set, and there is an error in\n reparenting, then raise an Exception (no rollback is performed);\n otherwise, ignore the failed reparent, and continue\n reparentOtherChildren : bool\n If True, then if any transforms in this namespace have children NOT\n in this namespace, then will attempt to reparent these children\n under world (errors during these reparenting attempts is controlled\n by haltOnError)\n '
pass<|docstring|>Removes this namespace
Recursively deletes any nodes and sub-namespaces
Parameters
----------
haltOnError : bool
If true, and reparentOtherChildren is set, and there is an error in
reparenting, then raise an Exception (no rollback is performed);
otherwise, ignore the failed reparent, and continue
reparentOtherChildren : bool
If True, then if any transforms in this namespace have children NOT
in this namespace, then will attempt to reparent these children
under world (errors during these reparenting attempts is controlled
by haltOnError)<|endoftext|> |
cf3cbedb0b11a9810e868748951b5c49a30e6122a095c32f8d62c4ccd202b981 | def clean(self, **kwargs):
'\n Remove edits from the passed in reference node. The reference must be in an unloaded state. To remove a particular type of edit, use the editCommand flag. If no flag is specified, all edits will be removed. \n \n Flags:\n - editCommand:\n For use with cleanReference. Remove only this type of edit. Supported edits are: setAttr addAttr deleteAttr connectAttr\n disconnectAttr and parent\n \n Derived from mel command `maya.cmds.file`\n '
pass | Remove edits from the passed in reference node. The reference must be in an unloaded state. To remove a particular type of edit, use the editCommand flag. If no flag is specified, all edits will be removed.
Flags:
- editCommand:
For use with cleanReference. Remove only this type of edit. Supported edits are: setAttr addAttr deleteAttr connectAttr
disconnectAttr and parent
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | clean | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def clean(self, **kwargs):
'\n Remove edits from the passed in reference node. The reference must be in an unloaded state. To remove a particular type of edit, use the editCommand flag. If no flag is specified, all edits will be removed. \n \n Flags:\n - editCommand:\n For use with cleanReference. Remove only this type of edit. Supported edits are: setAttr addAttr deleteAttr connectAttr\n disconnectAttr and parent\n \n Derived from mel command `maya.cmds.file`\n '
pass | def clean(self, **kwargs):
'\n Remove edits from the passed in reference node. The reference must be in an unloaded state. To remove a particular type of edit, use the editCommand flag. If no flag is specified, all edits will be removed. \n \n Flags:\n - editCommand:\n For use with cleanReference. Remove only this type of edit. Supported edits are: setAttr addAttr deleteAttr connectAttr\n disconnectAttr and parent\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Remove edits from the passed in reference node. The reference must be in an unloaded state. To remove a particular type of edit, use the editCommand flag. If no flag is specified, all edits will be removed.
Flags:
- editCommand:
For use with cleanReference. Remove only this type of edit. Supported edits are: setAttr addAttr deleteAttr connectAttr
disconnectAttr and parent
Derived from mel command `maya.cmds.file`<|endoftext|> |
66587521252e27677b2894883d12be9ea92a2e0ef1bb39f3518071ed19dde448 | def copyNumberList(self):
'\n When queried, this flag returns a string array containing a number that uniquely identifies each instance the file is used. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | When queried, this flag returns a string array containing a number that uniquely identifies each instance the file is used.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | copyNumberList | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def copyNumberList(self):
'\n When queried, this flag returns a string array containing a number that uniquely identifies each instance the file is used. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def copyNumberList(self):
'\n When queried, this flag returns a string array containing a number that uniquely identifies each instance the file is used. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>When queried, this flag returns a string array containing a number that uniquely identifies each instance the file is used.
Derived from mel command `maya.cmds.file`<|endoftext|> |
1d2ee0df15fb12073a33227091b3ed8553eb4dd3b2a8586b365e43bec7230c5f | def exportAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | exportAnim | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | def exportAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass<|docstring|>Export the main scene animation nodes and animation helper nodes from all referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
035a507655271e0ed580f654ada5a8172a1846120ec37e54f3fc1aeee4f414df | def exportSelectedAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | exportSelectedAnim | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportSelectedAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass | def exportSelectedAnim(self, exportPath, **kwargs):
"\n Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force\n remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the\n root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without\n prompting a dialog that warns user about the lost of edits.\n - referenceNode:\n This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one\n of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.\n If the named reference node does not exist within the scene the command will fail with an error. In Python the\n equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag\n appears after -query then it takes no argument and will cause the command to return the name of the reference node\n associated with the file given as the command's argument. If the file is not a reference or for some reason does not\n have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the\n current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as\n the flag's value. In query mode, this flag can accept a value.\n - type:\n Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,\n audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of\n file types that match this file.\n \n Derived from mel command `maya.cmds.file`\n "
pass<|docstring|>Export the main scene animation nodes and animation helper nodes from the selected referenced objects. This flag, when used in conjunction with the -rfn/referenceNode flag, can be constrained to only export animation nodes from the selected nodes of a specified reference file. See -ean/exportAnim flag description for details on usage of animation files.
Flags:
- force:
Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to force
remove reference namespace even if it has contents. Cannot be used with removeReference if the reference resides in the
root namespace. Used with unloadReference to force unload reference even if the reference node is locked, without
prompting a dialog that warns user about the lost of edits.
- referenceNode:
This flag is only used during queries. In MEL, if it appears before -query then it must be followed by the name of one
of the scene's reference nodes. That will determine the reference to be queried by whatever flags appear after -query.
If the named reference node does not exist within the scene the command will fail with an error. In Python the
equivalent behavior is obtained by passing the name of the reference node as the flag's value. In MEL, if this flag
appears after -query then it takes no argument and will cause the command to return the name of the reference node
associated with the file given as the command's argument. If the file is not a reference or for some reason does not
have a reference node (e.g., the user deleted it) then an empty string will be returned. If the file is not part of the
current scene then the command will fail with an error. In Python the equivalent behavior is obtained by passing True as
the flag's value. In query mode, this flag can accept a value.
- type:
Set the type of this file. By default this can be any one of: mayaAscii, mayaBinary, mel, OBJ, directory, plug-in,
audio, move, EPS, Adobe(R) Illustrator(R), imageplug-ins may define their own types as well.Return a string array of
file types that match this file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
89bd14d5d33b32cff0f2e9149d51f7e575ebd6a677cadd8553df81579c86d3b8 | def getReferenceEdits(self, **kwargs):
'\n Get a list of ReferenceEdit objects for this node\n \n Adapted from:\n referenceQuery -editString -onReferenceNode <self.refNode>\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value.\n '
pass | Get a list of ReferenceEdit objects for this node
Adapted from:
referenceQuery -editString -onReferenceNode <self.refNode>
Notes
-----
By default, removes all edits. If neither of successfulEdits or
failedEdits is given, they both default to True. If only one is given,
the other defaults to the opposite value. | mayaSDK/pymel/core/system.py | getReferenceEdits | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getReferenceEdits(self, **kwargs):
'\n Get a list of ReferenceEdit objects for this node\n \n Adapted from:\n referenceQuery -editString -onReferenceNode <self.refNode>\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value.\n '
pass | def getReferenceEdits(self, **kwargs):
'\n Get a list of ReferenceEdit objects for this node\n \n Adapted from:\n referenceQuery -editString -onReferenceNode <self.refNode>\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value.\n '
pass<|docstring|>Get a list of ReferenceEdit objects for this node
Adapted from:
referenceQuery -editString -onReferenceNode <self.refNode>
Notes
-----
By default, removes all edits. If neither of successfulEdits or
failedEdits is given, they both default to True. If only one is given,
the other defaults to the opposite value.<|endoftext|> |
88da8792df06812a19cdffb5b3577b45981e9e18e1283194ed021d7f51aea4f6 | def importContents(self, removeNamespace='False'):
'\n Remove the encapsulation of the reference around the data within the specified file. This makes the contents of the specified file part of the current scene and all references to the original file are lost. Returns the name of the reference that was imported. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Remove the encapsulation of the reference around the data within the specified file. This makes the contents of the specified file part of the current scene and all references to the original file are lost. Returns the name of the reference that was imported.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | importContents | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def importContents(self, removeNamespace='False'):
'\n Remove the encapsulation of the reference around the data within the specified file. This makes the contents of the specified file part of the current scene and all references to the original file are lost. Returns the name of the reference that was imported. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def importContents(self, removeNamespace='False'):
'\n Remove the encapsulation of the reference around the data within the specified file. This makes the contents of the specified file part of the current scene and all references to the original file are lost. Returns the name of the reference that was imported. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Remove the encapsulation of the reference around the data within the specified file. This makes the contents of the specified file part of the current scene and all references to the original file are lost. Returns the name of the reference that was imported.
Derived from mel command `maya.cmds.file`<|endoftext|> |
0d4ef0fbd822981a90e0b61e6828e2625465684488046160cd3f804a2baab7cf | def isDeferred(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | isDeferred | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def isDeferred(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def isDeferred(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
Derived from mel command `maya.cmds.file`<|endoftext|> |
7b3cd3cf06e54ae5baf6f30a7db4140456808265b89af8476ecf4d8fef706c03 | def isLoaded(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | isLoaded | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def isLoaded(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def isLoaded(self):
'\n When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>When used in conjunction with the -reference flag, this flag determines if the reference is loaded, or if loading is deferred.C: The default is false.Q: When queried, this flag returns true if the reference is deferred, or false if the reference is not deferred. If this is used with -rfn/referenceNode, the -rfn flag must come before -q.
Derived from mel command `maya.cmds.file`<|endoftext|> |
4856008d210145987951c6e9fe8037f3cb7f81fad2002f9b6fddccc1003b996f | def isUsingNamespaces(self):
'\n Returns boolean. Queries whether the specified reference file uses namespaces or renaming prefixes. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Returns boolean. Queries whether the specified reference file uses namespaces or renaming prefixes.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | isUsingNamespaces | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def isUsingNamespaces(self):
'\n Returns boolean. Queries whether the specified reference file uses namespaces or renaming prefixes. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def isUsingNamespaces(self):
'\n Returns boolean. Queries whether the specified reference file uses namespaces or renaming prefixes. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Returns boolean. Queries whether the specified reference file uses namespaces or renaming prefixes.
Derived from mel command `maya.cmds.file`<|endoftext|> |
70e1dcb4d7ff0d8549e62ca4cbba16c460ea04585e42fcf0944538b37b7eb83d | def load(self, newFile='None', **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | load | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def load(self, newFile='None', **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | def load(self, newFile='None', **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file`<|endoftext|> |
f7234a8b2471a50e0d94bd66b7d38d6b4e1506ab5fec10528da583b0e6b2a51f | def lock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Locks attributes and nodes from the referenced file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | lock | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def lock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def lock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Locks attributes and nodes from the referenced file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
205de875e7214b7dacbe15b6a328e4ab5562c70fdcd0c65aadb366f83dc0a056 | def namespaceExists(self):
'\n Returns true if the specified namespace exists, false if not. \n \n \n Derived from mel command `maya.cmds.namespace`\n '
pass | Returns true if the specified namespace exists, false if not.
Derived from mel command `maya.cmds.namespace` | mayaSDK/pymel/core/system.py | namespaceExists | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def namespaceExists(self):
'\n Returns true if the specified namespace exists, false if not. \n \n \n Derived from mel command `maya.cmds.namespace`\n '
pass | def namespaceExists(self):
'\n Returns true if the specified namespace exists, false if not. \n \n \n Derived from mel command `maya.cmds.namespace`\n '
pass<|docstring|>Returns true if the specified namespace exists, false if not.
Derived from mel command `maya.cmds.namespace`<|endoftext|> |
60b419470c3d63a663ee4773286630ddbbf728058da4d397b61cc12634156385 | def nodes(self):
'\n Returns string array. A main flag used to query the contents of the target reference. \n \n \n Derived from mel command `maya.cmds.referenceQuery`\n '
pass | Returns string array. A main flag used to query the contents of the target reference.
Derived from mel command `maya.cmds.referenceQuery` | mayaSDK/pymel/core/system.py | nodes | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def nodes(self):
'\n Returns string array. A main flag used to query the contents of the target reference. \n \n \n Derived from mel command `maya.cmds.referenceQuery`\n '
pass | def nodes(self):
'\n Returns string array. A main flag used to query the contents of the target reference. \n \n \n Derived from mel command `maya.cmds.referenceQuery`\n '
pass<|docstring|>Returns string array. A main flag used to query the contents of the target reference.
Derived from mel command `maya.cmds.referenceQuery`<|endoftext|> |
c3ebd315b04c4ae0eb4756a008065da1705282b35b6dd169afdce681a7e94405 | def parent(self):
'\n Returns the parent FileReference object, or None\n '
pass | Returns the parent FileReference object, or None | mayaSDK/pymel/core/system.py | parent | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def parent(self):
'\n \n '
pass | def parent(self):
'\n \n '
pass<|docstring|>Returns the parent FileReference object, or None<|endoftext|> |
42c7eefc1d7e33519f54b52563450edecc8da48bb6962e1a059ae67f5d0a4528 | def remove(self):
'\n Remove the given file reference from its parent. This will also Remove everything this file references. Returns the name of the file removed. If the reference is alone in its namespace, remove the namespace. If there are objects remaining in the namespace after the file reference is removed, by default, keep the remaining objects in the namespace. To merge the objects remaining in the namespace to the parent or root namespace, use flags mergeNamespaceWithParent or mergeNamespaceWithRoot. The empty file reference namespace is then removed. To forcibly delete all objects, use flag force. The empty file reference namespace is then removed. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Remove the given file reference from its parent. This will also Remove everything this file references. Returns the name of the file removed. If the reference is alone in its namespace, remove the namespace. If there are objects remaining in the namespace after the file reference is removed, by default, keep the remaining objects in the namespace. To merge the objects remaining in the namespace to the parent or root namespace, use flags mergeNamespaceWithParent or mergeNamespaceWithRoot. The empty file reference namespace is then removed. To forcibly delete all objects, use flag force. The empty file reference namespace is then removed.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | remove | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def remove(self):
'\n Remove the given file reference from its parent. This will also Remove everything this file references. Returns the name of the file removed. If the reference is alone in its namespace, remove the namespace. If there are objects remaining in the namespace after the file reference is removed, by default, keep the remaining objects in the namespace. To merge the objects remaining in the namespace to the parent or root namespace, use flags mergeNamespaceWithParent or mergeNamespaceWithRoot. The empty file reference namespace is then removed. To forcibly delete all objects, use flag force. The empty file reference namespace is then removed. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def remove(self):
'\n Remove the given file reference from its parent. This will also Remove everything this file references. Returns the name of the file removed. If the reference is alone in its namespace, remove the namespace. If there are objects remaining in the namespace after the file reference is removed, by default, keep the remaining objects in the namespace. To merge the objects remaining in the namespace to the parent or root namespace, use flags mergeNamespaceWithParent or mergeNamespaceWithRoot. The empty file reference namespace is then removed. To forcibly delete all objects, use flag force. The empty file reference namespace is then removed. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Remove the given file reference from its parent. This will also Remove everything this file references. Returns the name of the file removed. If the reference is alone in its namespace, remove the namespace. If there are objects remaining in the namespace after the file reference is removed, by default, keep the remaining objects in the namespace. To merge the objects remaining in the namespace to the parent or root namespace, use flags mergeNamespaceWithParent or mergeNamespaceWithRoot. The empty file reference namespace is then removed. To forcibly delete all objects, use flag force. The empty file reference namespace is then removed.
Derived from mel command `maya.cmds.file`<|endoftext|> |
e6cba973cc79a731e6955add1e4d4fdb9348be65cbb3444dc049afdce883f0cc | def removeReferenceEdits(self, editCommand='None', force='False', **kwargs):
'\n Remove edits from the reference.\n \n Parameters\n ----------\n editCommand : str\n If specified, remove only edits of a particular type: addAttr,\n setAttr, connectAttr, disconnectAttr or parent\n force : bool\n Unload the reference if it is not unloaded already\n successfulEdits : bool\n Whether to remove successful edits\n failedEdits : bool\n Whether to remove failed edits\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value. This will only succeed on\n unapplied edits (ie, on unloaded nodes, or failed edits)... However,\n like maya.cmds.file/maya.cmds.referenceEdit, no error will be raised\n if there are no unapplied edits to work on. This may change in the\n future, however...\n '
pass | Remove edits from the reference.
Parameters
----------
editCommand : str
If specified, remove only edits of a particular type: addAttr,
setAttr, connectAttr, disconnectAttr or parent
force : bool
Unload the reference if it is not unloaded already
successfulEdits : bool
Whether to remove successful edits
failedEdits : bool
Whether to remove failed edits
Notes
-----
By default, removes all edits. If neither of successfulEdits or
failedEdits is given, they both default to True. If only one is given,
the other defaults to the opposite value. This will only succeed on
unapplied edits (ie, on unloaded nodes, or failed edits)... However,
like maya.cmds.file/maya.cmds.referenceEdit, no error will be raised
if there are no unapplied edits to work on. This may change in the
future, however... | mayaSDK/pymel/core/system.py | removeReferenceEdits | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def removeReferenceEdits(self, editCommand='None', force='False', **kwargs):
'\n Remove edits from the reference.\n \n Parameters\n ----------\n editCommand : str\n If specified, remove only edits of a particular type: addAttr,\n setAttr, connectAttr, disconnectAttr or parent\n force : bool\n Unload the reference if it is not unloaded already\n successfulEdits : bool\n Whether to remove successful edits\n failedEdits : bool\n Whether to remove failed edits\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value. This will only succeed on\n unapplied edits (ie, on unloaded nodes, or failed edits)... However,\n like maya.cmds.file/maya.cmds.referenceEdit, no error will be raised\n if there are no unapplied edits to work on. This may change in the\n future, however...\n '
pass | def removeReferenceEdits(self, editCommand='None', force='False', **kwargs):
'\n Remove edits from the reference.\n \n Parameters\n ----------\n editCommand : str\n If specified, remove only edits of a particular type: addAttr,\n setAttr, connectAttr, disconnectAttr or parent\n force : bool\n Unload the reference if it is not unloaded already\n successfulEdits : bool\n Whether to remove successful edits\n failedEdits : bool\n Whether to remove failed edits\n \n Notes\n -----\n By default, removes all edits. If neither of successfulEdits or\n failedEdits is given, they both default to True. If only one is given,\n the other defaults to the opposite value. This will only succeed on\n unapplied edits (ie, on unloaded nodes, or failed edits)... However,\n like maya.cmds.file/maya.cmds.referenceEdit, no error will be raised\n if there are no unapplied edits to work on. This may change in the\n future, however...\n '
pass<|docstring|>Remove edits from the reference.
Parameters
----------
editCommand : str
If specified, remove only edits of a particular type: addAttr,
setAttr, connectAttr, disconnectAttr or parent
force : bool
Unload the reference if it is not unloaded already
successfulEdits : bool
Whether to remove successful edits
failedEdits : bool
Whether to remove failed edits
Notes
-----
By default, removes all edits. If neither of successfulEdits or
failedEdits is given, they both default to True. If only one is given,
the other defaults to the opposite value. This will only succeed on
unapplied edits (ie, on unloaded nodes, or failed edits)... However,
like maya.cmds.file/maya.cmds.referenceEdit, no error will be raised
if there are no unapplied edits to work on. This may change in the
future, however...<|endoftext|> |
ddd70712ab4a203ec85564c1a118a396af217089bc550382fe0b22679a0c8b41 | def replaceWith(self, newFile, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | replaceWith | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def replaceWith(self, newFile, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass | def replaceWith(self, newFile, **kwargs):
'\n This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file. \n \n Flags:\n - loadNoReferences:\n This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no\n references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most\n reference only.\n - loadReferenceDepth:\n Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,\n no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or\n -lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to\n replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or\n unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth\n type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current\n scene file, rather than according to the state saved in the reference file itself.\n - returnNewNodes:\n Used to control the return value in open, import, loadReference, and reference operations. It will force the file\n command to return a list of new nodes added to the current scene.\n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.If a file is not given, the command will load (or reload) the last used reference file.
Flags:
- loadNoReferences:
This flag is obsolete and has been replaced witht the loadReferenceDepth flag. When used with the -open flag, no
references will be loaded. When used with -i/import, -r/reference or -lr/loadReference flags, will load the top-most
reference only.
- loadReferenceDepth:
Used to specify which references should be loaded. Valid types are all, noneand topOnly, which will load all references,
no references and top-level references only, respectively. May only be used with the -o/open, -i/import, -r/reference or
-lr/loadReference flags. When noneis used with -lr/loadReference, only path validation is performed. This can be used to
replace a reference without triggering reload. Not using loadReferenceDepth will load references in the same loaded or
unloaded state that they were in when the file was saved. Additionally, the -lr/loadReference flag supports a fourth
type, asPrefs. This will force any nested references to be loaded according to the state (if any) stored in the current
scene file, rather than according to the state saved in the reference file itself.
- returnNewNodes:
Used to control the return value in open, import, loadReference, and reference operations. It will force the file
command to return a list of new nodes added to the current scene.
Derived from mel command `maya.cmds.file`<|endoftext|> |
c43b7cfdb62a0a264eb6a48280838e772ef67c54da0f68d5001805514ed7f585 | def selectAll(self):
'\n Select all the components of this file as well as its child files. Note that the file specified must be one that is already opened in this Maya session. The default behavior is to replace the existing selection. Use with the addflag to keep the active selection list. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Select all the components of this file as well as its child files. Note that the file specified must be one that is already opened in this Maya session. The default behavior is to replace the existing selection. Use with the addflag to keep the active selection list.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | selectAll | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def selectAll(self):
'\n Select all the components of this file as well as its child files. Note that the file specified must be one that is already opened in this Maya session. The default behavior is to replace the existing selection. Use with the addflag to keep the active selection list. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def selectAll(self):
'\n Select all the components of this file as well as its child files. Note that the file specified must be one that is already opened in this Maya session. The default behavior is to replace the existing selection. Use with the addflag to keep the active selection list. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Select all the components of this file as well as its child files. Note that the file specified must be one that is already opened in this Maya session. The default behavior is to replace the existing selection. Use with the addflag to keep the active selection list.
Derived from mel command `maya.cmds.file`<|endoftext|> |
cae6ba25cc5ce4ddc6a6fb9d848a1796ca5999244f51284b3b658c9e5d1de2b4 | def unload(self):
'\n This flag will unload the reference file associated with the passed reference node. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | This flag will unload the reference file associated with the passed reference node.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | unload | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unload(self):
'\n This flag will unload the reference file associated with the passed reference node. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def unload(self):
'\n This flag will unload the reference file associated with the passed reference node. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>This flag will unload the reference file associated with the passed reference node.
Derived from mel command `maya.cmds.file`<|endoftext|> |
d508fc2c16bd89c1cc7c0e01e2bf0174991ccca319628f64988ed1de3b00c049 | def unlock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Locks attributes and nodes from the referenced file.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | unlock | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unlock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def unlock(self):
'\n Locks attributes and nodes from the referenced file. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Locks attributes and nodes from the referenced file.
Derived from mel command `maya.cmds.file`<|endoftext|> |
c0aed99afe8850d14a23d8751a24260f58b6cfa33de4548ffb1d5c2f9d20659f | def withCopyNumber(self):
'\n return the path with the copy number at the end\n '
pass | return the path with the copy number at the end | mayaSDK/pymel/core/system.py | withCopyNumber | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def withCopyNumber(self):
'\n \n '
pass | def withCopyNumber(self):
'\n \n '
pass<|docstring|>return the path with the copy number at the end<|endoftext|> |
aef6cea7147c527f3bee648ba0c2e32d61edf4fd729d2d21760841519a07b622 | def __call__(self, *args, **kwargs):
'\n provides backward compatibility with cmds.workspace by allowing an instance\n of this class to be called as if it were a function\n '
pass | provides backward compatibility with cmds.workspace by allowing an instance
of this class to be called as if it were a function | mayaSDK/pymel/core/system.py | __call__ | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def __call__(self, *args, **kwargs):
'\n provides backward compatibility with cmds.workspace by allowing an instance\n of this class to be called as if it were a function\n '
pass | def __call__(self, *args, **kwargs):
'\n provides backward compatibility with cmds.workspace by allowing an instance\n of this class to be called as if it were a function\n '
pass<|docstring|>provides backward compatibility with cmds.workspace by allowing an instance
of this class to be called as if it were a function<|endoftext|> |
1a4ecc19aac9a0f540c6d2560db6cb9fd79680bb7291c2221508b10d876a3879 | def __new__(cls, *p, **k):
'\n # redefine __new__\n '
pass | # redefine __new__ | mayaSDK/pymel/core/system.py | __new__ | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def __new__(cls, *p, **k):
'\n \n '
pass | def __new__(cls, *p, **k):
'\n \n '
pass<|docstring|># redefine __new__<|endoftext|> |
e2e9e78afb7be7ff2c734449777ac5684bf02389240e084ceb1cfa412831ab48 | def get(self, key, default='None'):
'\n D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.\n '
pass | D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None. | mayaSDK/pymel/core/system.py | get | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def get(self, key, default='None'):
'\n \n '
pass | def get(self, key, default='None'):
'\n \n '
pass<|docstring|>D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.<|endoftext|> |
ecc57003a03ff4ef4f2a9303f0805b0ad209479dc49003626752a3775d08e7d9 | def items(self):
"\n D.items() -> list of D's (key, value) pairs, as 2-tuples\n "
pass | D.items() -> list of D's (key, value) pairs, as 2-tuples | mayaSDK/pymel/core/system.py | items | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def items(self):
"\n \n "
pass | def items(self):
"\n \n "
pass<|docstring|>D.items() -> list of D's (key, value) pairs, as 2-tuples<|endoftext|> |
57d866be034c54ea76dc8200d889dc0e0045b94fbafcbfdce69954d7a1f238d4 | def iteritems(self):
'\n D.iteritems() -> an iterator over the (key, value) items of D\n '
pass | D.iteritems() -> an iterator over the (key, value) items of D | mayaSDK/pymel/core/system.py | iteritems | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def iteritems(self):
'\n \n '
pass | def iteritems(self):
'\n \n '
pass<|docstring|>D.iteritems() -> an iterator over the (key, value) items of D<|endoftext|> |
8978831cd6075c144d094c8820f7eb103baaedc0fa26d1619997303b75aa1ad6 | def iterkeys(self):
'\n D.iterkeys() -> an iterator over the keys of D\n '
pass | D.iterkeys() -> an iterator over the keys of D | mayaSDK/pymel/core/system.py | iterkeys | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def iterkeys(self):
'\n \n '
pass | def iterkeys(self):
'\n \n '
pass<|docstring|>D.iterkeys() -> an iterator over the keys of D<|endoftext|> |
cb99ec1401c8845fb69afb749a867617c816be15616d69316b0f0940c9c48187 | def itervalues(self):
'\n D.itervalues() -> an iterator over the values of D\n '
pass | D.itervalues() -> an iterator over the values of D | mayaSDK/pymel/core/system.py | itervalues | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def itervalues(self):
'\n \n '
pass | def itervalues(self):
'\n \n '
pass<|docstring|>D.itervalues() -> an iterator over the values of D<|endoftext|> |
adfca6ab937fdc6b8a28671575830a4fba3072d1678f58f1cf9ad6a94febef20 | def keys(self):
"\n D.keys() -> list of D's keys\n "
pass | D.keys() -> list of D's keys | mayaSDK/pymel/core/system.py | keys | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def keys(self):
"\n \n "
pass | def keys(self):
"\n \n "
pass<|docstring|>D.keys() -> list of D's keys<|endoftext|> |
784ce39f8df04eaf7d353c3aa1d791999afbbf63f32e00754c533a5c3896a217 | def values(self):
"\n D.values() -> list of D's values\n "
pass | D.values() -> list of D's values | mayaSDK/pymel/core/system.py | values | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def values(self):
"\n \n "
pass | def values(self):
"\n \n "
pass<|docstring|>D.values() -> list of D's values<|endoftext|> |
0013bfe4543aabe9d77c0accfea0cdf6859c9b7b175875a2cdd89d948273f291 | def clear(self):
'\n D.clear() -> None. Remove all items from D.\n '
pass | D.clear() -> None. Remove all items from D. | mayaSDK/pymel/core/system.py | clear | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def clear(self):
'\n \n '
pass | def clear(self):
'\n \n '
pass<|docstring|>D.clear() -> None. Remove all items from D.<|endoftext|> |
80d7e623bd566872ba088593c7a12ebeb3f9d50cdc636890acf90bb8e88ead45 | def pop(self, key, default="'<object object>'"):
'\n D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n If key is not found, d is returned if given, otherwise KeyError is raised.\n '
pass | D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised. | mayaSDK/pymel/core/system.py | pop | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def pop(self, key, default="'<object object>'"):
'\n D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n If key is not found, d is returned if given, otherwise KeyError is raised.\n '
pass | def pop(self, key, default="'<object object>'"):
'\n D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n If key is not found, d is returned if given, otherwise KeyError is raised.\n '
pass<|docstring|>D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised.<|endoftext|> |
74539fee9795bc9200f7d763ac7a8c5472f2c98291b018273b4a92a9bb1abce2 | def popitem(self):
'\n D.popitem() -> (k, v), remove and return some (key, value) pair\n as a 2-tuple; but raise KeyError if D is empty.\n '
pass | D.popitem() -> (k, v), remove and return some (key, value) pair
as a 2-tuple; but raise KeyError if D is empty. | mayaSDK/pymel/core/system.py | popitem | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def popitem(self):
'\n D.popitem() -> (k, v), remove and return some (key, value) pair\n as a 2-tuple; but raise KeyError if D is empty.\n '
pass | def popitem(self):
'\n D.popitem() -> (k, v), remove and return some (key, value) pair\n as a 2-tuple; but raise KeyError if D is empty.\n '
pass<|docstring|>D.popitem() -> (k, v), remove and return some (key, value) pair
as a 2-tuple; but raise KeyError if D is empty.<|endoftext|> |
e942384068707a0d1a05c781d3a2220a12756c536e54c12bff14a7a7a8553779 | def setdefault(self, key, default='None'):
'\n D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D\n '
pass | D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D | mayaSDK/pymel/core/system.py | setdefault | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def setdefault(self, key, default='None'):
'\n \n '
pass | def setdefault(self, key, default='None'):
'\n \n '
pass<|docstring|>D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D<|endoftext|> |
4f629b079b8c55a12f86507faddcbdfdc18a9cfef0629ea4bad5827f5249d65e | def update(*args, **kwds):
'\n D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.\n If E present and has a .keys() method, does: for k in E: D[k] = E[k]\n If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v\n In either case, this is followed by: for k, v in F.items(): D[k] = v\n '
pass | D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k, v in F.items(): D[k] = v | mayaSDK/pymel/core/system.py | update | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def update(*args, **kwds):
'\n D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.\n If E present and has a .keys() method, does: for k in E: D[k] = E[k]\n If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v\n In either case, this is followed by: for k, v in F.items(): D[k] = v\n '
pass | def update(*args, **kwds):
'\n D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.\n If E present and has a .keys() method, does: for k in E: D[k] = E[k]\n If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v\n In either case, this is followed by: for k, v in F.items(): D[k] = v\n '
pass<|docstring|>D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] = E[k]
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k, v in F.items(): D[k] = v<|endoftext|> |
1a4ecc19aac9a0f540c6d2560db6cb9fd79680bb7291c2221508b10d876a3879 | def __new__(cls, *p, **k):
'\n # redefine __new__\n '
pass | # redefine __new__ | mayaSDK/pymel/core/system.py | __new__ | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def __new__(cls, *p, **k):
'\n \n '
pass | def __new__(cls, *p, **k):
'\n \n '
pass<|docstring|># redefine __new__<|endoftext|> |
31b547a63b2a662540087dc2af646b09ac4ee5895c6a56a34d1f3dbac67659fa | def pretty_print(x, numchars):
'Given an object `x`, call `str(x)` and format the returned string so\n that it is numchars long, padding with trailing spaces or truncating with\n ellipses as necessary\n '
s = maybe_truncate(x, numchars)
return (s + (' ' * max((numchars - len(s)), 0))) | Given an object `x`, call `str(x)` and format the returned string so
that it is numchars long, padding with trailing spaces or truncating with
ellipses as necessary | openstreetmap-scraper/venv/lib/python3.7/site-packages/xarray/core/formatting.py | pretty_print | espoo-urban-planning/urbanplanningGAN | 51 | python | def pretty_print(x, numchars):
'Given an object `x`, call `str(x)` and format the returned string so\n that it is numchars long, padding with trailing spaces or truncating with\n ellipses as necessary\n '
s = maybe_truncate(x, numchars)
return (s + (' ' * max((numchars - len(s)), 0))) | def pretty_print(x, numchars):
'Given an object `x`, call `str(x)` and format the returned string so\n that it is numchars long, padding with trailing spaces or truncating with\n ellipses as necessary\n '
s = maybe_truncate(x, numchars)
return (s + (' ' * max((numchars - len(s)), 0)))<|docstring|>Given an object `x`, call `str(x)` and format the returned string so
that it is numchars long, padding with trailing spaces or truncating with
ellipses as necessary<|endoftext|> |
84264b989d7b128e34fffd89f9d7bd14ef457da2df8cbd5b714b885e2c22359b | def first_n_items(array, n_desired):
'Returns the first n_desired items of an array'
if (n_desired < 1):
raise ValueError('must request at least one item')
if (array.size == 0):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=False)
array = array[indexer]
return np.asarray(array).flat[:n_desired] | Returns the first n_desired items of an array | openstreetmap-scraper/venv/lib/python3.7/site-packages/xarray/core/formatting.py | first_n_items | espoo-urban-planning/urbanplanningGAN | 51 | python | def first_n_items(array, n_desired):
if (n_desired < 1):
raise ValueError('must request at least one item')
if (array.size == 0):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=False)
array = array[indexer]
return np.asarray(array).flat[:n_desired] | def first_n_items(array, n_desired):
if (n_desired < 1):
raise ValueError('must request at least one item')
if (array.size == 0):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=False)
array = array[indexer]
return np.asarray(array).flat[:n_desired]<|docstring|>Returns the first n_desired items of an array<|endoftext|> |
6ef3d6d45b8bb19041855ca01e91a1e4f13c5f3d2941c8453b56c9710af625bb | def last_n_items(array, n_desired):
'Returns the last n_desired items of an array'
if ((n_desired == 0) or (array.size == 0)):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=True)
array = array[indexer]
return np.asarray(array).flat[(- n_desired):] | Returns the last n_desired items of an array | openstreetmap-scraper/venv/lib/python3.7/site-packages/xarray/core/formatting.py | last_n_items | espoo-urban-planning/urbanplanningGAN | 51 | python | def last_n_items(array, n_desired):
if ((n_desired == 0) or (array.size == 0)):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=True)
array = array[indexer]
return np.asarray(array).flat[(- n_desired):] | def last_n_items(array, n_desired):
if ((n_desired == 0) or (array.size == 0)):
return []
if (n_desired < array.size):
indexer = _get_indexer_at_least_n_items(array.shape, n_desired, from_end=True)
array = array[indexer]
return np.asarray(array).flat[(- n_desired):]<|docstring|>Returns the last n_desired items of an array<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.