Welcome to %s forums

BrainModular Users Forum

Login Register

IML debug question

I need help on a Patch
Post Reply
ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 18 Aug 2016, 00:10

Hey,

Can anyone tell me why the following...

SET_TARGET_PATCH SENDER_PATCH
CREATE_MODULE SW1 9 0 0
SET_STRING_VALUE SW1 "ON caption" LAST_CREATED_MODULE_NAME
RENAME_MODULE LAST_CREATED_MODULE_NAME
SET_CTRL_POS_PC LAST_CREATED_MODULE_NAME 0.047 0.625
SET_CTRL_SIZE_PC LAST_CREATED_MODULE_NAME 0.546 0.90

....generates the following errors (and does not resize the switch)?

process msg SET_CTRL_POS_PC LAST_CREATED_MODULE_NAME 0.047 0.625
Invalid Message SET_CTRL_POS_PC LAST_CREATED_MODULE_NAME 0.047 0.625
process msg SET_CTRL_SIZE_PC LAST_CREATED_MODULE_NAME 0.546 0.90
Invalid Message SET_CTRL_SIZE_PC LAST_CREATED_MODULE_NAME 0.546 0.90

The problem occurs when I try to use SET_CTRL_POS and SET_CTRL_SIZE as well.

Thanks!
Regards,

Scott

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 18 Aug 2016, 01:56

The SET_CTRL are not available, the Wiki is not updated

-s
"Every act of creation is first an act of destruction." -Picasso

ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 18 Aug 2016, 19:07

Thanks sephult.

That's disappointing. Can anyone suggest a way to accomplish this without IML?
Regards,

Scott

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 19 Aug 2016, 02:18

I know I was hoping to as well in my latest add-on, as of now I do not know besides a patching of the Top and Left I believe of the module, or affect the percentages for sizing.

Look at the settings for the module, if you extend the module in the patch edit view then you can expose these parameters.

An interesting method could be to create the module you want, then create constants possibly and attach these to the nodes via IML, you could set the values via IML, or possibly do something more extensive and utilize variables to interact?

-s
"Every act of creation is first an act of destruction." -Picasso

Post Reply

Who is online

Users browsing this forum: No registered users and 79 guests