Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Need help with Make Path Command

mr.cadd
Observer

Need help with Make Path Command

mr.cadd
Observer
Observer

Need to have certain parts suppressed when a selected parameter = no.  This part is at a lower level subassembly. I cannot get my code to work, any insight would be great. 

 

Code:

Capture.PNG

If SENT_VALVE = "NO" 
Component.IsActive(MakePath("UNIT_1", "CASING", "SV55")) = False
End If

 

 

0 Likes
Reply
207 Views
1 Reply
Reply (1)

JelteDeJong
Mentor
Mentor

it looks like you forgot a "then". try it like this:

If SENT_VALVE = "NO" Then
	Component.IsActive(MakePath("UNIT_1", "CASING", "SV55")) = False
End If

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes