Project
Container and Variable assignment help Needed Please!
Started by shimoda on .
Sign in or create an account to join the conversation.
So I am trying to read presets in for an organ template I'm making. I have everything done except rreading/setting drawbars to match presets. I've tried to set global variables by creating expressions in the main Project folder, but scripts won't compile that i try to use to set those variables. Additionally, it doesn't seem as though lemur allows you to 'reach out' of a container into another container to set parameters. Can anyone help with this.
An example is I set a variable UM1 (for Upper Manual 1) UM1={0,0,0,0,0,0,0,0,0} to use as a starting point. When I try to set it using either UM1={8,8,8,8,0,0,0,0,0} or setexpression(Project, UM1, {8,8,8,8,0,0,0,0,0}); nothing will compile.
An example is I set a variable UM1 (for Upper Manual 1) UM1={0,0,0,0,0,0,0,0,0} to use as a starting point. When I try to set it using either UM1={8,8,8,8,0,0,0,0,0} or setexpression(Project, UM1, {8,8,8,8,0,0,0,0,0}); nothing will compile.
Hi Shimoda
Containers and their objects are accessed via there hierarchy using 'dot notation' ie Container.Object.variable / Container.Pad.x . .
There are some tutorials around on setting up preset systems or perhaps check out some projects that use them . . .
Possibly it is the 'path' part that is causing the problem if they are inside containers - Container.UM1={,8,8,0......} should work.
Hope that helps
MM
Containers and their objects are accessed via there hierarchy using 'dot notation' ie Container.Object.variable / Container.Pad.x . .
There are some tutorials around on setting up preset systems or perhaps check out some projects that use them . . .
Possibly it is the 'path' part that is causing the problem if they are inside containers - Container.UM1={,8,8,0......} should work.
Hope that helps
MM
Appreciate the reply. I've continued to mess with it and just put up the template without presets for now. I've tried that variation. I've also not had much luck finding good tutorials as mentioned in a few topics on this forum (none of which actually point to any tutorials when they are mentioned). I'll continue to comb through the user library trying to find things that do what I'm looking to do.
this is exactly my experience, too. The new 3.1 manual is better than the previous one, but a lot of questions are still there. It's good to have this forum with experienced members like Macciza. Most questions get answered in a very educational way. I'm sure that eventually most of your problems with Lemur get solved.shimoda wrote:I've also not had much luck finding good tutorials as mentioned in a few topics on this forum (none of which actually point to any tutorials when they are mentioned). I'll continue to comb through the user library trying to find things that do what I'm looking to do.