Scripting error with LemurEditor 5.0.3

Discuss problems and solutions.
Post Reply
mssngmrblz
Newbie
Posts:45
Joined:03 Feb 2013 15:08
Scripting error with LemurEditor 5.0.3

Post by mssngmrblz » 03 Jul 2014 00:46

i'm getting a little "!" error in Lemur Editor.

using destroyobject(obj)

please see attached screen grab.

Thanks for all your good help!
Screen Shot 2014-07-02 at 9.26.24 PM 1.jpg
Screen Shot 2014-07-02 at 9.26.24 PM 1.jpg (208.69KiB)Viewed 2361 times

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Scripting error with LemurEditor 5.0.3

Post by Softcore » 03 Jul 2014 04:49

I dont think destroyobject(obj) is supported officially - I might be wrong though

mssngmrblz
Newbie
Posts:45
Joined:03 Feb 2013 15:08

Re: Scripting error with LemurEditor 5.0.3

Post by mssngmrblz » 03 Jul 2014 12:12

Anyone know for sure or know a workaround?

oldgearguy
Regular
Posts:315
Joined:02 Nov 2013 11:19

Re: Scripting error with LemurEditor 5.0.3

Post by oldgearguy » 03 Jul 2014 13:26

mssngmrblz wrote:Anyone know for sure or know a workaround?
What are you trying to accomplish with destroyobject? Simply freeing up resources?

mssngmrblz
Newbie
Posts:45
Joined:03 Feb 2013 15:08

Re: Scripting error with LemurEditor 5.0.3

Post by mssngmrblz » 04 Jul 2014 02:26

I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.

it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.

Thanks for your time and thought.

Pat

Macciza
Regular
Posts:1325
Joined:07 Dec 2011 04:57
Location:Sydney, Australia.

Re: Scripting error with LemurEditor 5.0.3

Post by Macciza » 04 Jul 2014 05:15

Hi
Yes i am pretty sure it was deprecated with create object though they are looking at keeping that
From memory they were used together to get around the memory issues on hardware lemurs.
With the sizes possible now i guess it would be a case of rewriting Mu to simply have all those subpages in the one project and simply page them in and out of view as needed
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]

oldgearguy
Regular
Posts:315
Joined:02 Nov 2013 11:19

Re: Scripting error with LemurEditor 5.0.3

Post by oldgearguy » 04 Jul 2014 12:01

mssngmrblz wrote:I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.

it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.

Thanks for your time and thought.

Pat
Got it. That's good programming practice for sure. From my (limited) experiences with Lemur on iOS programming, resource management may be done 'under the hood', but in general I've tried to define a set of controls and then either use hide/show type operations to bring them into view or use setattribute() type commands to relabel/resize/reposition them as needed.

I can certainly see how the sheer number of objects needed for large templates could cause memory issues, although there was a recent maximum template size increase in one of the 5.0.x updates.

Post Reply