I can't edit angle you mean ?
Because i can get and set the brush size for example.
Setting brush options
Setting brush options
What ID are you using. I can set either type brush with stringIDToTypeID('masterDiameter'), but if I use stringIDToTypeID('diameter') it resets sampled brushes.
Same with any other of the brush keys.
Same with any other of the brush keys.