[Closed] track veiw pick dialog – options help
hi,
this is still bugging me – i am using maxscript in a tool to call a track view pick dialog – i want to limit the tracks shown in the dialog but the options parameter seems to make no sense
i have tried using integers that convert to binary numbers that would turn on and off the appropriate tracks but this just doesnt seem to work
below is the table of bits it says in the reference
0: turn on display of animated tracks only
1: turn off display of node Visibility track
2: turn on display of only selected nodes
3: turn off display of World Space Modifiers
4: turn off display of Object Space Modifiers
5: turn off display of node Transform track
6: turn off display of node base object
7: turn off display of controller types
8: turn off display of note tracks
9: turn off display of the sound track
10: turn off display of maps in materials
11: turn off display of material parameters
12: turn on display of hidden nodes
13: turn off display of hierarchy
14: turn off display of non-keyable tracks
15: turn off display of nodes
16: turn off display of geometry nodes
17: turn off display of shape nodes
18: turn off display of light nodes
19: turn off display of camera nodes
20: turn off display of helper nodes
21: turn off display of warp nodes
22: turn off display of position controllers
23: turn off display of rotation controllers
24: turn off display of scale controllers
25: turn off display of bone nodes
26: set focus to first selected node found
so i use 001000000000000000000000001 and converted to decimal number = 16777217
so i have “trackview.picktackdlg options:16777217”
and it doesnt seem to give me what i want at all
can anyone explain to me what im doing wrong
cheers,
mark
Looks like you miscalculated something.
I am getting 67108868 and not 16777217, and it does show selected only with focus on the first.
The bits mean 2^theBit, so you have 2^2+2^26 = 67108868