Hi, given the following 2 calls:
post( "name: " + this.patcher.getattr( ‘name’ ) + ‘n’ );
post( "embed: " + this.patcher.getattr( ’embed’ ) + ‘n’ );
the first one correctly returns the filename of the bpatcher as expected, but the 2nd one always returns null rather than the state of the embed flag? Is there another way to get this value or is this a bug?
I believe that ’embed’ is an attribute of the parent box of the bpatcher, not of the patcher itself.
Hope that helps, Jeremy
Hi, cheers Jeremy…
post( "name: " + this.patcher.box.getattr( ‘name’ ) + ‘n’ );
post( "name: " + this.patcher.box.patcher.getattr( ‘name’ ) + ‘n’ );
Still both null…
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.