iLogic error - IV2015

iLogic error - IV2015

Scott_Stubbington
Advocate Advocate
534 Views
2 Replies
Message 1 of 3

iLogic error - IV2015

Scott_Stubbington
Advocate
Advocate

Hello,

I am by no means an iLogic expert so if there is anyting wrong with the code feel free to point it out. Smiley Happy

 

I have written a small piece of code(iLogicCode.jpg) for an assembly animation.  When I close the editor I am given an error as shown in iLogicError.jpg, but the error changes to suit the value of parameter d2, if d2 = 0 then the error will read "Parameter: Could not find parameter named: "0"".

 

Is this iLogic inexperience on my behalf or........

 

Thanks in advance for your help.

 

Scott Smiley Happy

0 Likes
535 Views
2 Replies
Replies (2)
Message 2 of 3

BrandonBG
Collaborator
Collaborator

Instead of using

 

Parameter(d18)

 

try

 

Parameter("d18")

 

or just

 

d18

 

 

BrandonBG

Inventor 2015

Message 3 of 3

ASchlaack
Collaborator
Collaborator

If the d18 parameter is inside of the .iam you're working in then it should just read "d18". However if it's a parameter from a different .ipt it should be displayed like the attached picture where the first part is the file name and the second is the parameter name.

 

Capture.PNG

Thanks,
Aaron Schlaack
---------------------------------------------------------------------------------
Autodesk Inventor 2018
Dell Windows 8.1 64 bit Intel(R) Xeon(R) @ 3.50GHz 32GB Ram