Function Editor

All topics on the Atoms in any Enterprise Dynamics Library.
Post Reply
giovanni
Posts: 97
Joined: Friday 21 September, 2012 - 17:30

Function Editor

Post 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
User avatar
MatthijsJongboer
Posts: 200
Joined: Thursday 11 November, 2010 - 14:12

Re: Function Editor

Post by MatthijsJongboer »

Hello giovanni,
Can you give some additional information where you call the function?
Also, do you get any error messages?
giovanni
Posts: 97
Joined: Friday 21 September, 2012 - 17:30

Re: Strategy

Post 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
User avatar
MatthijsJongboer
Posts: 200
Joined: Thursday 11 November, 2010 - 14:12

Re: Function Editor

Post 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).
Post Reply