- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an iLogic Rule that is tied to a Custom "Form" assembly. This has been working for year but recently we upgraded to Inventor 2023 and I am now getting an error when I try to use it.
I am getting a "Conversion from string "value" to type 'Double' is not valid" error message. I have done some searching and it sounds like I need to incorporate a "CDbl()" but I am not familiar enough with this to know how it should be setup.
Here is my iLogic rule:
LENGTH = RoundToFraction(Length_ID, 1 / 16, RoundingMethod.Round) WIDTH = RoundToFraction(Width_ID, 1/16, RoundingMethod.Round) DEPTH = RoundToFraction(Height_ID, 1/16, RoundingMethod.Round) L = RoundToFraction(LENGTH, 1/16, RoundingMethod.Round) W = RoundToFraction(WIDTH, 1/16, RoundingMethod.Round) D = RoundToFraction(DEPTH, 1/16, RoundingMethod.Round) iProperties.Value("Custom", "Item #")=ITEMNUMBER iProperties.Value("Project", "Description")=NAME & "," & " " & L & " X " & W & " X " & D iProperties.Value("Custom", "EXPORT")=PARTNUMBERorPKGNUMBER iProperties.Value("Summary", "Title") = NAME iProperties.Value("Custom", "DESIGN STATUS") = DESIGN_STATUS iProperties.Value("Custom", "CUSTPN") = CUSTPN iProperties.Value("Custom", "PKG") = PKG
Could someone give me a hand and point me in the right direction?
Thank you in advance!
Solved! Go to Solution.