iLogic error

iLogic error

gconley
Advocate Advocate
310 Views
2 Replies
Message 1 of 3

iLogic error

gconley
Advocate
Advocate

Can someone help me with figuring out what this error means.

 

IDW iProperty Info, in document: Drawing3.idw

Conversion from string "win" to type 'Integer' is not valid.

 

This rule has been used for over 6 months and has worked perfectly.  Came into work today tried to save an idw and this is what I got.

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

WCrihfield
Mentor
Mentor

Hi @gconley.  In this case, the error message is pretty self explanatory.  Apparently you have an iLogic rule named "IDW iProperty Info" that was ran, targeting a document named "Drawing3.idw", and somewhere within that rule's code, there must be a possibility for it to retrieve a value of "win" from somewhere, and is expecting it to be an Integer type value, instead of a String type value, and it is encountering an Error, because it is trying to convert the String type data to an Integer type data, for some reason.  I would have to take a look at the code to get a better idea of where that might be happening.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

gconley
Advocate
Advocate

It is self explanatory for someone that knows what all those terms mean.  I am new and still learning iLogic.

 

With your explanation, I was able to figure out that the rule was looking for info that was not available in the  iLogic code.  Once I added the info, it worked.

 

Thanks