Finding Tool name within a folder

Finding Tool name within a folder

jsweatherbie
Advocate Advocate
327 Views
1 Reply
Message 1 of 2

Finding Tool name within a folder

jsweatherbie
Advocate
Advocate

Hello I’m trying to see if a tool exists and if it does then it’ll active the tool but it keep erroring … 

 

if entity_exist(“Tools\tool-list\ninenine”) 

then activate tool 

 

0 Likes
Accepted solutions (1)
328 Views
1 Reply
Reply (1)
Message 2 of 2

rafael.sansao
Advisor
Advisor
Accepted solution

To check if the tool exists, you don't need to use the folder:

STRING $toolName = "ninenine"
IF entity_exists("Tool", $toolName) {
	ACTIVATE TOOL $toolName
}

Rafael Sansão

OptiNC - www.optinc.tech

EESignature

0 Likes