1
dir内容
dir(op('project1/sopto1'))
2
赋予list
contentlist=['OPType', 'activeViewer', 'addError', 'addScriptError', 'addWarning', 'allowCooking', 'base', 'builtinPars', 'bypass', 'chan', 'changeType', 'chans', 'children', 'childrenCPUCookAbsFrame', 'childrenCPUCookTime', 'childrenCPUMemory', 'childrenCookAbsFrame', 'childrenCookTime', 'childrenGPUCookAbsFrame', 'childrenGPUCookTime', 'childrenGPUMemory', 'clearScriptErrors', 'cloneImmune', 'closeViewer', 'color', 'comment', 'convertToKeyframes', 'cook', 'cookAbsFrame', 'cookEndTime', 'cookFrame', 'cookStartTime', 'cookTime', 'cookedPreviousFrame', 'cookedThisFrame', 'copyParameters', 'cpuCookTime', 'cpuMemory', 'curPar', 'current', 'currentPage', 'customPages', 'customParGroups', 'customPars', 'customTuplets', 'dependenciesTo', 'destroy', 'digits', 'display', 'dock', 'docked', 'end', 'evalExpression', 'export', 'exportChanges', 'expose', 'ext', 'family', 'fetch', 'fetchOwner', 'gpuCookTime', 'gpuMemory', 'icon', 'id', 'inputConnectors', 'inputs', 'iop', 'ipar', 'isBase', 'isCHOP', 'isCOMP', 'isCustom', 'isDAT', 'isFilter', 'isMAT', 'isMultiInputs', 'isObject', 'isPanel', 'isSOP', 'isTOP', 'isTimeSlice', 'label', 'licenseType', 'lock', 'maxInputs', 'minInputs', 'mod', 'name', 'nodeCenterX', 'nodeCenterY', 'nodeHeight', 'nodeWidth', 'nodeX', 'nodeY', 'numChans', 'numChildren', 'numChildrenRecursive', 'numSamples', 'numpyArray', 'op', 'opType', 'openMenu', 'openParameters', 'openViewer', 'ops', 'outputConnectors', 'outputs', 'pages', 'par', 'parGroup', 'parent', 'pars', 'passive', 'path', 'python', 'rate', 'recursiveChildren', 'relativePath', 'render', 'replicator', 'resetNodeSize', 'resetViewer', 'save', 'scriptErrors', 'selected', 'setInputs', 'shortcutPath', 'showCustomOnly', 'showDocked', 'start', 'storage', 'store', 'storeStartupValue', 'subType', 'supported', 'tags', 'time', 'totalCooks', 'type', 'unstore', 'unstoreStartupValue', 'valid', 'var', 'viewer', 'visibleLevel']
3
for i in contentlist:
... print(("@@@@op('project1/sopto1')."+i))
... print(eval("op('project1/sopto1')."+i))
4
可分类输出
个别时候会报错,即输出中含有error或warn时
标签:...,变量,查看,成员,sopto1,print,project1,dir,op From: https://www.cnblogs.com/augustone/p/16888149.html