Message error script console ldcad1.5


Message error script console ldcad1.5
#1
Hello friends, how are you?
I'm starting now in CAD 1.5 and I already have scripting issue.
I'll copy my script here for you guys give a look.
function register () ani site = ldc.animation ('demo') ani: SetLength (20)
ani: SetEvent ('frame', 'onframe') end function onframe () Local ani = ldc.animation.getCurrent () Local mainSf = ldc.subfile () Local ori = ldc.matrix () Local teste5 = mainSf: getRef ( 'teste5.ldr') Local angle = 720 * ani: getFrameTime () / ani: getLength () ori: setRotate (angle, 1,0,0) teste5: Setori (ori) end
register ()
This popping up a message;
[String "teste2.lua"]: 15: Active refline link needed.
someone please help me ...
I can not find anything about it.
Please..
Reply
Re: Message error script console ldcad1.5
#2
No one can help me with script ???
I am Brazilian and I do not speak English ..
Someone please..
Reply
Re: Message error script console ldcad1.5
#3
Don't be so impatient!!! If/when someone has an answer to propose he will chime in! I had a look at your script but don't see clearly what might be wrong. Maybe your should post your mpd file too, that would help.
Reply
Re: Message error script console ldcad1.5
#4
the 'mainSf:getRef ( 'teste5.ldr')' call probably failed to locate the asked part leaving the ref unlinked. Are you sure it is the correct name (case sensitive)
Reply
Re: Message error script console ldcad1.5
#5
Thanks for attention .. sorry but my anxiety is that I can not solve alone because I do not know sometimes program nothing but love lego engineering.
The correct name of this but do not know how to solve ....
I need more help ...
Ps. My English is bad.
Reply
Re: Message error script console ldcad1.5
#6
You should really post your LDraw model file!
Reply
Re: Message error script console ldcad1.5
#7
Managed to solve after many sips of coffee ...
The problem was that I was not adding in submodel so I was not thinking ..
Now I managed to make a shaft rotate.
Thanks for the help of all.
sorry for the inconvenience in the forum, but I'm really interested in learning.
Good bye and thanks.
Reply
Re: Message error script console ldcad1.5
#8
I've just deleted 5 messages from you which where cross posted all over the forums. In case this happens again because of your impatience I'm gonna block your account.

w.
LDraw Content Manager
LEGO ergo sum
Reply
Re: Message error script console ldcad1.5
#9
Got it.
It will not happen again.
excuse me.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)