Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, I'm new to iLogic and I felt the need to use ilogic to automate some of my work processes, so I made an assembly with instructions in iLogic, it's very basic (I think so)...
If ElementContact_left = "none" Then
Component.IsActive("M22_K10:1") = False
Component.IsActive("M22_K01:1") = False
End If
If ElementContact_left = "NO" Then
Component.IsActive("M22_K10:1") = True
Component.IsActive("M22_K01:1") = False
End If
If ElementContact_left = "NC" Then
Component.IsActive("M22_K10:1") = False
Component.IsActive("M22_K01:1") = True
End If
Prior to the code, make the variable "ElementContact_left" and add a new "level of detail" called iLogic, and the code works fine for me in the same assembly, but at the time of said assembly, insert it through "place ilogic component" in another assembly, I It throws an error message that it can't find the piece to leave unsuppress, I don't know what I'm missing, I hope it was clear...
Solved! Go to Solution.