ZBrushCentral

window ID is there some rules ?

Hey guys !

I was making some test with window IDs to try to catch how it works, but it seems that some window IDs are not usable.

For example I tried :

[Note,[IGetTitle,tool:layers:3d layer],0] -->it works

now same thing but with the window ID :
[Note,[IGetTitle,39],0] --> error message 39 unknown element
[Note,[IGetTitle,1062],0] -->it works (edit object button)

any idea where i made it wrong ?

thx !

Those UI items that are dynamically assigned/created can cause problems. For example, the subtool and layer list. You need to be sure that you have the layer you want - they all have numbers 0 - 7 but that changes if there are more than 8 (depending on where the scroll bar is). It’s the same for subtools.

Thx Marcus !
and is there a way to select them one by one if we don’t necessary know their name ?