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 |
|---|---|---|---|---|---|---|---|---|---|
2c481935e18b441fee2c9217c54fac820112ae5ffdcb0a271d543bf37a3c7a01 | def test_itemids_in_microbiologyevents_are_in_range(mimic_con, mimic_schema):
'\n Number of ITEMIDs which are not in the allowable range\n '
query = f'''
SELECT COUNT(*) FROM {mimic_schema}.microbiologyevents
WHERE SPEC_ITEMID < 70000 OR SPEC_ITEMID > 80000
OR ORG_ITEMID < 80000 OR ORG_ITEMID ... | Number of ITEMIDs which are not in the allowable range | mimic-iii/tests/test_postgres_build.py | test_itemids_in_microbiologyevents_are_in_range | kingpfogel/mimic-code | 1,626 | python | def test_itemids_in_microbiologyevents_are_in_range(mimic_con, mimic_schema):
'\n \n '
query = f'
SELECT COUNT(*) FROM {mimic_schema}.microbiologyevents
WHERE SPEC_ITEMID < 70000 OR SPEC_ITEMID > 80000
OR ORG_ITEMID < 80000 OR ORG_ITEMID > 90000
OR AB_ITEMID < 90000 OR AB_ITEMID > 100000;
... | def test_itemids_in_microbiologyevents_are_in_range(mimic_con, mimic_schema):
'\n \n '
query = f'
SELECT COUNT(*) FROM {mimic_schema}.microbiologyevents
WHERE SPEC_ITEMID < 70000 OR SPEC_ITEMID > 80000
OR ORG_ITEMID < 80000 OR ORG_ITEMID > 90000
OR AB_ITEMID < 90000 OR AB_ITEMID > 100000;
... |
ee88fc53b0145e010f974e8572e7448f03edb0922200e593b449766c0015b346 | def __init__(self, loss=NLLLoss(), batch_size=64):
'Initialize the evaluator with loss and batch size.\n\n Args:\n loss (Optional[seq2seq.loss]): Loss to count. Defaults to seq2seq.loss.NLLLoss.\n batch_size (Optional[int]): Batch size. Defaults to 64.\n\n '
self.loss = loss
... | Initialize the evaluator with loss and batch size.
Args:
loss (Optional[seq2seq.loss]): Loss to count. Defaults to seq2seq.loss.NLLLoss.
batch_size (Optional[int]): Batch size. Defaults to 64. | src/models/conversational/evaluator.py | __init__ | Neronuser/EmoCourseChat | 1 | python | def __init__(self, loss=NLLLoss(), batch_size=64):
'Initialize the evaluator with loss and batch size.\n\n Args:\n loss (Optional[seq2seq.loss]): Loss to count. Defaults to seq2seq.loss.NLLLoss.\n batch_size (Optional[int]): Batch size. Defaults to 64.\n\n '
self.loss = loss
... | def __init__(self, loss=NLLLoss(), batch_size=64):
'Initialize the evaluator with loss and batch size.\n\n Args:\n loss (Optional[seq2seq.loss]): Loss to count. Defaults to seq2seq.loss.NLLLoss.\n batch_size (Optional[int]): Batch size. Defaults to 64.\n\n '
self.loss = loss
... |
2fe801c43f25eeea24ab77e7836471b195efaad706f488ec36f59302ccb749f9 | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... | Evaluate a model on given dataset and return performance.
Args:
model (seq2seq.models): Model to evaluate.
data (torchtext.data.Dataset): Dataset to evaluate against.
Returns:
loss (float): Loss of the given model on the given dataset. | src/models/conversational/evaluator.py | evaluate | Neronuser/EmoCourseChat | 1 | python | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... |
a165f723431bb5a433cd59e380396a9a7c897de33dc28e6130916ef4ef1139b2 | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... | Evaluate a model on given dataset and return performance.
Args:
model (seq2seq.models): Model to evaluate.
data (torchtext.data.Dataset): Dataset to evaluate against.
Returns:
loss (float): Loss of the given model on the given dataset. | src/models/conversational/evaluator.py | evaluate | Neronuser/EmoCourseChat | 1 | python | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... | def evaluate(self, model, data):
'Evaluate a model on given dataset and return performance.\n Args:\n model (seq2seq.models): Model to evaluate.\n data (torchtext.data.Dataset): Dataset to evaluate against.\n Returns:\n loss (float): Loss of the given model on the give... |
49fc44802097ae2c4fc73b1276674b15fe7d87874edab696d20722cc31d4fd32 | def hash_passwd(passwd):
'Hash the user password.\n\n Raspberry Pi OS currently supports no better methon than sha256.\n '
return crypt.crypt(passwd, salt=crypt.mksalt(crypt.METHOD_SHA256)) | Hash the user password.
Raspberry Pi OS currently supports no better methon than sha256. | src/bake_a_py/provisioning.py | hash_passwd | derSuessmann/bake-a-py | 0 | python | def hash_passwd(passwd):
'Hash the user password.\n\n Raspberry Pi OS currently supports no better methon than sha256.\n '
return crypt.crypt(passwd, salt=crypt.mksalt(crypt.METHOD_SHA256)) | def hash_passwd(passwd):
'Hash the user password.\n\n Raspberry Pi OS currently supports no better methon than sha256.\n '
return crypt.crypt(passwd, salt=crypt.mksalt(crypt.METHOD_SHA256))<|docstring|>Hash the user password.
Raspberry Pi OS currently supports no better methon than sha256.<|endoftext|> |
f226f135923b222b99484b47476805287976b76614c54995dd508078537c0c98 | @pytest.fixture
def solver():
'Return a solver object as a fixture.'
import rosalind
return rosalind.Solver | Return a solver object as a fixture. | test_solutions.py | solver | honzo0481/rosalind | 0 | python | @pytest.fixture
def solver():
import rosalind
return rosalind.Solver | @pytest.fixture
def solver():
import rosalind
return rosalind.Solver<|docstring|>Return a solver object as a fixture.<|endoftext|> |
e599b7cdb49b44ff9e4b91a183578d3ab75b9d029ed7a9578c87d847d4df19ca | def load_csv(filepath, cols=None):
'Load data from a csv.'
with open(filepath) as f:
reader = csv.reader(f)
if (cols is None):
data = [row for row in reader]
else:
data = [[row[col] for col in sorted(cols)] for row in reader if (len(row) > 0)]
return data[1:] | Load data from a csv. | test_solutions.py | load_csv | honzo0481/rosalind | 0 | python | def load_csv(filepath, cols=None):
with open(filepath) as f:
reader = csv.reader(f)
if (cols is None):
data = [row for row in reader]
else:
data = [[row[col] for col in sorted(cols)] for row in reader if (len(row) > 0)]
return data[1:] | def load_csv(filepath, cols=None):
with open(filepath) as f:
reader = csv.reader(f)
if (cols is None):
data = [row for row in reader]
else:
data = [[row[col] for col in sorted(cols)] for row in reader if (len(row) > 0)]
return data[1:]<|docstring|>Load data f... |
2c5a271087e711f77afee71b4b38487cae7f7e2e9fd1a063a411ca72e94f6745 | @pytest.mark.parametrize('input_data, output_data', load_csv('test_data.csv', cols=(1, 2)))
def test_in_ne_out(input_data, output_data):
'Input should never equal output.'
assert (input_data != output_data) | Input should never equal output. | test_solutions.py | test_in_ne_out | honzo0481/rosalind | 0 | python | @pytest.mark.parametrize('input_data, output_data', load_csv('test_data.csv', cols=(1, 2)))
def test_in_ne_out(input_data, output_data):
assert (input_data != output_data) | @pytest.mark.parametrize('input_data, output_data', load_csv('test_data.csv', cols=(1, 2)))
def test_in_ne_out(input_data, output_data):
assert (input_data != output_data)<|docstring|>Input should never equal output.<|endoftext|> |
19b33a6fefd2fce9f2836ec72ed176ab6d5bdf79b4dc6ced998435cdea85b20c | @pytest.mark.parametrize('problem, input_data, output_data', load_csv('test_data.csv'))
def test_solution(solver, problem, input_data, output_data):
'Output from problem function given input_data should exactly match output_data.'
solver = solver()
try:
solver = getattr(solver, problem.lower())
... | Output from problem function given input_data should exactly match output_data. | test_solutions.py | test_solution | honzo0481/rosalind | 0 | python | @pytest.mark.parametrize('problem, input_data, output_data', load_csv('test_data.csv'))
def test_solution(solver, problem, input_data, output_data):
solver = solver()
try:
solver = getattr(solver, problem.lower())
except AttributeError:
solver = str
assert (solver(input_data) == out... | @pytest.mark.parametrize('problem, input_data, output_data', load_csv('test_data.csv'))
def test_solution(solver, problem, input_data, output_data):
solver = solver()
try:
solver = getattr(solver, problem.lower())
except AttributeError:
solver = str
assert (solver(input_data) == out... |
9b22bc9f638930575611c3e00cf5c835a62f6838468e1bf37721f83c8992588c | def setUp(self):
'\n Configure an instance of IntentParserServer for spellcheck testing.\n '
if os.path.exists(IntentParserServer.LINK_PREF_PATH):
for file in os.listdir(IntentParserServer.LINK_PREF_PATH):
os.remove(os.path.join(IntentParserServer.LINK_PREF_PATH, file))
... | Configure an instance of IntentParserServer for spellcheck testing. | intent_parser/tests/test_unit_ips_analyze_sd2dict.py | setUp | SD2E/experimental-intent-parser-mw | 0 | python | def setUp(self):
'\n \n '
if os.path.exists(IntentParserServer.LINK_PREF_PATH):
for file in os.listdir(IntentParserServer.LINK_PREF_PATH):
os.remove(os.path.join(IntentParserServer.LINK_PREF_PATH, file))
os.rmdir(IntentParserServer.LINK_PREF_PATH)
self.doc_content =... | def setUp(self):
'\n \n '
if os.path.exists(IntentParserServer.LINK_PREF_PATH):
for file in os.listdir(IntentParserServer.LINK_PREF_PATH):
os.remove(os.path.join(IntentParserServer.LINK_PREF_PATH, file))
os.rmdir(IntentParserServer.LINK_PREF_PATH)
self.doc_content =... |
3026ca526020ee65dbbc898c97d56f2f1bfe332456a215f64af2afb415514c8b | def test_maximal_search(self):
'\n Test that the maximal search is finding different results.\n '
culled_results = self.ips.client_state_map[self.doc_id]['search_results']
self.ips.cull_overlapping = Mock(side_effect=self.return_value)
self.ips.process_analyze_document([], [])
pa_resul... | Test that the maximal search is finding different results. | intent_parser/tests/test_unit_ips_analyze_sd2dict.py | test_maximal_search | SD2E/experimental-intent-parser-mw | 0 | python | def test_maximal_search(self):
'\n \n '
culled_results = self.ips.client_state_map[self.doc_id]['search_results']
self.ips.cull_overlapping = Mock(side_effect=self.return_value)
self.ips.process_analyze_document([], [])
pa_results = json.loads(self.ips.send_response.call_args[0][1])
... | def test_maximal_search(self):
'\n \n '
culled_results = self.ips.client_state_map[self.doc_id]['search_results']
self.ips.cull_overlapping = Mock(side_effect=self.return_value)
self.ips.process_analyze_document([], [])
pa_results = json.loads(self.ips.send_response.call_args[0][1])
... |
96249feb277f0424617798c1a93609165a56b8dbf090c9402a999fc6b3c34f51 | def test_analyze_basic(self):
'\n Basic check, ensure that spellcheck runs and the results are as expected\n '
self.assertTrue((self.ips.client_state_map[self.doc_id]['document_id'] == self.doc_id))
self.assertTrue((self.ips.client_state_map[self.doc_id]['search_result_index'] is 1))
self.... | Basic check, ensure that spellcheck runs and the results are as expected | intent_parser/tests/test_unit_ips_analyze_sd2dict.py | test_analyze_basic | SD2E/experimental-intent-parser-mw | 0 | python | def test_analyze_basic(self):
'\n \n '
self.assertTrue((self.ips.client_state_map[self.doc_id]['document_id'] == self.doc_id))
self.assertTrue((self.ips.client_state_map[self.doc_id]['search_result_index'] is 1))
self.assertTrue((len(self.ips.client_state_map[self.doc_id]['search_results']... | def test_analyze_basic(self):
'\n \n '
self.assertTrue((self.ips.client_state_map[self.doc_id]['document_id'] == self.doc_id))
self.assertTrue((self.ips.client_state_map[self.doc_id]['search_result_index'] is 1))
self.assertTrue((len(self.ips.client_state_map[self.doc_id]['search_results']... |
c5616b8a27288989f0afff2485db97cbf134f984dfcd29c235018aeb2fb55369 | def test_analyze_process(self):
'\n Test that goes through the whole results in some fashion\n '
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analy... | Test that goes through the whole results in some fashion | intent_parser/tests/test_unit_ips_analyze_sd2dict.py | test_analyze_process | SD2E/experimental-intent-parser-mw | 0 | python | def test_analyze_process(self):
'\n \n '
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
re... | def test_analyze_process(self):
'\n \n '
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
result = self.ips.process_analyze_no([], self.ips.client_state_map[self.doc_id])
re... |
dd0eaa3574d6b83784ecba2944adbe3d6646d2eb40231a2bab2c910978b6da1b | def tearDown(self):
'\n Perform teardown.\n '
self.ips.stop() | Perform teardown. | intent_parser/tests/test_unit_ips_analyze_sd2dict.py | tearDown | SD2E/experimental-intent-parser-mw | 0 | python | def tearDown(self):
'\n \n '
self.ips.stop() | def tearDown(self):
'\n \n '
self.ips.stop()<|docstring|>Perform teardown.<|endoftext|> |
b12bd3087e701ffaf39cf9d07a798c2c8e3563e8e3c3f401e344e8987075b9d1 | def read_airspy_data(filename):
'\n read_airspy_data:\n \n Reads data recorded using the airspy. Returns a time series.\n \n Args:\n filename (string)\n \n Returns:\n data (int array)\n '
return (np.fromfile(filename, dtype='int16') - (2 ** 11)) | read_airspy_data:
Reads data recorded using the airspy. Returns a time series.
Args:
filename (string)
Returns:
data (int array) | src/ast2050/lab3.py | read_airspy_data | jamesmlane/AST2050-Labs | 0 | python | def read_airspy_data(filename):
'\n read_airspy_data:\n \n Reads data recorded using the airspy. Returns a time series.\n \n Args:\n filename (string)\n \n Returns:\n data (int array)\n '
return (np.fromfile(filename, dtype='int16') - (2 ** 11)) | def read_airspy_data(filename):
'\n read_airspy_data:\n \n Reads data recorded using the airspy. Returns a time series.\n \n Args:\n filename (string)\n \n Returns:\n data (int array)\n '
return (np.fromfile(filename, dtype='int16') - (2 ** 11))<|docstring|>read_airspy_data... |
82f3cc753a8b7662060d3bef44f363496c9a5609cb608da4e1857873abd75db3 | def calculate_galactic_longitude_radec(lon):
'calculate_galactic_longitude_radec:\n \n Calculate the RA / Dec of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n \n Returns:\n (Ra,Dec)\n '
coord_gal = SkyCoord(l=(lon * apu.deg), b=(np.zer... | calculate_galactic_longitude_radec:
Calculate the RA / Dec of a point in the plane of the galaxy.
Args:
lon (float) - galactic longitude
Returns:
(Ra,Dec) | src/ast2050/lab3.py | calculate_galactic_longitude_radec | jamesmlane/AST2050-Labs | 0 | python | def calculate_galactic_longitude_radec(lon):
'calculate_galactic_longitude_radec:\n \n Calculate the RA / Dec of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n \n Returns:\n (Ra,Dec)\n '
coord_gal = SkyCoord(l=(lon * apu.deg), b=(np.zer... | def calculate_galactic_longitude_radec(lon):
'calculate_galactic_longitude_radec:\n \n Calculate the RA / Dec of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n \n Returns:\n (Ra,Dec)\n '
coord_gal = SkyCoord(l=(lon * apu.deg), b=(np.zer... |
ed4dc49fe25c84f77b369986debcf999354b7de5ec1f354366333186cae17079 | def calculate_galactic_longitude_altaz(lon, date_time_string):
"calculate_galactic_longitude_altaz:\n \n Calculate the Alt / Az of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n date_time_string (string) - A string specifying the date and time that \n ... | calculate_galactic_longitude_altaz:
Calculate the Alt / Az of a point in the plane of the galaxy.
Args:
lon (float) - galactic longitude
date_time_string (string) - A string specifying the date and time that
takes the form: 'YYYY-MM-DD HH:MM:SS'
Returns:
(Ra,Dec) | src/ast2050/lab3.py | calculate_galactic_longitude_altaz | jamesmlane/AST2050-Labs | 0 | python | def calculate_galactic_longitude_altaz(lon, date_time_string):
"calculate_galactic_longitude_altaz:\n \n Calculate the Alt / Az of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n date_time_string (string) - A string specifying the date and time that \n ... | def calculate_galactic_longitude_altaz(lon, date_time_string):
"calculate_galactic_longitude_altaz:\n \n Calculate the Alt / Az of a point in the plane of the galaxy.\n \n Args:\n lon (float) - galactic longitude\n date_time_string (string) - A string specifying the date and time that \n ... |
2140cab78022129eab8496614da2b31c1873786943146bdc136f2592072a5520 | def calculate_power(data, chunk_size, sample_rate=5000000.0, lof=1420000000.0):
'calculate_power:\n \n Take the raw data time series from the airspy and compute the \n power spectrum\n \n Args:\n data (N-length int array)\n chunk_size (int) - The number of data points to calculate the F... | calculate_power:
Take the raw data time series from the airspy and compute the
power spectrum
Args:
data (N-length int array)
chunk_size (int) - The number of data points to calculate the FFT on
at a time
sample_rate (float) - samples/second [5E6]
lof (float) - local oscillator frequency in ... | src/ast2050/lab3.py | calculate_power | jamesmlane/AST2050-Labs | 0 | python | def calculate_power(data, chunk_size, sample_rate=5000000.0, lof=1420000000.0):
'calculate_power:\n \n Take the raw data time series from the airspy and compute the \n power spectrum\n \n Args:\n data (N-length int array)\n chunk_size (int) - The number of data points to calculate the F... | def calculate_power(data, chunk_size, sample_rate=5000000.0, lof=1420000000.0):
'calculate_power:\n \n Take the raw data time series from the airspy and compute the \n power spectrum\n \n Args:\n data (N-length int array)\n chunk_size (int) - The number of data points to calculate the F... |
e325a16aec85791787e9ae484dcbae893e6adc2b5cc1402064db388fb6de5731 | def GetMetadata(source, args=None):
"Convenience function to obtain the correct subclass of ``Metadata``.\n Accepts either a ``list[str]`` where every element ends with '.flac' and\n refers to a file, or a ``str`` which ends in '.cue' and refers to a file.\n Another valid input is an object of a class deri... | Convenience function to obtain the correct subclass of ``Metadata``.
Accepts either a ``list[str]`` where every element ends with '.flac' and
refers to a file, or a ``str`` which ends in '.cue' and refers to a file.
Another valid input is an object of a class derived from ``Metadata``. | flac_to_mka/flac/metadata.py | GetMetadata | lbianch/flac_to_mka | 0 | python | def GetMetadata(source, args=None):
"Convenience function to obtain the correct subclass of ``Metadata``.\n Accepts either a ``list[str]`` where every element ends with '.flac' and\n refers to a file, or a ``str`` which ends in '.cue' and refers to a file.\n Another valid input is an object of a class deri... | def GetMetadata(source, args=None):
"Convenience function to obtain the correct subclass of ``Metadata``.\n Accepts either a ``list[str]`` where every element ends with '.flac' and\n refers to a file, or a ``str`` which ends in '.cue' and refers to a file.\n Another valid input is an object of a class deri... |
bd86667d48de9e5732a1abb4f005a0ad6022c5219bd46f5f300efc7f02eed6c9 | def _MergeWithArgs(self, args):
'Method to introduce arguments passed in via command line. These\n arguments take priority over any other extracted information.\n '
if (not args):
self._Validate()
return
if args.album:
self['TITLE'] = args.album
if args.artist:
... | Method to introduce arguments passed in via command line. These
arguments take priority over any other extracted information. | flac_to_mka/flac/metadata.py | _MergeWithArgs | lbianch/flac_to_mka | 0 | python | def _MergeWithArgs(self, args):
'Method to introduce arguments passed in via command line. These\n arguments take priority over any other extracted information.\n '
if (not args):
self._Validate()
return
if args.album:
self['TITLE'] = args.album
if args.artist:
... | def _MergeWithArgs(self, args):
'Method to introduce arguments passed in via command line. These\n arguments take priority over any other extracted information.\n '
if (not args):
self._Validate()
return
if args.album:
self['TITLE'] = args.album
if args.artist:
... |
ef60b5850f6b9749883ab831a22f6f2c7bc859ec71287717725a611c5588f3a5 | def _Validate(self):
'Ensures sane entries for "ISSUE_DATE" and "LABEL", disc numbering,\n and ensures that the required tags ("TITLE", "ARTIST", "GENRE", "DATE")\n have been set. Removes leading or trailing whitespace for all tags.\n '
if (('ISSUE_DATE' in self) != ('LABEL' in self)):
... | Ensures sane entries for "ISSUE_DATE" and "LABEL", disc numbering,
and ensures that the required tags ("TITLE", "ARTIST", "GENRE", "DATE")
have been set. Removes leading or trailing whitespace for all tags. | flac_to_mka/flac/metadata.py | _Validate | lbianch/flac_to_mka | 0 | python | def _Validate(self):
'Ensures sane entries for "ISSUE_DATE" and "LABEL", disc numbering,\n and ensures that the required tags ("TITLE", "ARTIST", "GENRE", "DATE")\n have been set. Removes leading or trailing whitespace for all tags.\n '
if (('ISSUE_DATE' in self) != ('LABEL' in self)):
... | def _Validate(self):
'Ensures sane entries for "ISSUE_DATE" and "LABEL", disc numbering,\n and ensures that the required tags ("TITLE", "ARTIST", "GENRE", "DATE")\n have been set. Removes leading or trailing whitespace for all tags.\n '
if (('ISSUE_DATE' in self) != ('LABEL' in self)):
... |
6e3ff4d3a42e46f37eba48c0ab2edea0a412bcdc0a3f69e4d322adce9b3564f3 | def _Finalize(self):
'``self.sumparts`` is a ``property`` returning a boolean which controls whether\n the output should contain the "TOTAL_PARTS" field which specifies the number of\n tracks. This method also ensures the "DATE_RECORDED" field is a 4-digit year.\n Note that when specified, th... | ``self.sumparts`` is a ``property`` returning a boolean which controls whether
the output should contain the "TOTAL_PARTS" field which specifies the number of
tracks. This method also ensures the "DATE_RECORDED" field is a 4-digit year.
Note that when specified, the number of tracks is not simply ``len(self.tracks)``... | flac_to_mka/flac/metadata.py | _Finalize | lbianch/flac_to_mka | 0 | python | def _Finalize(self):
'``self.sumparts`` is a ``property`` returning a boolean which controls whether\n the output should contain the "TOTAL_PARTS" field which specifies the number of\n tracks. This method also ensures the "DATE_RECORDED" field is a 4-digit year.\n Note that when specified, th... | def _Finalize(self):
'``self.sumparts`` is a ``property`` returning a boolean which controls whether\n the output should contain the "TOTAL_PARTS" field which specifies the number of\n tracks. This method also ensures the "DATE_RECORDED" field is a 4-digit year.\n Note that when specified, th... |
b495defc31f18bf5ea7d01209a7595e37b7a3e7c2964768f96e091dffbca8b54 | def __getitem__(self, key):
'If the ``key`` doesn\'t exist, the empty string is returned.\n As though ``__getitem__(key)`` was really ``get(key, "")``.\n NB: Don\'t want to use a ``defaultdict`` for ``self.data`` since\n that would actually store new keys when they\'re accessed.\n '
... | If the ``key`` doesn't exist, the empty string is returned.
As though ``__getitem__(key)`` was really ``get(key, "")``.
NB: Don't want to use a ``defaultdict`` for ``self.data`` since
that would actually store new keys when they're accessed. | flac_to_mka/flac/metadata.py | __getitem__ | lbianch/flac_to_mka | 0 | python | def __getitem__(self, key):
'If the ``key`` doesn\'t exist, the empty string is returned.\n As though ``__getitem__(key)`` was really ``get(key, )``.\n NB: Don\'t want to use a ``defaultdict`` for ``self.data`` since\n that would actually store new keys when they\'re accessed.\n '
... | def __getitem__(self, key):
'If the ``key`` doesn\'t exist, the empty string is returned.\n As though ``__getitem__(key)`` was really ``get(key, )``.\n NB: Don\'t want to use a ``defaultdict`` for ``self.data`` since\n that would actually store new keys when they\'re accessed.\n '
... |
337ec47b5175713129b0cdf0fbeb6d15f0f7f58255f71d5def2d573acadccc09 | def __str__(self):
'String representation of the disc-level metadata. Produces a\n table with the metadata which can be printed. Note that track-level\n information is not part of the table.\n '
s = [('Album Title', self['TITLE']), ('Album Artist', self['ARTIST']), ('Year', self['DATE_REC... | String representation of the disc-level metadata. Produces a
table with the metadata which can be printed. Note that track-level
information is not part of the table. | flac_to_mka/flac/metadata.py | __str__ | lbianch/flac_to_mka | 0 | python | def __str__(self):
'String representation of the disc-level metadata. Produces a\n table with the metadata which can be printed. Note that track-level\n information is not part of the table.\n '
s = [('Album Title', self['TITLE']), ('Album Artist', self['ARTIST']), ('Year', self['DATE_REC... | def __str__(self):
'String representation of the disc-level metadata. Produces a\n table with the metadata which can be printed. Note that track-level\n information is not part of the table.\n '
s = [('Album Title', self['TITLE']), ('Album Artist', self['ARTIST']), ('Year', self['DATE_REC... |
f2a7dd366f20ade559dd62c06318af74a0dec77668b63424ea7023d2c47d2549 | def GetOutputFilename(self, directory=None):
'If an explicit filename was provided to command line arguments,\n and ``_MergeWithArgs`` was called, typically via a subclass\n constructor,then that filename is returned.\n Otherwise a name of the form\n Artist - Date - Title (Version) (... | If an explicit filename was provided to command line arguments,
and ``_MergeWithArgs`` was called, typically via a subclass
constructor,then that filename is returned.
Otherwise a name of the form
Artist - Date - Title (Version) (Disc Disc#) DiscName (Label IssueDate Medium Channels).wav
is generated, w... | flac_to_mka/flac/metadata.py | GetOutputFilename | lbianch/flac_to_mka | 0 | python | def GetOutputFilename(self, directory=None):
'If an explicit filename was provided to command line arguments,\n and ``_MergeWithArgs`` was called, typically via a subclass\n constructor,then that filename is returned.\n Otherwise a name of the form\n Artist - Date - Title (Version) (... | def GetOutputFilename(self, directory=None):
'If an explicit filename was provided to command line arguments,\n and ``_MergeWithArgs`` was called, typically via a subclass\n constructor,then that filename is returned.\n Otherwise a name of the form\n Artist - Date - Title (Version) (... |
f0295bcce89989c7216f6152e0302976ddf2c16a15d97a275a8c9f0b66f57771 | def PrintMetadata(self):
'Formats and prints the metadata using the string\n representation and adding in track-level details.\n '
def PrintTrack(trackno, track):
output = [f'File {str((trackno + 1)).zfill(2)}:']
with IgnoreKeyError:
output.append(f"Disc {track['disc']... | Formats and prints the metadata using the string
representation and adding in track-level details. | flac_to_mka/flac/metadata.py | PrintMetadata | lbianch/flac_to_mka | 0 | python | def PrintMetadata(self):
'Formats and prints the metadata using the string\n representation and adding in track-level details.\n '
def PrintTrack(trackno, track):
output = [f'File {str((trackno + 1)).zfill(2)}:']
with IgnoreKeyError:
output.append(f"Disc {track['disc']... | def PrintMetadata(self):
'Formats and prints the metadata using the string\n representation and adding in track-level details.\n '
def PrintTrack(trackno, track):
output = [f'File {str((trackno + 1)).zfill(2)}:']
with IgnoreKeyError:
output.append(f"Disc {track['disc']... |
db43d65600aa09e50cee4a2dcf98e53c273a06bde8712e6b8ced199cc10003f9 | def Confirm(self):
'Prints out metadata using ``PrintMetadata`` then asks\n the user if they want to continue. Any answer starting\n with \'n\' or \'N\' is interpreted as "no" while any other\n answer is interpreted as "yes".\n Returns:\n bool: True for user-approved merging,... | Prints out metadata using ``PrintMetadata`` then asks
the user if they want to continue. Any answer starting
with 'n' or 'N' is interpreted as "no" while any other
answer is interpreted as "yes".
Returns:
bool: True for user-approved merging, False for cancel | flac_to_mka/flac/metadata.py | Confirm | lbianch/flac_to_mka | 0 | python | def Confirm(self):
'Prints out metadata using ``PrintMetadata`` then asks\n the user if they want to continue. Any answer starting\n with \'n\' or \'N\' is interpreted as "no" while any other\n answer is interpreted as "yes".\n Returns:\n bool: True for user-approved merging,... | def Confirm(self):
'Prints out metadata using ``PrintMetadata`` then asks\n the user if they want to continue. Any answer starting\n with \'n\' or \'N\' is interpreted as "no" while any other\n answer is interpreted as "yes".\n Returns:\n bool: True for user-approved merging,... |
b5d04158f94e2f6863eb9f43b6da1b4a43a0b7c8a4b9d75265af21f6d4e3add5 | @staticmethod
def ExtractProperty(line, name):
'Helper method to deal with lines in a CUE sheet which\n have the form:\n name "value"\n where ``name`` may have whitespace inside it, before it, and\n the quote marks are optional with possible whitespace at the\n end of the line... | Helper method to deal with lines in a CUE sheet which
have the form:
name "value"
where ``name`` may have whitespace inside it, before it, and
the quote marks are optional with possible whitespace at the
end of the line. The return value would be ``value``.
Expects ``str`` input and output. | flac_to_mka/flac/metadata.py | ExtractProperty | lbianch/flac_to_mka | 0 | python | @staticmethod
def ExtractProperty(line, name):
'Helper method to deal with lines in a CUE sheet which\n have the form:\n name "value"\n where ``name`` may have whitespace inside it, before it, and\n the quote marks are optional with possible whitespace at the\n end of the line... | @staticmethod
def ExtractProperty(line, name):
'Helper method to deal with lines in a CUE sheet which\n have the form:\n name "value"\n where ``name`` may have whitespace inside it, before it, and\n the quote marks are optional with possible whitespace at the\n end of the line... |
6e527f66db043226bae70ad55837bc0090db31bcd955a85cab9c2ea131399627 | @staticmethod
def ExtractTrackInformation(lines):
"Get all the data about this track\n The lines variable holds the entire CUE sheet's lines\n index points to the element in the list which starts with\n ' TRACK' and we want to continue to get data about this track\n so long as our lines... | Get all the data about this track
The lines variable holds the entire CUE sheet's lines
index points to the element in the list which starts with
' TRACK' and we want to continue to get data about this track
so long as our lines start with 4 spaces | flac_to_mka/flac/metadata.py | ExtractTrackInformation | lbianch/flac_to_mka | 0 | python | @staticmethod
def ExtractTrackInformation(lines):
"Get all the data about this track\n The lines variable holds the entire CUE sheet's lines\n index points to the element in the list which starts with\n ' TRACK' and we want to continue to get data about this track\n so long as our lines... | @staticmethod
def ExtractTrackInformation(lines):
"Get all the data about this track\n The lines variable holds the entire CUE sheet's lines\n index points to the element in the list which starts with\n ' TRACK' and we want to continue to get data about this track\n so long as our lines... |
9cd5dd7517419ceafdd0c4610c0810a36634ce75720a389d06b75b0bc6b467cc | @staticmethod
def ExtractFilename(line):
'Expects ``line`` to be a string of the form:\n FILE "Some filename.[wav|flac]" WAVE\n Uses the ``ExtractProperty`` method to convert this to\n Some filename.[wav|flac] WAVE\n and then removes the part after the extension.\n '
if (n... | Expects ``line`` to be a string of the form:
FILE "Some filename.[wav|flac]" WAVE
Uses the ``ExtractProperty`` method to convert this to
Some filename.[wav|flac] WAVE
and then removes the part after the extension. | flac_to_mka/flac/metadata.py | ExtractFilename | lbianch/flac_to_mka | 0 | python | @staticmethod
def ExtractFilename(line):
'Expects ``line`` to be a string of the form:\n FILE "Some filename.[wav|flac]" WAVE\n Uses the ``ExtractProperty`` method to convert this to\n Some filename.[wav|flac] WAVE\n and then removes the part after the extension.\n '
if (n... | @staticmethod
def ExtractFilename(line):
'Expects ``line`` to be a string of the form:\n FILE "Some filename.[wav|flac]" WAVE\n Uses the ``ExtractProperty`` method to convert this to\n Some filename.[wav|flac] WAVE\n and then removes the part after the extension.\n '
if (n... |
b850cb512235f1958b48ce12fccc89c1a5723d4c2e4ec9aaead4df382e5a78e3 | def hitTest(*args, **kwargs):
'\n The hitTestcommand hit-tests a point in the named control and returns a list of items underneath the point. The point is\n specified in pixels with the origin (0,0) at the top-left corner. This position is compatible with the coordinates\n provided by a drop-callback. The ... | The hitTestcommand hit-tests a point in the named control and returns a list of items underneath the point. The point is
specified in pixels with the origin (0,0) at the top-left corner. This position is compatible with the coordinates
provided by a drop-callback. The types of items that may be returned depends upon th... | mayaSDK/pymel/core/system.py | hitTest | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def hitTest(*args, **kwargs):
'\n The hitTestcommand hit-tests a point in the named control and returns a list of items underneath the point. The point is\n specified in pixels with the origin (0,0) at the top-left corner. This position is compatible with the coordinates\n provided by a drop-callback. The ... | def hitTest(*args, **kwargs):
'\n The hitTestcommand hit-tests a point in the named control and returns a list of items underneath the point. The point is\n specified in pixels with the origin (0,0) at the top-left corner. This position is compatible with the coordinates\n provided by a drop-callback. The ... |
4bcc4f211060c6a5d7ec294220a13aee160dbb8a0032dc4cc32496143030098d | def displayString(*args, **kwargs):
"\n Assign a string value to a string identifier. Allows you define a string in one location and then refer to it by its\n identifier in many other locations. Formatted strings are also supported (NOTE however, this functionality is now\n provided in a more general fashi... | Assign a string value to a string identifier. Allows you define a string in one location and then refer to it by its
identifier in many other locations. Formatted strings are also supported (NOTE however, this functionality is now
provided in a more general fashion by the format command, use of format is recommended). ... | mayaSDK/pymel/core/system.py | displayString | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def displayString(*args, **kwargs):
"\n Assign a string value to a string identifier. Allows you define a string in one location and then refer to it by its\n identifier in many other locations. Formatted strings are also supported (NOTE however, this functionality is now\n provided in a more general fashi... | def displayString(*args, **kwargs):
"\n Assign a string value to a string identifier. Allows you define a string in one location and then refer to it by its\n identifier in many other locations. Formatted strings are also supported (NOTE however, this functionality is now\n provided in a more general fashi... |
adaaa3a3026c38595b241962337d0952a2c5d2f5c1a101c817a11c861b56cf3e | def timerX(*args, **kwargs):
'\n Used to calculate elapsed time. This command returns sub-second accurate time values. It is useful from scripts for\n timing the length of operations. Call this command before and after the operation you wish to time. On the first call,\n do not use any flags. It will retur... | Used to calculate elapsed time. This command returns sub-second accurate time values. It is useful from scripts for
timing the length of operations. Call this command before and after the operation you wish to time. On the first call,
do not use any flags. It will return the start time. Save this value. After the opera... | mayaSDK/pymel/core/system.py | timerX | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def timerX(*args, **kwargs):
'\n Used to calculate elapsed time. This command returns sub-second accurate time values. It is useful from scripts for\n timing the length of operations. Call this command before and after the operation you wish to time. On the first call,\n do not use any flags. It will retur... | def timerX(*args, **kwargs):
'\n Used to calculate elapsed time. This command returns sub-second accurate time values. It is useful from scripts for\n timing the length of operations. Call this command before and after the operation you wish to time. On the first call,\n do not use any flags. It will retur... |
4bc52f8293e6f1b69f795d52afb29cdd73c0559513b9ceaa7194a69b720d2cbd | def requires(*args, **kwargs):
'\n This command is used during file I/O to specify the requirements needed to load the given file. It defines what file\n format version was used to write the file, or what plug-ins are required to load the scene. The first string names a\n product (either maya, or a plug-i... | This command is used during file I/O to specify the requirements needed to load the given file. It defines what file
format version was used to write the file, or what plug-ins are required to load the scene. The first string names a
product (either maya, or a plug-in name) The second string gives the version. This co... | mayaSDK/pymel/core/system.py | requires | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def requires(*args, **kwargs):
'\n This command is used during file I/O to specify the requirements needed to load the given file. It defines what file\n format version was used to write the file, or what plug-ins are required to load the scene. The first string names a\n product (either maya, or a plug-i... | def requires(*args, **kwargs):
'\n This command is used during file I/O to specify the requirements needed to load the given file. It defines what file\n format version was used to write the file, or what plug-ins are required to load the scene. The first string names a\n product (either maya, or a plug-i... |
7e675c21a4aaa2d87e435c431f24d4d37119d3444f19326680fbb35ebb8ada5e | def dbcount(*args, **kwargs):
"\n The dbcountcommand is used to print and manage a list of statistics collected for counting operations. These statistics\n are displayed as a list of hits on a particular location in code, with added reference information for\n pointers/strings/whatever. If -reset is not s... | The dbcountcommand is used to print and manage a list of statistics collected for counting operations. These statistics
are displayed as a list of hits on a particular location in code, with added reference information for
pointers/strings/whatever. If -reset is not specified then statistics are printed.
Flags:
- e... | mayaSDK/pymel/core/system.py | dbcount | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dbcount(*args, **kwargs):
"\n The dbcountcommand is used to print and manage a list of statistics collected for counting operations. These statistics\n are displayed as a list of hits on a particular location in code, with added reference information for\n pointers/strings/whatever. If -reset is not s... | def dbcount(*args, **kwargs):
"\n The dbcountcommand is used to print and manage a list of statistics collected for counting operations. These statistics\n are displayed as a list of hits on a particular location in code, with added reference information for\n pointers/strings/whatever. If -reset is not s... |
c3540e23db3ff790f6a9b86a80163598f49957c69cacbc7b7e636c83ba9eb190 | def exportSelected(exportPath, **kwargs):
'\n Export the selected items into the specified file. Returns the name of the exported file. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to ... | Export the selected items into the specified file. Returns the name of the exported file.
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... | mayaSDK/pymel/core/system.py | exportSelected | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportSelected(exportPath, **kwargs):
'\n Export the selected items into the specified file. Returns the name of the exported file. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to ... | def exportSelected(exportPath, **kwargs):
'\n Export the selected items into the specified file. Returns the name of the exported file. \n \n Flags:\n - force:\n Force an action to take place. (new, open, save, remove reference, unload reference) Used with removeReference to ... |
3c6c38467e957db840fca8cb51653facf919b36dd2adc96393dc91263d6c9e6e | def untitledFileName():
'\n Obtain the base filename used for untitled scenes. In localized environments, this string will contain a translated value.\n '
pass | Obtain the base filename used for untitled scenes. In localized environments, this string will contain a translated value. | mayaSDK/pymel/core/system.py | untitledFileName | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def untitledFileName():
'\n \n '
pass | def untitledFileName():
'\n \n '
pass<|docstring|>Obtain the base filename used for untitled scenes. In localized environments, this string will contain a translated value.<|endoftext|> |
eff298961eaebf1d8bed178f97d5b66109911f4cb9164ae3fe658e262e7fa733 | def fileDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will conver... | The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is
recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both
fileBrowserDialog and fileDialog will convert the flags/values passed to them into the appropriate... | mayaSDK/pymel/core/system.py | fileDialog | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def fileDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will conver... | def fileDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will conver... |
5d68792cd7c033ba2467efb25b12eb2f0123bd08724cae65281db4f0f8b38515 | def dbtrace(*args, **kwargs):
"\n The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating\n which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria\n (filterFILTER)Function (off... | The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating
which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria
(filterFILTER)Function (off, outputFILE, mark, titleTITLE, timed: default oper... | mayaSDK/pymel/core/system.py | dbtrace | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dbtrace(*args, **kwargs):
"\n The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating\n which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria\n (filterFILTER)Function (off... | def dbtrace(*args, **kwargs):
"\n The dbtracecommand is used to manipulate trace objects. The keyword is the only mandatory argument, indicating\n which trace object is to be altered. Trace Objects to affect (keywordKEY)Optional filtering criteria\n (filterFILTER)Function (off... |
4d1813e51439bb2bfa316773f91e0f7fb53ff69cfaeaed6fe17e4b74357f5cc1 | def findType(*args, **kwargs):
'\n The findTypecommand is used to search through a dependency subgraph on a certain node to find all nodes of the given\n type. The search can go either upstream (input connections) or downstream (output connections). The plug/attribute\n dependencies are not taken into acco... | The findTypecommand is used to search through a dependency subgraph on a certain node to find all nodes of the given
type. The search can go either upstream (input connections) or downstream (output connections). The plug/attribute
dependencies are not taken into account when searching for matching nodes, only the conn... | mayaSDK/pymel/core/system.py | findType | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def findType(*args, **kwargs):
'\n The findTypecommand is used to search through a dependency subgraph on a certain node to find all nodes of the given\n type. The search can go either upstream (input connections) or downstream (output connections). The plug/attribute\n dependencies are not taken into acco... | def findType(*args, **kwargs):
'\n The findTypecommand is used to search through a dependency subgraph on a certain node to find all nodes of the given\n type. The search can go either upstream (input connections) or downstream (output connections). The plug/attribute\n dependencies are not taken into acco... |
a343b445a8a6f313baad420f1ff09c60f33db329060811ba2a40a49cb0cdbd8a | def referenceQuery(*args, **kwargs):
"\n Use this command to find out information about references and referenced nodes. A valid target is either a reference\n node, a reference file, or a referenced node. Some flags don't require a target, see flag descriptions for more\n information on what effect this h... | Use this command to find out information about references and referenced nodes. A valid target is either a reference
node, a reference file, or a referenced node. Some flags don't require a target, see flag descriptions for more
information on what effect this has. When a scene contains multiple levels of file referenc... | mayaSDK/pymel/core/system.py | referenceQuery | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def referenceQuery(*args, **kwargs):
"\n Use this command to find out information about references and referenced nodes. A valid target is either a reference\n node, a reference file, or a referenced node. Some flags don't require a target, see flag descriptions for more\n information on what effect this h... | def referenceQuery(*args, **kwargs):
"\n Use this command to find out information about references and referenced nodes. A valid target is either a reference\n node, a reference file, or a referenced node. Some flags don't require a target, see flag descriptions for more\n information on what effect this h... |
b0f14ab4a31e5f157c48ef02fd6e32850f51f639be6f291b389fd5d0fe87218e | def referenceEdit(*args, **kwargs):
"\n Use this command to remove and change the modifications which have been applied to references. A valid commandTarget is\n either a reference node, a reference file, a node in a reference, or a plug from a reference. Only modifications that\n have been made from the c... | Use this command to remove and change the modifications which have been applied to references. A valid commandTarget is
either a reference node, a reference file, a node in a reference, or a plug from a reference. Only modifications that
have been made from the currently open scene can be changed or removed. The 'refer... | mayaSDK/pymel/core/system.py | referenceEdit | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def referenceEdit(*args, **kwargs):
"\n Use this command to remove and change the modifications which have been applied to references. A valid commandTarget is\n either a reference node, a reference file, a node in a reference, or a plug from a reference. Only modifications that\n have been made from the c... | def referenceEdit(*args, **kwargs):
"\n Use this command to remove and change the modifications which have been applied to references. A valid commandTarget is\n either a reference node, a reference file, a node in a reference, or a plug from a reference. Only modifications that\n have been made from the c... |
f3bf2e99b082e9649557aabd27fe24da6457452cd26ae0993c20d9c097d8a50b | def audioTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the audio clips displayed in the sequencer. It can\n also be used to modify the track state, for example, to lock or mute a track. In query mode, return type\n is based on queried flag.\n ... | This command is used for inserting and removing tracks related to the audio clips 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) ... | mayaSDK/pymel/core/system.py | audioTrack | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def audioTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the audio clips displayed in the sequencer. It can\n also be used to modify the track state, for example, to lock or mute a track. In query mode, return type\n is based on queried flag.\n ... | def audioTrack(*args, **kwargs):
"\n This command is used for inserting and removing tracks related to the audio clips displayed in the sequencer. It can\n also be used to modify the track state, for example, to lock or mute a track. In query mode, return type\n is based on queried flag.\n ... |
5ee7b9693bb02e3a5f9f3844a2fae7df08a45153250b5d55b843731d8240ebdf | def translator(*args, **kwargs):
'\n Set or query parameters associated with the file translators specified in as the argument.\n \n Flags:\n - defaultFileRule : dfr (bool) [query]\n Returns the default file rule value, can return as well\n \n - defaultOptions : do ... | Set or query parameters associated with the file translators specified in as the argument.
Flags:
- defaultFileRule : dfr (bool) [query]
Returns the default file rule value, can return as well
- defaultOptions : do (unicode) [query]
Return/set a string of default opt... | mayaSDK/pymel/core/system.py | translator | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def translator(*args, **kwargs):
'\n Set or query parameters associated with the file translators specified in as the argument.\n \n Flags:\n - defaultFileRule : dfr (bool) [query]\n Returns the default file rule value, can return as well\n \n - defaultOptions : do ... | def translator(*args, **kwargs):
'\n Set or query parameters associated with the file translators specified in as the argument.\n \n Flags:\n - defaultFileRule : dfr (bool) [query]\n Returns the default file rule value, can return as well\n \n - defaultOptions : do ... |
a152e37a37a223558406525dd6f56db523b3b95cdc04971f4927690c7cf863b9 | def listInputDeviceAxes(*args, **kwargs):
'\n This command lists all of the axes of the specified input device.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceAxes`\n '
pass | This command lists all of the axes of the specified input device.
Dynamic library stub function
Derived from mel command `maya.cmds.listInputDeviceAxes` | mayaSDK/pymel/core/system.py | listInputDeviceAxes | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listInputDeviceAxes(*args, **kwargs):
'\n This command lists all of the axes of the specified input device.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceAxes`\n '
pass | def listInputDeviceAxes(*args, **kwargs):
'\n This command lists all of the axes of the specified input device.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDeviceAxes`\n '
pass<|docstring|>This command lists all of the axes of the specified input ... |
d4b27c19c162f710674b8577945f8d366d71a08d8015e1e67b0724d668d42afe | def timer(*args, **kwargs):
"\n Allow simple timing of scripts and commands. The resolution of this timer is at the level of your OS's\n gettimeofday()function. Note:This command does not handle stacked calls. For example, this code below will give an\n incorrect answer on the second timer -ecall.timer -s... | Allow simple timing of scripts and commands. The resolution of this timer is at the level of your OS's
gettimeofday()function. Note:This command does not handle stacked calls. For example, this code below will give an
incorrect answer on the second timer -ecall.timer -s; timer -s; timer -e; timer -e; To do this use na... | mayaSDK/pymel/core/system.py | timer | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def timer(*args, **kwargs):
"\n Allow simple timing of scripts and commands. The resolution of this timer is at the level of your OS's\n gettimeofday()function. Note:This command does not handle stacked calls. For example, this code below will give an\n incorrect answer on the second timer -ecall.timer -s... | def timer(*args, **kwargs):
"\n Allow simple timing of scripts and commands. The resolution of this timer is at the level of your OS's\n gettimeofday()function. Note:This command does not handle stacked calls. For example, this code below will give an\n incorrect answer on the second timer -ecall.timer -s... |
60476b983bcb03235c3cd5bfed832c72e2cc5bb8cffca650727fdee43d724956 | def warning(*args, **kwargs):
'\n The warning command is provided so that the user can issue warning messages from his/her scripts. The string argument is\n displayed in the command window (or stdout if running in batch mode) after being prefixed with a warning message heading\n and surrounded by the appro... | The warning command is provided so that the user can issue warning messages from his/her scripts. The string argument is
displayed in the command window (or stdout if running in batch mode) after being prefixed with a warning message heading
and surrounded by the appropriate language separators (# for Python, // for Me... | mayaSDK/pymel/core/system.py | warning | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def warning(*args, **kwargs):
'\n The warning command is provided so that the user can issue warning messages from his/her scripts. The string argument is\n displayed in the command window (or stdout if running in batch mode) after being prefixed with a warning message heading\n and surrounded by the appro... | def warning(*args, **kwargs):
'\n The warning command is provided so that the user can issue warning messages from his/her scripts. The string argument is\n displayed in the command window (or stdout if running in batch mode) after being prefixed with a warning message heading\n and surrounded by the appro... |
540cb27a125c1bbb28f30d0deb6ad6ce2832edf22f1fa6da2de98056acb9a92b | def exportAsReference(exportPath, **kwargs):
'\n Export the selected objects into a reference file with the given name. The file is saved on disk during the process. Returns the name of the reference created. \n \n Flags:\n - namespace:\n The namespace name to use that will g... | Export the selected objects into a reference file with the given name. The file is saved on disk during the process. Returns the name of the reference created.
Flags:
- namespace:
The namespace name to use that will group all objects during importing and referencing. Change the namespace used... | mayaSDK/pymel/core/system.py | exportAsReference | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportAsReference(exportPath, **kwargs):
'\n Export the selected objects into a reference file with the given name. The file is saved on disk during the process. Returns the name of the reference created. \n \n Flags:\n - namespace:\n The namespace name to use that will g... | def exportAsReference(exportPath, **kwargs):
'\n Export the selected objects into a reference file with the given name. The file is saved on disk during the process. Returns the name of the reference created. \n \n Flags:\n - namespace:\n The namespace name to use that will g... |
e9f5c241a3e124513688bbf43b49c8f8ea1a61831e78f46f93d64179e05aebb6 | def profiler(*args, **kwargs):
"\n The profiler is used to record timing information from key events within Maya, as an aid in tuning the performance of\n scenes, scripts and plug-ins. User written plug-ins and Python scripts can also generate profiling information for their\n own code through the MProfili... | The profiler is used to record timing information from key events within Maya, as an aid in tuning the performance of
scenes, scripts and plug-ins. User written plug-ins and Python scripts can also generate profiling information for their
own code through the MProfilingScope and MProfiler classes in the API. This comma... | mayaSDK/pymel/core/system.py | profiler | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def profiler(*args, **kwargs):
"\n The profiler is used to record timing information from key events within Maya, as an aid in tuning the performance of\n scenes, scripts and plug-ins. User written plug-ins and Python scripts can also generate profiling information for their\n own code through the MProfili... | def profiler(*args, **kwargs):
"\n The profiler is used to record timing information from key events within Maya, as an aid in tuning the performance of\n scenes, scripts and plug-ins. User written plug-ins and Python scripts can also generate profiling information for their\n own code through the MProfili... |
3732a73b5df20b1e883791c5e5376386ca168da9131eb2fdef7573c743d8afea | def dirmap(*args, **kwargs):
"\n Use this command to map a directory to another directory. The first argument is the directory to map, and the second is\n the destination directory to map to. Directories must both be absolute paths, and should be separated with forward\n slashes ('/'). The mapping is case-... | Use this command to map a directory to another directory. The first argument is the directory to map, and the second is
the destination directory to map to. Directories must both be absolute paths, and should be separated with forward
slashes ('/'). The mapping is case-sensitive on all platforms. This command can be us... | mayaSDK/pymel/core/system.py | dirmap | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dirmap(*args, **kwargs):
"\n Use this command to map a directory to another directory. The first argument is the directory to map, and the second is\n the destination directory to map to. Directories must both be absolute paths, and should be separated with forward\n slashes ('/'). The mapping is case-... | def dirmap(*args, **kwargs):
"\n Use this command to map a directory to another directory. The first argument is the directory to map, and the second is\n the destination directory to map to. Directories must both be absolute paths, and should be separated with forward\n slashes ('/'). The mapping is case-... |
48bf4e78a9a1330019767ddb3576c99ee8a5bcd183770f3c097639bc0bad2c6e | def xpmPicker(*args, **kwargs):
'\n Open a dialog and ask you to choose a xpm file\n \n Flags:\n - fileName : fn (unicode) [create]\n default filename to display in dialog\n \n - parent : p (unicode) [create]\n parent window fo... | Open a dialog and ask you to choose a xpm file
Flags:
- fileName : fn (unicode) [create]
default filename to display in dialog
- parent : p (unicode) [create]
parent window for modal dialog Flag can have multiple arguments, passed eithe... | mayaSDK/pymel/core/system.py | xpmPicker | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def xpmPicker(*args, **kwargs):
'\n Open a dialog and ask you to choose a xpm file\n \n Flags:\n - fileName : fn (unicode) [create]\n default filename to display in dialog\n \n - parent : p (unicode) [create]\n parent window fo... | def xpmPicker(*args, **kwargs):
'\n Open a dialog and ask you to choose a xpm file\n \n Flags:\n - fileName : fn (unicode) [create]\n default filename to display in dialog\n \n - parent : p (unicode) [create]\n parent window fo... |
b70e160485872a1596afc0ac9908178bf73682f982c3e1bc79348990111253d5 | def dagObjectCompare(*args, **kwargs):
"\n dagObjectCompare can be used to compare to compare objects based on: type - Currently supports transform nodes and\n shape nodesrelatives - Compares DAG objects' children and parentsconnections - Checks to make sure the two dags are\n connected to the same source... | dagObjectCompare can be used to compare to compare objects based on: type - Currently supports transform nodes and
shape nodesrelatives - Compares DAG objects' children and parentsconnections - Checks to make sure the two dags are
connected to the same sources and destinationsattributes - Checks to make sure that the ... | mayaSDK/pymel/core/system.py | dagObjectCompare | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dagObjectCompare(*args, **kwargs):
"\n dagObjectCompare can be used to compare to compare objects based on: type - Currently supports transform nodes and\n shape nodesrelatives - Compares DAG objects' children and parentsconnections - Checks to make sure the two dags are\n connected to the same source... | def dagObjectCompare(*args, **kwargs):
"\n dagObjectCompare can be used to compare to compare objects based on: type - Currently supports transform nodes and\n shape nodesrelatives - Compares DAG objects' children and parentsconnections - Checks to make sure the two dags are\n connected to the same source... |
b42c88d2aaa9c0f5faf6c9d0b06b108a8f5ee72fac97fdca06016b8e91b6452d | def listNamespaces_old():
"\n Deprecated\n Returns a list of the namespaces of referenced files.\n REMOVE In Favor of listReferences('dict') ?\n "
pass | Deprecated
Returns a list of the namespaces of referenced files.
REMOVE In Favor of listReferences('dict') ? | mayaSDK/pymel/core/system.py | listNamespaces_old | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listNamespaces_old():
"\n Deprecated\n Returns a list of the namespaces of referenced files.\n REMOVE In Favor of listReferences('dict') ?\n "
pass | def listNamespaces_old():
"\n Deprecated\n Returns a list of the namespaces of referenced files.\n REMOVE In Favor of listReferences('dict') ?\n "
pass<|docstring|>Deprecated
Returns a list of the namespaces of referenced files.
REMOVE In Favor of listReferences('dict') ?<|endoftext|> |
268b23c1be78d1ec9f17c77c0d1bee5aed253779877da32ace0c7e56eaf5f3df | def cacheFile(*args, **kwargs):
"\n Creates one or more cache files on disk to store attribute data for a span of frames. The caches can be created for\n points/normals on a geometry (using the pts/points or pan/pointsAndNormals flag), for vectorArray output data (using the\n oa/outAttr flag), or for addit... | Creates one or more cache files on disk to store attribute data for a span of frames. The caches can be created for
points/normals on a geometry (using the pts/points or pan/pointsAndNormals flag), for vectorArray output data (using the
oa/outAttr flag), or for additional node specific data (using the cnd/cacheableNode... | mayaSDK/pymel/core/system.py | cacheFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def cacheFile(*args, **kwargs):
"\n Creates one or more cache files on disk to store attribute data for a span of frames. The caches can be created for\n points/normals on a geometry (using the pts/points or pan/pointsAndNormals flag), for vectorArray output data (using the\n oa/outAttr flag), or for addit... | def cacheFile(*args, **kwargs):
"\n Creates one or more cache files on disk to store attribute data for a span of frames. The caches can be created for\n points/normals on a geometry (using the pts/points or pan/pointsAndNormals flag), for vectorArray output data (using the\n oa/outAttr flag), or for addit... |
cbecdcc1f5dcbef2770e990ff3776fed76051515b6e9f3c76fb810e8eb7313b2 | def saveImage(*args, **kwargs):
"\n This command creates a static image for non-xpm files. Any image file format supported by the file texture node is\n supported by this command. This command creates a static image control for non-xpm files used to display a thumbnail\n image of the scene file.\n \n ... | This command creates a static image for non-xpm files. Any image file format supported by the file texture node is
supported by this command. This command creates a static image control for non-xpm files used to display a thumbnail
image of the scene file.
Flags:
- annotation : ann (unicode) [cre... | mayaSDK/pymel/core/system.py | saveImage | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def saveImage(*args, **kwargs):
"\n This command creates a static image for non-xpm files. Any image file format supported by the file texture node is\n supported by this command. This command creates a static image control for non-xpm files used to display a thumbnail\n image of the scene file.\n \n ... | def saveImage(*args, **kwargs):
"\n This command creates a static image for non-xpm files. Any image file format supported by the file texture node is\n supported by this command. This command creates a static image control for non-xpm files used to display a thumbnail\n image of the scene file.\n \n ... |
f3ca3bd05c7838bbbfd06a7cb7fc06d482540ea48e79da1fba4e2e49d25fc2cd | def flushUndo(*args, **kwargs):
'\n Removes everything from the undo queue, freeing up memory.\n \n \n Derived from mel command `maya.cmds.flushUndo`\n '
pass | Removes everything from the undo queue, freeing up memory.
Derived from mel command `maya.cmds.flushUndo` | mayaSDK/pymel/core/system.py | flushUndo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def flushUndo(*args, **kwargs):
'\n Removes everything from the undo queue, freeing up memory.\n \n \n Derived from mel command `maya.cmds.flushUndo`\n '
pass | def flushUndo(*args, **kwargs):
'\n Removes everything from the undo queue, freeing up memory.\n \n \n Derived from mel command `maya.cmds.flushUndo`\n '
pass<|docstring|>Removes everything from the undo queue, freeing up memory.
Derived from mel command `maya.cmds.flushUndo`<|endoftext|> |
a8b6c6ac154f65ebc34dba3656f1ac2e8a6c1fe97f0d4160666ffe1c2f662871 | def dgInfo(*args, **kwargs):
"\n This command prints information about the DG in plain text. The scope of the information printed is the entire graph if\n the allflag is used, the nodes/plugs on the command line if they were specified, and the selection list, in that order.\n Each plug on a connection will... | This command prints information about the DG in plain text. The scope of the information printed is the entire graph if
the allflag is used, the nodes/plugs on the command line if they were specified, and the selection list, in that order.
Each plug on a connection will have two pieces of state information displayed to... | mayaSDK/pymel/core/system.py | dgInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgInfo(*args, **kwargs):
"\n This command prints information about the DG in plain text. The scope of the information printed is the entire graph if\n the allflag is used, the nodes/plugs on the command line if they were specified, and the selection list, in that order.\n Each plug on a connection will... | def dgInfo(*args, **kwargs):
"\n This command prints information about the DG in plain text. The scope of the information printed is the entire graph if\n the allflag is used, the nodes/plugs on the command line if they were specified, and the selection list, in that order.\n Each plug on a connection will... |
debc5500d061d8600d947189819820590fb16d9babc68162bb70050efc916ddd | def diskCache(*args, **kwargs):
'\n Command to create, clear, or close disk cache(s). In query mode, return type is based on queried flag.\n \n Flags:\n - append : a (bool) [create,query]\n Append at the end and not to flush the existing cache\n ... | Command to create, clear, or close disk cache(s). In query mode, return type is based on queried flag.
Flags:
- append : a (bool) [create,query]
Append at the end and not to flush the existing cache
- cacheType : ct (unicode) [create,query]
... | mayaSDK/pymel/core/system.py | diskCache | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def diskCache(*args, **kwargs):
'\n Command to create, clear, or close disk cache(s). In query mode, return type is based on queried flag.\n \n Flags:\n - append : a (bool) [create,query]\n Append at the end and not to flush the existing cache\n ... | def diskCache(*args, **kwargs):
'\n Command to create, clear, or close disk cache(s). In query mode, return type is based on queried flag.\n \n Flags:\n - append : a (bool) [create,query]\n Append at the end and not to flush the existing cache\n ... |
9c930d62b7656060a5777b51a430150490daa999d14abd7949183ba06f92949c | def melInfo(*args, **kwargs):
'\n This command returns the names of all global MEL procedures that are currently defined as a string array. The user can\n query the definition of each MEL procedure using the whatIscommand.\n \n \n Derived from mel command `maya.cmds.melInfo`\n '
pass | This command returns the names of all global MEL procedures that are currently defined as a string array. The user can
query the definition of each MEL procedure using the whatIscommand.
Derived from mel command `maya.cmds.melInfo` | mayaSDK/pymel/core/system.py | melInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def melInfo(*args, **kwargs):
'\n This command returns the names of all global MEL procedures that are currently defined as a string array. The user can\n query the definition of each MEL procedure using the whatIscommand.\n \n \n Derived from mel command `maya.cmds.melInfo`\n '
pass | def melInfo(*args, **kwargs):
'\n This command returns the names of all global MEL procedures that are currently defined as a string array. The user can\n query the definition of each MEL procedure using the whatIscommand.\n \n \n Derived from mel command `maya.cmds.melInfo`\n '
pass<|docstrin... |
964598c3beb886b2f7e5c3877aab0f2de34fc23263c5619c3065d55c07e13930 | def exportAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from all objects in the scene. The resulting animation export file will contain connections to objects that are not included in the animation file. As a result, importing/referencing this file back in will require obj... | Export all animation nodes and animation helper nodes from all objects in the scene. The resulting animation export file will contain connections to objects that are not included in the animation file. As a result, importing/referencing this file back in will require objects of the same name to be present, else errors ... | mayaSDK/pymel/core/system.py | exportAnim | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from all objects in the scene. The resulting animation export file will contain connections to objects that are not included in the animation file. As a result, importing/referencing this file back in will require obj... | def exportAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from all objects in the scene. The resulting animation export file will contain connections to objects that are not included in the animation file. As a result, importing/referencing this file back in will require obj... |
e4c390a38eb53bcc4c25c384101c738aec23158f3d09d27bfe609e996a5a6c7c | def getModulePath(*args, **kwargs):
'\n Returns the module path for a given module name.\n \n Flags:\n - moduleName : mn (unicode) [create]\n The name of the module whose path you want to retrieve. Flag can have multiple\n argum... | Returns the module path for a given module name.
Flags:
- moduleName : mn (unicode) [create]
The name of the module whose path you want to retrieve. Flag can have multiple
arguments, passed either as a tuple or a list.
Derived from mel command `ma... | mayaSDK/pymel/core/system.py | getModulePath | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getModulePath(*args, **kwargs):
'\n Returns the module path for a given module name.\n \n Flags:\n - moduleName : mn (unicode) [create]\n The name of the module whose path you want to retrieve. Flag can have multiple\n argum... | def getModulePath(*args, **kwargs):
'\n Returns the module path for a given module name.\n \n Flags:\n - moduleName : mn (unicode) [create]\n The name of the module whose path you want to retrieve. Flag can have multiple\n argum... |
c2793dcc40eb29d5629e879f4fde955a35093eec74495c30eb1f3661034ca5d6 | def unknownPlugin(*args, **kwargs):
'\n Allows querying of the unknown plug-ins used by the scene, and provides a means to remove them.\n \n Flags:\n - dataTypes : dt (bool) [query]\n Returns the data types associated with the given unknown plug-in. This will always b... | Allows querying of the unknown plug-ins used by the scene, and provides a means to remove them.
Flags:
- dataTypes : dt (bool) [query]
Returns the data types associated with the given unknown plug-in. This will always be empty for pre-Maya 2014 files.
- list : l ... | mayaSDK/pymel/core/system.py | unknownPlugin | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unknownPlugin(*args, **kwargs):
'\n Allows querying of the unknown plug-ins used by the scene, and provides a means to remove them.\n \n Flags:\n - dataTypes : dt (bool) [query]\n Returns the data types associated with the given unknown plug-in. This will always b... | def unknownPlugin(*args, **kwargs):
'\n Allows querying of the unknown plug-ins used by the scene, and provides a means to remove them.\n \n Flags:\n - dataTypes : dt (bool) [query]\n Returns the data types associated with the given unknown plug-in. This will always b... |
cbcdfae4a60bcb3a722d60311b263ccb659c5b0e1f96ad9692d5b5fda72672f4 | def setAttrMapping(*args, **kwargs):
'\n This command applies an offset and scale to a specified device attachment. This command is different than the\n setInputDeviceMapping command, which applies a mapping to a device axis. The value from the device is multiplied by the\n scale and the offset is added to... | This command applies an offset and scale to a specified device attachment. This command is different than the
setInputDeviceMapping command, which applies a mapping to a device axis. The value from the device is multiplied by the
scale and the offset is added to this product. With an absolute mapping, the attached attr... | mayaSDK/pymel/core/system.py | setAttrMapping | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def setAttrMapping(*args, **kwargs):
'\n This command applies an offset and scale to a specified device attachment. This command is different than the\n setInputDeviceMapping command, which applies a mapping to a device axis. The value from the device is multiplied by the\n scale and the offset is added to... | def setAttrMapping(*args, **kwargs):
'\n This command applies an offset and scale to a specified device attachment. This command is different than the\n setInputDeviceMapping command, which applies a mapping to a device axis. The value from the device is multiplied by the\n scale and the offset is added to... |
29d79390a970805bc6fe6155cb24469c328a1f8b7d85065edb7eb7d428c1fa36 | def deviceEditor(*args, **kwargs):
'\n This creates an editor for creating/modifying attachments to input devices.\n \n Dynamic library stub function\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usual... | This creates an editor for creating/modifying attachments to input devices.
Dynamic library stub function
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 pos... | mayaSDK/pymel/core/system.py | deviceEditor | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def deviceEditor(*args, **kwargs):
'\n This creates an editor for creating/modifying attachments to input devices.\n \n Dynamic library stub function\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usual... | def deviceEditor(*args, **kwargs):
'\n This creates an editor for creating/modifying attachments to input devices.\n \n Dynamic library stub function\n \n Flags:\n - control : ctl (bool) [query]\n Query only. Returns the top level control for this editor. Usual... |
dbaa6b94c44266ba4a0e5c2bc6145389267cd1e7e04e5a160764f3f76d269b5d | def fileBrowserDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will... | The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is
recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both
fileBrowserDialog and fileDialog will convert the flags/values passed to them into the appropriate... | mayaSDK/pymel/core/system.py | fileBrowserDialog | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def fileBrowserDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will... | def fileBrowserDialog(*args, **kwargs):
'\n The fileBrowserDialog and fileDialog commands have now been deprecated. Both commands are still callable, but it is\n recommended that the fileDialog2 command be used instead. To maintain some backwards compatibility, both\n fileBrowserDialog and fileDialog will... |
f9abc8cbd54ff685550eb679bc71b6ad9aa8b44d076030b84654aef655c1abfd | def mouse(*args, **kwargs):
'\n This command allows to configure mouse.\n \n Flags:\n - enableScrollWheel : esw (bool) [create]\n Enable or disable scroll wheel support.\n \n - mouseButtonTracking : mbt (int) [create]\n Set the number (1, 2 or 3... | This command allows to configure mouse.
Flags:
- enableScrollWheel : esw (bool) [create]
Enable or disable scroll wheel support.
- mouseButtonTracking : mbt (int) [create]
Set the number (1, 2 or 3) of mouse buttons to track.Note: this is only supported on Macintosh
-... | mayaSDK/pymel/core/system.py | mouse | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def mouse(*args, **kwargs):
'\n This command allows to configure mouse.\n \n Flags:\n - enableScrollWheel : esw (bool) [create]\n Enable or disable scroll wheel support.\n \n - mouseButtonTracking : mbt (int) [create]\n Set the number (1, 2 or 3... | def mouse(*args, **kwargs):
'\n This command allows to configure mouse.\n \n Flags:\n - enableScrollWheel : esw (bool) [create]\n Enable or disable scroll wheel support.\n \n - mouseButtonTracking : mbt (int) [create]\n Set the number (1, 2 or 3... |
f6bfbaeab2572092ee845e1176b78a00c4356838cf295a6c3ba5a332f7a926a0 | def getFileList(*args, **kwargs):
'\n Returns a list of files matching an optional wildcard pattern. Note that this command works directly on raw system files\n and does not go through standard Maya file path resolution.\n \n Flags:\n - filespec : fs (unicode) [create]\n ... | Returns a list of files matching an optional wildcard pattern. Note that this command works directly on raw system files
and does not go through standard Maya file path resolution.
Flags:
- filespec : fs (unicode) [create]
wildcard specifier for search.
- folder : fld ... | mayaSDK/pymel/core/system.py | getFileList | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def getFileList(*args, **kwargs):
'\n Returns a list of files matching an optional wildcard pattern. Note that this command works directly on raw system files\n and does not go through standard Maya file path resolution.\n \n Flags:\n - filespec : fs (unicode) [create]\n ... | def getFileList(*args, **kwargs):
'\n Returns a list of files matching an optional wildcard pattern. Note that this command works directly on raw system files\n and does not go through standard Maya file path resolution.\n \n Flags:\n - filespec : fs (unicode) [create]\n ... |
a9aaa652309a8d29fb9963ab19e7cd33eb36839f1169da3ebba6c2860dea98a0 | def whatsNewHighlight(*args, **kwargs):
"\n This command is used to toggle the What's New highlighting feature, and the display of the settings dialog for the\n feature that appears on startup. In query mode, return type is based on queried flag.\n \n Flags:\n - highlightColor : hc (floa... | This command is used to toggle the What's New highlighting feature, and the display of the settings dialog for the
feature that appears on startup. In query mode, return type is based on queried flag.
Flags:
- highlightColor : hc (float, float, float) [create,query]
Set the color of the What's New h... | mayaSDK/pymel/core/system.py | whatsNewHighlight | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def whatsNewHighlight(*args, **kwargs):
"\n This command is used to toggle the What's New highlighting feature, and the display of the settings dialog for the\n feature that appears on startup. In query mode, return type is based on queried flag.\n \n Flags:\n - highlightColor : hc (floa... | def whatsNewHighlight(*args, **kwargs):
"\n This command is used to toggle the What's New highlighting feature, and the display of the settings dialog for the\n feature that appears on startup. In query mode, return type is based on queried flag.\n \n Flags:\n - highlightColor : hc (floa... |
28304f051450600c76b9095576ee5328d2fad2044e96d2555a5d4c18d22da69f | def sceneEditor(*args, **kwargs):
"\n This creates an editor for managing the files in a scene.\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 ... | This creates an editor for managing the files in a scene.
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. T... | mayaSDK/pymel/core/system.py | sceneEditor | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def sceneEditor(*args, **kwargs):
"\n This creates an editor for managing the files in a scene.\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 ... | def sceneEditor(*args, **kwargs):
"\n This creates an editor for managing the files in a scene.\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 ... |
6343c1e371a5d7d31b63ec67ff4553ca4ace33b78f841d750780257f39730342 | def unassignInputDevice(*args, **kwargs):
'\n This command deletes all command strings associated with this device. In query mode, return type is based on queried\n flag.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n Only... | This command deletes all command strings associated with this device. In query mode, return type is based on queried
flag.
Dynamic library stub function
Flags:
- clutch : c (unicode) [create]
Only delete command attachments with this clutch.
- device : d (unico... | mayaSDK/pymel/core/system.py | unassignInputDevice | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def unassignInputDevice(*args, **kwargs):
'\n This command deletes all command strings associated with this device. In query mode, return type is based on queried\n flag.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n Only... | def unassignInputDevice(*args, **kwargs):
'\n This command deletes all command strings associated with this device. In query mode, return type is based on queried\n flag.\n \n Dynamic library stub function\n \n Flags:\n - clutch : c (unicode) [create]\n Only... |
075c0991beafb0ce629db425099531be18b54c45b9d1e589cc690ea6a8d07914 | def dgtimer(*args, **kwargs):
"\n This command measures dependency graph node performance by managing timers on a per-node basis. Logically, each DG node\n has a timer associated with it which records the amount of real time spent in various operations on its plugs. The time\n measurement includes the cost... | This command measures dependency graph node performance by managing timers on a per-node basis. Logically, each DG node
has a timer associated with it which records the amount of real time spent in various operations on its plugs. The time
measurement includes the cost of copying data to the node on behalf of the opera... | mayaSDK/pymel/core/system.py | dgtimer | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgtimer(*args, **kwargs):
"\n This command measures dependency graph node performance by managing timers on a per-node basis. Logically, each DG node\n has a timer associated with it which records the amount of real time spent in various operations on its plugs. The time\n measurement includes the cost... | def dgtimer(*args, **kwargs):
"\n This command measures dependency graph node performance by managing timers on a per-node basis. Logically, each DG node\n has a timer associated with it which records the amount of real time spent in various operations on its plugs. The time\n measurement includes the cost... |
5c1da690a4a7e1d2407d78cdee8edafde94000821066afd076d6bea88d845c7c | def namespaceInfo(*args, **kwargs):
"\n This command displays information about a namespace. The target namespace can optionally be specified on the command\n line. If no namespace is specified, the command will display information about the current namespace. A namespace is a\n simple grouping of objects ... | This command displays information about a namespace. The target namespace can optionally be specified on the command
line. If no namespace is specified, the command will display information about the current namespace. A namespace is a
simple grouping of objects under a given name. Each item in a namespace can then be ... | mayaSDK/pymel/core/system.py | namespaceInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def namespaceInfo(*args, **kwargs):
"\n This command displays information about a namespace. The target namespace can optionally be specified on the command\n line. If no namespace is specified, the command will display information about the current namespace. A namespace is a\n simple grouping of objects ... | def namespaceInfo(*args, **kwargs):
"\n This command displays information about a namespace. The target namespace can optionally be specified on the command\n line. If no namespace is specified, the command will display information about the current namespace. A namespace is a\n simple grouping of objects ... |
d87c1d26b4255a37ffade170b91a243168e83c4b42ba85815e98f81b408f16a7 | def convertUnit(*args, **kwargs):
'\n This command converts values between different units of measure. The command takes a string, because a string can\n incorporate unit names as well as values (see examples).\n \n Flags:\n - fromUnit : f (unicode) [create]\n The ... | This command converts values between different units of measure. The command takes a string, because a string can
incorporate unit names as well as values (see examples).
Flags:
- fromUnit : f (unicode) [create]
The unit to convert from. If not supplied, it is assumed to be the system... | mayaSDK/pymel/core/system.py | convertUnit | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def convertUnit(*args, **kwargs):
'\n This command converts values between different units of measure. The command takes a string, because a string can\n incorporate unit names as well as values (see examples).\n \n Flags:\n - fromUnit : f (unicode) [create]\n The ... | def convertUnit(*args, **kwargs):
'\n This command converts values between different units of measure. The command takes a string, because a string can\n incorporate unit names as well as values (see examples).\n \n Flags:\n - fromUnit : f (unicode) [create]\n The ... |
50cbfbb8e8bfa3083a725e2c7b9deabdb818746c25db9690e1d888febef78dbb | def loadPlugin(*args, **kwargs):
"\n Load plug-ins into Maya. The parameter(s) to this command are either the names or pathnames of plug-in files. The\n convention for naming plug-ins is to use a .so extension on Linux, a .mll extension on Windows and .bundle extension on\n Mac OS X. If no extension is pr... | Load plug-ins into Maya. The parameter(s) to this command are either the names or pathnames of plug-in files. The
convention for naming plug-ins is to use a .so extension on Linux, a .mll extension on Windows and .bundle extension on
Mac OS X. If no extension is provided then the default extension for the platform wil... | mayaSDK/pymel/core/system.py | loadPlugin | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def loadPlugin(*args, **kwargs):
"\n Load plug-ins into Maya. The parameter(s) to this command are either the names or pathnames of plug-in files. The\n convention for naming plug-ins is to use a .so extension on Linux, a .mll extension on Windows and .bundle extension on\n Mac OS X. If no extension is pr... | def loadPlugin(*args, **kwargs):
"\n Load plug-ins into Maya. The parameter(s) to this command are either the names or pathnames of plug-in files. The\n convention for naming plug-ins is to use a .so extension on Linux, a .mll extension on Windows and .bundle extension on\n Mac OS X. If no extension is pr... |
f24c282b809b0617c5ca5e03b1856df79568b1bbbf9eb22a515091558534b27d | def memory(*args, **kwargs):
"\n Used to query essential statistics on memory availability and usage. By default memory sizes are returned in bytes.\n Since Maya's command engine only supports 32-bit signed integers, any returned value which cannot fit into 31 bits will\n be truncated to 2,147,483,647 and ... | Used to query essential statistics on memory availability and usage. By default memory sizes are returned in bytes.
Since Maya's command engine only supports 32-bit signed integers, any returned value which cannot fit into 31 bits will
be truncated to 2,147,483,647 and a warning message displayed. To avoid having memor... | mayaSDK/pymel/core/system.py | memory | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def memory(*args, **kwargs):
"\n Used to query essential statistics on memory availability and usage. By default memory sizes are returned in bytes.\n Since Maya's command engine only supports 32-bit signed integers, any returned value which cannot fit into 31 bits will\n be truncated to 2,147,483,647 and ... | def memory(*args, **kwargs):
"\n Used to query essential statistics on memory availability and usage. By default memory sizes are returned in bytes.\n Since Maya's command engine only supports 32-bit signed integers, any returned value which cannot fit into 31 bits will\n be truncated to 2,147,483,647 and ... |
c69f05c7803afb6c0039bd4890c7456b39e49cb0daf9d6f0554828318558c746 | def renameFile(newname, *args, **kwargs):
'\n Rename the scene. Used mostly during save to set the saveAs name. Returns the new name of the scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | Rename the scene. Used mostly during save to set the saveAs name. Returns the new name of the scene.
Derived from mel command `maya.cmds.file` | mayaSDK/pymel/core/system.py | renameFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def renameFile(newname, *args, **kwargs):
'\n Rename the scene. Used mostly during save to set the saveAs name. Returns the new name of the scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass | def renameFile(newname, *args, **kwargs):
'\n Rename the scene. Used mostly during save to set the saveAs name. Returns the new name of the scene. \n \n \n Derived from mel command `maya.cmds.file`\n '
pass<|docstring|>Rename the scene. Used mostly during save to set the saveAs n... |
dae4cfcd777a22aaf0df00c5d07e3971bce889d316915a13bc32d9eb09214d6a | def internalVar(*args, **kwargs):
'\n This command returns the values of internal variables. No modification of these variables is supported.\n \n Flags:\n - userAppDir : uad (bool) [create]\n Return the user application directory.\n \n - userBitmapsDir : ubd ... | This command returns the values of internal variables. No modification of these variables is supported.
Flags:
- userAppDir : uad (bool) [create]
Return the user application directory.
- userBitmapsDir : ubd (bool) [create]
Return the user bitmaps prefs direc... | mayaSDK/pymel/core/system.py | internalVar | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def internalVar(*args, **kwargs):
'\n This command returns the values of internal variables. No modification of these variables is supported.\n \n Flags:\n - userAppDir : uad (bool) [create]\n Return the user application directory.\n \n - userBitmapsDir : ubd ... | def internalVar(*args, **kwargs):
'\n This command returns the values of internal variables. No modification of these variables is supported.\n \n Flags:\n - userAppDir : uad (bool) [create]\n Return the user application directory.\n \n - userBitmapsDir : ubd ... |
9642227393b0e4e710dd2bcda5699c3fe047ddc894734312af8b653534f39acc | def cmdFileOutput(*args, **kwargs):
'\n This command will open a text file to receive all of the commands and results that normally get printed to the Script\n Editor window or console. The file will stay open until an explicit -close with the correct file descriptor or a\n -closeAll, so care should be tak... | This command will open a text file to receive all of the commands and results that normally get printed to the Script
Editor window or console. The file will stay open until an explicit -close with the correct file descriptor or a
-closeAll, so care should be taken not to leave a file open. To enable logging to commenc... | mayaSDK/pymel/core/system.py | cmdFileOutput | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def cmdFileOutput(*args, **kwargs):
'\n This command will open a text file to receive all of the commands and results that normally get printed to the Script\n Editor window or console. The file will stay open until an explicit -close with the correct file descriptor or a\n -closeAll, so care should be tak... | def cmdFileOutput(*args, **kwargs):
'\n This command will open a text file to receive all of the commands and results that normally get printed to the Script\n Editor window or console. The file will stay open until an explicit -close with the correct file descriptor or a\n -closeAll, so care should be tak... |
b038c39c7de0dbcb63787c8a3446bec6cc26981a770d818eecfb0c9ce3fbd208 | def cacheFileMerge(*args, **kwargs):
'\n If selected/specified caches can be successfully merged, will return the start/end frames of the new cache followed by\n the start/end frames of any gaps in the merged cache for which no data should be written to file. In query mode, will\n return the names of geome... | If selected/specified caches can be successfully merged, will return the start/end frames of the new cache followed by
the start/end frames of any gaps in the merged cache for which no data should be written to file. In query mode, will
return the names of geometry associated with the specified cache file nodes.
Flags... | mayaSDK/pymel/core/system.py | cacheFileMerge | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def cacheFileMerge(*args, **kwargs):
'\n If selected/specified caches can be successfully merged, will return the start/end frames of the new cache followed by\n the start/end frames of any gaps in the merged cache for which no data should be written to file. In query mode, will\n return the names of geome... | def cacheFileMerge(*args, **kwargs):
'\n If selected/specified caches can be successfully merged, will return the start/end frames of the new cache followed by\n the start/end frames of any gaps in the merged cache for which no data should be written to file. In query mode, will\n return the names of geome... |
f1aa39e17a47fd95db06e17b8ed77f173004c067534a6cb0aefc413c15abbfa6 | def aaf2fcp(*args, **kwargs):
'\n This command is used to convert an aff file to a Final Cut Pro (fcp) xml file The conversion process can take several\n seconds to complete and the command is meant to be run asynchronously\n \n Flags:\n - deleteFile : df (bool) [create]\n ... | This command is used to convert an aff file to a Final Cut Pro (fcp) xml file The conversion process can take several
seconds to complete and the command is meant to be run asynchronously
Flags:
- deleteFile : df (bool) [create]
Delete temporary file. Can only be used with the terminate... | mayaSDK/pymel/core/system.py | aaf2fcp | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def aaf2fcp(*args, **kwargs):
'\n This command is used to convert an aff file to a Final Cut Pro (fcp) xml file The conversion process can take several\n seconds to complete and the command is meant to be run asynchronously\n \n Flags:\n - deleteFile : df (bool) [create]\n ... | def aaf2fcp(*args, **kwargs):
'\n This command is used to convert an aff file to a Final Cut Pro (fcp) xml file The conversion process can take several\n seconds to complete and the command is meant to be run asynchronously\n \n Flags:\n - deleteFile : df (bool) [create]\n ... |
70378f7a1fb44a18503044a183d1f9c3a9a955779e00a1307fb2b8950d80ed6a | def redo(*args, **kwargs):
'\n Takes the most recently undone command from the undo list and redoes it.\n \n \n Derived from mel command `maya.cmds.redo`\n '
pass | Takes the most recently undone command from the undo list and redoes it.
Derived from mel command `maya.cmds.redo` | mayaSDK/pymel/core/system.py | redo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def redo(*args, **kwargs):
'\n Takes the most recently undone command from the undo list and redoes it.\n \n \n Derived from mel command `maya.cmds.redo`\n '
pass | def redo(*args, **kwargs):
'\n Takes the most recently undone command from the undo list and redoes it.\n \n \n Derived from mel command `maya.cmds.redo`\n '
pass<|docstring|>Takes the most recently undone command from the undo list and redoes it.
Derived from mel command `maya.cmds.redo`<|endo... |
14bbbc026d5ceebd17c62fa99f998f38e1279f1d6814fc396bc2643401ba6f46 | def dgfilter(*args, **kwargs):
"\n The dgfiltercommand is used to define Dependency Graph filters that select DG objects based on certain criteria. The\n command itself can be used to filter objects or it can be attached to a dbtraceobject to selectively filter what output\n is traced. If objects are spec... | The dgfiltercommand is used to define Dependency Graph filters that select DG objects based on certain criteria. The
command itself can be used to filter objects or it can be attached to a dbtraceobject to selectively filter what output
is traced. If objects are specified then apply the filter to those objects and ret... | mayaSDK/pymel/core/system.py | dgfilter | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def dgfilter(*args, **kwargs):
"\n The dgfiltercommand is used to define Dependency Graph filters that select DG objects based on certain criteria. The\n command itself can be used to filter objects or it can be attached to a dbtraceobject to selectively filter what output\n is traced. If objects are spec... | def dgfilter(*args, **kwargs):
"\n The dgfiltercommand is used to define Dependency Graph filters that select DG objects based on certain criteria. The\n command itself can be used to filter objects or it can be attached to a dbtraceobject to selectively filter what output\n is traced. If objects are spec... |
08ef8490d0929e782d25dbbb496325666694afbbb8c5ef3fcb024060fdca7ede | def date(*args, **kwargs):
'\n Returns information about current time and date. Use the predefined formats, or the -formatflag to specify the output\n format.\n \n Flags:\n - date : d (bool) [create]\n Returns the current date. Format is YYYY/MM/DD\n \n ... | Returns information about current time and date. Use the predefined formats, or the -formatflag to specify the output
format.
Flags:
- date : d (bool) [create]
Returns the current date. Format is YYYY/MM/DD
- format : f (unicode) [create]
Specif... | mayaSDK/pymel/core/system.py | date | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def date(*args, **kwargs):
'\n Returns information about current time and date. Use the predefined formats, or the -formatflag to specify the output\n format.\n \n Flags:\n - date : d (bool) [create]\n Returns the current date. Format is YYYY/MM/DD\n \n ... | def date(*args, **kwargs):
'\n Returns information about current time and date. Use the predefined formats, or the -formatflag to specify the output\n format.\n \n Flags:\n - date : d (bool) [create]\n Returns the current date. Format is YYYY/MM/DD\n \n ... |
92d2841b673dcd881519acbb588a2747d13366d5c5e53d605adafe7dad179cd4 | def namespace(*args, **kwargs):
"\n This command allows a namespace to be created, set or removed. A namespace is a simple grouping of objects under a given\n name. Namespaces are primarily used to resolve name-clash issues in Maya, where a new object has the same name as an\n existing object (from importi... | This command allows a namespace to be created, set or removed. A namespace is a simple grouping of objects under a given
name. Namespaces are primarily used to resolve name-clash issues in Maya, where a new object has the same name as an
existing object (from importing a file, for example). Using namespaces, you can h... | mayaSDK/pymel/core/system.py | namespace | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def namespace(*args, **kwargs):
"\n This command allows a namespace to be created, set or removed. A namespace is a simple grouping of objects under a given\n name. Namespaces are primarily used to resolve name-clash issues in Maya, where a new object has the same name as an\n existing object (from importi... | def namespace(*args, **kwargs):
"\n This command allows a namespace to be created, set or removed. A namespace is a simple grouping of objects under a given\n name. Namespaces are primarily used to resolve name-clash issues in Maya, where a new object has the same name as an\n existing object (from importi... |
43b78a465f82b492a932fd3e01af7db9fc726e649caa5d13b0b813024e1a5371 | def exportSelectedAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from the selected objects in the scene. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take plac... | Export all animation nodes and animation helper nodes from the selected objects in the scene. 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 removeRefe... | mayaSDK/pymel/core/system.py | exportSelectedAnim | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportSelectedAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from the selected objects in the scene. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take plac... | def exportSelectedAnim(exportPath, **kwargs):
'\n Export all animation nodes and animation helper nodes from the selected objects in the scene. See -ean/exportAnim flag description for details on usage of animation files. \n \n Flags:\n - force:\n Force an action to take plac... |
210598f06cd77cd7d9a55289a5ec2f2731f420cb1c95035f40b971edfe953213 | def reloadImage(*args, **kwargs):
'\n This command reloads an xpm image from disk. This can be used when the file has changed on disk and needs to be\n reloaded. The first string argument is the file name of the .xpm file. The second string argument is the name of a\n control using the specified pixmap.\n ... | This command reloads an xpm image from disk. This can be used when the file has changed on disk and needs to be
reloaded. The first string argument is the file name of the .xpm file. The second string argument is the name of a
control using the specified pixmap.
Derived from mel command `maya.cmds.reloadImage` | mayaSDK/pymel/core/system.py | reloadImage | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def reloadImage(*args, **kwargs):
'\n This command reloads an xpm image from disk. This can be used when the file has changed on disk and needs to be\n reloaded. The first string argument is the file name of the .xpm file. The second string argument is the name of a\n control using the specified pixmap.\n ... | def reloadImage(*args, **kwargs):
'\n This command reloads an xpm image from disk. This can be used when the file has changed on disk and needs to be\n reloaded. The first string argument is the file name of the .xpm file. The second string argument is the name of a\n control using the specified pixmap.\n ... |
5f814889ab11bbe30ef02ba10e460a28332233ea0cdec6eab2f694d1c13e699e | def selLoadSettings(*args, **kwargs):
"\n This command is used to edit and query information about the implicit load settings. Currently this is primarily\n intended for internal use within the Preload Reference Editor. selLoadSettings acts on load setting IDs. When implict\n load settings are built for a ... | This command is used to edit and query information about the implicit load settings. Currently this is primarily
intended for internal use within the Preload Reference Editor. selLoadSettings acts on load setting IDs. When implict
load settings are built for a target scene, there will be one load setting for each refer... | mayaSDK/pymel/core/system.py | selLoadSettings | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def selLoadSettings(*args, **kwargs):
"\n This command is used to edit and query information about the implicit load settings. Currently this is primarily\n intended for internal use within the Preload Reference Editor. selLoadSettings acts on load setting IDs. When implict\n load settings are built for a ... | def selLoadSettings(*args, **kwargs):
"\n This command is used to edit and query information about the implicit load settings. Currently this is primarily\n intended for internal use within the Preload Reference Editor. selLoadSettings acts on load setting IDs. When implict\n load settings are built for a ... |
5be7e440159e3db31a7ed909a4461f228cb0607ff729919b9cc851d2bbc3a878 | def listInputDevices(*args, **kwargs):
'\n This command lists all input devices that maya knows about.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDevices`\n '
pass | This command lists all input devices that maya knows about.
Dynamic library stub function
Derived from mel command `maya.cmds.listInputDevices` | mayaSDK/pymel/core/system.py | listInputDevices | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def listInputDevices(*args, **kwargs):
'\n This command lists all input devices that maya knows about.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDevices`\n '
pass | def listInputDevices(*args, **kwargs):
'\n This command lists all input devices that maya knows about.\n \n Dynamic library stub function\n \n \n Derived from mel command `maya.cmds.listInputDevices`\n '
pass<|docstring|>This command lists all input devices that maya knows about.
Dynamic l... |
f933e9f92a31484868dc65e1ff7c7ec852fc16002c58b2531ac65fe32eb8aad0 | def saveFile(**kwargs):
'\n Save the specified file. Returns the name of the saved file. \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 eve... | Save the specified file. Returns the name of the saved file.
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... | mayaSDK/pymel/core/system.py | saveFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def saveFile(**kwargs):
'\n Save the specified file. Returns the name of the saved file. \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 eve... | def saveFile(**kwargs):
'\n Save the specified file. Returns the name of the saved file. \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 eve... |
d1e6b9ed7fde6c88436584da92881b7d95871d95bb3b01805cde6090148cc2bc | def pluginInfo(*args, **kwargs):
"\n This command provides access to the plug-in registry of the application. It is used mainly to query the characteristics\n of registered plug-ins. Plugins automatically become registered the first time that they are loaded. The argument is\n either the internal name of t... | This command provides access to the plug-in registry of the application. It is used mainly to query the characteristics
of registered plug-ins. Plugins automatically become registered the first time that they are loaded. The argument is
either the internal name of the plug-in or the path to access it.
Flags:
- activ... | mayaSDK/pymel/core/system.py | pluginInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def pluginInfo(*args, **kwargs):
"\n This command provides access to the plug-in registry of the application. It is used mainly to query the characteristics\n of registered plug-ins. Plugins automatically become registered the first time that they are loaded. The argument is\n either the internal name of t... | def pluginInfo(*args, **kwargs):
"\n This command provides access to the plug-in registry of the application. It is used mainly to query the characteristics\n of registered plug-ins. Plugins automatically become registered the first time that they are loaded. The argument is\n either the internal name of t... |
2795873c4bd40677b3ebf4883f36d2a01b367af9b4a01f3fb7402b58abf905f6 | def undoInfo(*args, **kwargs):
'\n This command controls the undo/redo parameters. In query mode, if invoked without flags (other than the query flag),\n this command will return the number of items currently on the undo queue.\n \n Flags:\n - chunkName : cn (unicode) [create,... | This command controls the undo/redo parameters. In query mode, if invoked without flags (other than the query flag),
this command will return the number of items currently on the undo queue.
Flags:
- chunkName : cn (unicode) [create,query]
Sets the name used to identify a chunk for undo/r... | mayaSDK/pymel/core/system.py | undoInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def undoInfo(*args, **kwargs):
'\n This command controls the undo/redo parameters. In query mode, if invoked without flags (other than the query flag),\n this command will return the number of items currently on the undo queue.\n \n Flags:\n - chunkName : cn (unicode) [create,... | def undoInfo(*args, **kwargs):
'\n This command controls the undo/redo parameters. In query mode, if invoked without flags (other than the query flag),\n this command will return the number of items currently on the undo queue.\n \n Flags:\n - chunkName : cn (unicode) [create,... |
c4c46d1247e24fbd6997f2a9a4cd44ca1e5e6e89dc4408e666df6bc8fdde1a1b | def setInputDeviceMapping(*args, **kwargs):
"\n The command sets a scale and offset for all attachments made to a specified device axis. Any attachment made to a mapped\n device axis will have the scale and offset applied to its values. The value from the device is multiplied by the scale\n and the offset ... | The command sets a scale and offset for all attachments made to a specified device axis. Any attachment made to a mapped
device axis will have the scale and offset applied to its values. The value from the device is multiplied by the scale
and the offset is added to this product. With an absolute mapping, the attached ... | mayaSDK/pymel/core/system.py | setInputDeviceMapping | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def setInputDeviceMapping(*args, **kwargs):
"\n The command sets a scale and offset for all attachments made to a specified device axis. Any attachment made to a mapped\n device axis will have the scale and offset applied to its values. The value from the device is multiplied by the scale\n and the offset ... | def setInputDeviceMapping(*args, **kwargs):
"\n The command sets a scale and offset for all attachments made to a specified device axis. Any attachment made to a mapped\n device axis will have the scale and offset applied to its values. The value from the device is multiplied by the scale\n and the offset ... |
54442610cb75938115870f06a5ec9a13023fc39abf8361bfa7ef9a35bb07229d | def iterReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', recurseType="'depth'", loaded='None', unloaded='None'):
"\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... | 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... | mayaSDK/pymel/core/system.py | iterReferences | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def iterReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', recurseType="'depth'", loaded='None', unloaded='None'):
"\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... | def iterReferences(parentReference='None', recursive='False', namespaces='False', refNodes='False', references='True', recurseType="'depth'", loaded='None', unloaded='None'):
"\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... |
4cb8a3f2c358b1a2077e770e31acc8baf1872dcbc30f54cd91efef2a14aa43ed | def importFile(filepath, **kwargs):
'\n Import the specified file. Returns the name of the imported 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 reference... | Import the specified file. Returns the name of the imported 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/loadRefe... | mayaSDK/pymel/core/system.py | importFile | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def importFile(filepath, **kwargs):
'\n Import the specified file. Returns the name of the imported 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 reference... | def importFile(filepath, **kwargs):
'\n Import the specified file. Returns the name of the imported 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 reference... |
a7ee22f8de2d0d6de43680f0e1191cbfee9333058eff6070d43d0cbbaba5b02d | def exportAll(exportPath, **kwargs):
'\n Export everything into a single file. Returns the name of the exported file. \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 r... | Export everything into a single file. Returns the name of the exported file.
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 re... | mayaSDK/pymel/core/system.py | exportAll | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def exportAll(exportPath, **kwargs):
'\n Export everything into a single file. Returns the name of the exported file. \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 r... | def exportAll(exportPath, **kwargs):
'\n Export everything into a single file. Returns the name of the exported file. \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 r... |
8c7a33cd63b6944cd75ba90ce8df4342c6aeae27129f9dd38dc5ab9371fede40 | def clearCache(*args, **kwargs):
'\n Even though dependency graph values are computed or dirty they may still occupy space temporarily within the nodes.\n This command goes in to all of the data that can be regenerated if required and removes it from the caches (datablocks),\n thus clearing up space in mem... | Even though dependency graph values are computed or dirty they may still occupy space temporarily within the nodes.
This command goes in to all of the data that can be regenerated if required and removes it from the caches (datablocks),
thus clearing up space in memory.
Flags:
- allNodes : all (bool)... | mayaSDK/pymel/core/system.py | clearCache | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def clearCache(*args, **kwargs):
'\n Even though dependency graph values are computed or dirty they may still occupy space temporarily within the nodes.\n This command goes in to all of the data that can be regenerated if required and removes it from the caches (datablocks),\n thus clearing up space in mem... | def clearCache(*args, **kwargs):
'\n Even though dependency graph values are computed or dirty they may still occupy space temporarily within the nodes.\n This command goes in to all of the data that can be regenerated if required and removes it from the caches (datablocks),\n thus clearing up space in mem... |
a58f907511fd63e356f5dcae41d5a3bf407b1cb0335061070c0323983a962065 | def openMayaPref(*args, **kwargs):
"\n Set or query API preferences.\n \n Flags:\n - errlog : el (bool) [create,query,edit]\n toggles whether or not an error log of failed API method calls will be created. When set to true, a file called\n OpenMayaErrorLo... | Set or query API preferences.
Flags:
- errlog : el (bool) [create,query,edit]
toggles whether or not an error log of failed API method calls will be created. When set to true, a file called
OpenMayaErrorLogwill be created in Maya's current working directory. Each time an API... | mayaSDK/pymel/core/system.py | openMayaPref | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def openMayaPref(*args, **kwargs):
"\n Set or query API preferences.\n \n Flags:\n - errlog : el (bool) [create,query,edit]\n toggles whether or not an error log of failed API method calls will be created. When set to true, a file called\n OpenMayaErrorLo... | def openMayaPref(*args, **kwargs):
"\n Set or query API preferences.\n \n Flags:\n - errlog : el (bool) [create,query,edit]\n toggles whether or not an error log of failed API method calls will be created. When set to true, a file called\n OpenMayaErrorLo... |
11554208509d1c556463f52f322c83b2a5b28f4dba7700af84077918e190350f | def moduleInfo(*args, **kwargs):
'\n Returns information on modules found by Maya.\n \n Flags:\n - definition : d (bool) [create]\n Returns module definition file name for the module specified by the -moduleName parameter.\n \n - listModules : lm ... | Returns information on modules found by Maya.
Flags:
- definition : d (bool) [create]
Returns module definition file name for the module specified by the -moduleName parameter.
- listModules : lm (bool) [create]
Returns an array containing the names of a... | mayaSDK/pymel/core/system.py | moduleInfo | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def moduleInfo(*args, **kwargs):
'\n Returns information on modules found by Maya.\n \n Flags:\n - definition : d (bool) [create]\n Returns module definition file name for the module specified by the -moduleName parameter.\n \n - listModules : lm ... | def moduleInfo(*args, **kwargs):
'\n Returns information on modules found by Maya.\n \n Flags:\n - definition : d (bool) [create]\n Returns module definition file name for the module specified by the -moduleName parameter.\n \n - listModules : lm ... |
b6b1e5279e59d33a0e6fee5c746c7c918646b6af723b16ec8ce9596d788e45ee | def launch(*args, **kwargs):
"\n Launch the appropriate application to open the document, web page or directory specified.\n \n Flags:\n - directory : dir (unicode) [create]\n A directory.\n \n - movie : mov (unicode) [create]\n A... | Launch the appropriate application to open the document, web page or directory specified.
Flags:
- directory : dir (unicode) [create]
A directory.
- movie : mov (unicode) [create]
A movie file. The only acceptable movie file formats are MPEG, Quicktime, an... | mayaSDK/pymel/core/system.py | launch | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def launch(*args, **kwargs):
"\n Launch the appropriate application to open the document, web page or directory specified.\n \n Flags:\n - directory : dir (unicode) [create]\n A directory.\n \n - movie : mov (unicode) [create]\n A... | def launch(*args, **kwargs):
"\n Launch the appropriate application to open the document, web page or directory specified.\n \n Flags:\n - directory : dir (unicode) [create]\n A directory.\n \n - movie : mov (unicode) [create]\n A... |
a2ab8acba877f7e44e8a02c027d2c96a9b2f000fd047b20212172bf815717415 | def error(*args, **kwargs):
"\n The error command is provided so that the user can issue error messages from his/her scripts and control execution in\n the event of runtime errors. The string argument is displayed in the command window (or stdout if running in batch\n mode) after being prefixed with an er... | The error command is provided so that the user can issue error messages from his/her scripts and control execution in
the event of runtime errors. The string argument is displayed in the command window (or stdout if running in batch
mode) after being prefixed with an error message heading and surrounded by //. The er... | mayaSDK/pymel/core/system.py | error | FXTD-ODYSSEY/vscode-mayapy | 20 | python | def error(*args, **kwargs):
"\n The error command is provided so that the user can issue error messages from his/her scripts and control execution in\n the event of runtime errors. The string argument is displayed in the command window (or stdout if running in batch\n mode) after being prefixed with an er... | def error(*args, **kwargs):
"\n The error command is provided so that the user can issue error messages from his/her scripts and control execution in\n the event of runtime errors. The string argument is displayed in the command window (or stdout if running in batch\n mode) after being prefixed with an er... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.