Page 1 of 1

Function Editor

Posted: Tuesday 04 December, 2012 - 16:59
by giovanni
Ok thank you
Now works.

I have another question.
I have defined a function in Function Editor. Then i put in a Crane and everytime at the start the crane canĀ“t read the function why?


Thank you

Re: Function Editor

Posted: Wednesday 05 December, 2012 - 11:22
by MatthijsJongboer
Hello giovanni,
Can you give some additional information where you call the function?
Also, do you get any error messages?

Re: Strategy

Posted: Wednesday 05 December, 2012 - 11:49
by giovanni
Thank i found the errror.

I have another question?

I use Function editor and then i use the differnt function in a crane.
When i reopen the model i got the error Function not find. i have to open the send to e then the crane can read the function.
Why?

Thank you

Re: Function Editor

Posted: Wednesday 05 December, 2012 - 15:16
by MatthijsJongboer
Hello giovanni,
It's a requirement for the Portal Crane to be listed high in the modeltree. The same goes for the function editor.
The reason for the error is that the function defined on the function editor is not known when the portal crane is loaded.
It is a sequence problem.
The developer of the portal crane did not include any priority in high ranking but places the portal crane at rank 1 of the model on reset. The function editor takes more care of the priority and only does this when it is loaded.
Your solution would be to remove the setrank from the portalcrane or preregister your function (either on the portal crane or in ed.usr).