- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey!
How can I say :
Example:
(In an assembly)
If ''ComponentName'' is in the assembly Then
iProperties.Value("ComponentName", "Custom", "Vqty") = InputBox("ENTER QUANTITY FOR CABLE CLIPS GALVANIZED", "Vqty", "")
OR
If ''CABLE CLIPS GALVANIZED:1'' is not in the assembly Then do nothing and proceed with the next line...
So I would like to say...if ''the component'' is in the assembly then modify one custom proprety by an input box...and if the component is not in the assembly then execute the next line in the rule...instead of doing nothing...I got an error message saying that the component cannot be found...
(Sorry if it's not clear...I'm not familiar with Ilogic)
SyntaxEditor Code Snippet
If Component.IsActive("CABLE CLIPS ALUMINIUM:1") = True Then iProperties.Value("CABLE CLIPS ALUMINIUM:1", "Custom", "Vqty") = InputBox("ENTER QUANTITY FOR CABLE CLIPS GALVANIZED", "Vqty", "") If Component.IsActive("CABLE CLIPS ALUMINIUM:1") = False Then End If End If If Component.IsActive("CABLE CLIPS GALVANIZED:1") = True Then iProperties.Value("CABLE CLIPS GALVANIZED", "Custom", "Vqty") = InputBox("ENTER QUANTITY FOR CABLE CLIPS", "Vqty", "") End If 'ETC ...
Thanks!
Solved! Go to Solution.