This script is intended to be used by the profilerPanel to interact with the profiler tool’s view (draw region). It can be used to control some behaviors about the profiler Tool. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
categoryView / cat | bool | ![]() |
|
|
|||
cpuView / cpu | bool | ![]() |
|
|
|||
destroy / dtr | bool | ![]() |
|
|
|||
exists / ex | bool | ![]() |
|
|
|||
findNext / fn | bool | ![]() |
|
|
|||
findPrevious / fp | bool | ![]() |
|
|
|||
frameAll / fa | bool | ![]() |
|
|
|||
frameSelected / fs | bool | ![]() |
|
|
|||
isolateSegment / isolateSegment | int | ![]() |
|
Isolate a specified segment. A segment is a set of events that happened in one animation frame. You can use flag -segmentCount to query the number of segments in the event buffer. The segment index starts from 0. If the specified segment does not exist, an error will be thrown. |
|||
make / mk | bool | ![]() |
|
|
|||
matchWholeWord / mww | bool | ![]() |
|
|
|||
searchEvent / se | unicode | ![]() |
|
Search event(s). You can set -matchWholeWord before you use -searchEvent. If -matchWholeWord has been set to true, the profiler tool will search event(s) whose name exactly matches with the string. If -matchWholeWord has been set to false, the profiler tool will search event(s) whose name contains the string. If -findNext is also used along with this flag, the profiler tool will find the first event next to the current selected event. If -findPrevious is also used along with this flag, the profiler tool will find the first event previous to the current selected event. If currently don’t have a selected event or there are multiple selected events, the search will start at the first event in profiler buffer. If -findNext and -findPrevious are not used along with this flag, the profiler tool will find all events. |
|||
segmentCount / sc | bool | ![]() |
|
|
|||
showAllEvent / sa | bool | ![]() |
|
|
|||
showSelectedEvents / ss | bool | ![]() |
|
|
|||
showSelectedEventsRepetition / ssr | bool | ![]() |
|
|
|||
threadView / thd | bool | ![]() |
|
|
|||
unisolateSegment / uis | bool | ![]() |
|
|
Derived from mel command maya.cmds.profilerTool