getting patching rectangle of an object


    Sep 25 2013 | 11:37 am
    Is it possible to get the patching_rectangle of an object??

    • Sep 25 2013 | 6:55 pm
      For ui objects you can use pattr
      hth!
      aa
    • Sep 25 2013 | 10:55 pm
      Or use getattr:
    • Sep 27 2013 | 3:16 pm
      @andrea stupendo! e pensare che per due giorni ho cercato come un pazzo questa soluzione, trovando complicati modi attraverso java, script e cose del genere, e le persone a cui ho chiesto, proponevano modi assurdi, e ora tu mi fai sta patch! perfetto! :D
      You have made my day!
      Una cosa però: perchè hai scritto "for UI objects"?
      @emmanuel I haven't the object getattr:
      no such object getattr
      no help file found getattr
    • Sep 27 2013 | 3:57 pm
      One more thing: is there a way for getting the Patcher's patching_rect?
      This is a way for size it, but how can i get patching_rect from it??
    • Sep 27 2013 | 9:56 pm
      if you give your patcher a name, via its inspector or thanks to the pattrmarker object ; you can then access its patching_rect with the abovementioned methods.
      (regarding getattr : are you using latest max ?)
    • Sep 28 2013 | 12:15 am
      I'm not using latest max. :(
    • Sep 28 2013 | 12:26 am
      f you give your patcher a name, via its inspector or thanks to the pattrmarker object ; you can then access its patching_rect with the abovementioned methods.
      i'm trying this method but i can't do it... can you post some example please?
    • Sep 28 2013 | 6:58 am
      Una cosa però: perchè hai scritto “for UI objects”?
      I wrote "for UI object" because it won't work for non-UI objects! If that's what you need, I'm afraid you should turn to JavaScript.
      aa
    • Oct 03 2013 | 2:18 am
      User Interface objects ok..