iLogic Rule to report missing or unavailable components

iLogic Rule to report missing or unavailable components

Anonymous
Not applicable
416 Views
1 Reply
Message 1 of 2

iLogic Rule to report missing or unavailable components

Anonymous
Not applicable

Hello,

 

I'm using iLogic to build a configurator and everything is working perfectly if I have all the componets available.

 

However, is there a way to use iLogic in this example:

 

Assume I have a bolt, nut and washer in an assembly based on 1/2" sizes. I then change the sizes to 1", the bolt and nut update to 1" but I do not have a washer modeled for 1".  Is there a way to use iLogic to report that the washer is not available without causing an error or only updating the bolt and nut and ignoring the washer.

 

Thanks

0 Likes
417 Views
1 Reply
Reply (1)
Message 2 of 2

jdkriek
Advisor
Advisor

If I am reading your post correctly, you just want to check if a specific component exists, right?

 

iLogic is basically VB.NET so you can use File.Exists()

 

Dim sFilePath As String = "c:\temp\test.ipt"
If System.IO.File.Exists(sFilePath) Then
	MsgBox("File Exists")
Else 
	MsgBox("File Does Not Exist")
End If
Jonathan D. Kriek
MFG Solutions Engineer
KETIV Technologies, Inc.


0 Likes