I have a problem with a menu item which should invoke and run an ULP when clicked. This is a rewrite of the Felicitas_PCBSim menu button.
As a company where we are many users of Eagle, which contributes to create and/or change existing ULP's, Scripts and Library parts we have moved these into a version control system (TFS).
For ULPs this means that we have a Common folder named ULP with subfolders where we have 1) collected all ULP's generated and delivered originally from Eagle (Folder ULP/Eagle), 2) collected all ULP's as written internaly (in folder ULP/Internal), and 3) a folder which collects all third parties ULP's (in folder ULP/Users). Eagle directories for ulps is set to point at our ULP folder only (meaning the default eagle ulp folder is no longer visible)
When we try to invoke Felicitas PCBSim, we get the message that eagle cant find the ulp. I thought that Eagle where searching the defined ulp directory and its subfolders, but I understand now that this is not true. I then tried to redefine the menu item in eagle.src to include the subfolder in the path to the ulp to no help. I have tried to use Quotation marks etc. but it never finds the defined ulp. Last test is shown in the example below
Ulp directory points to C:\TFS\Eagle CAD Library\ULP (this is not an issue since we see the ulps available here)
eagle.src :
MENU '[c:\TFS\Eagle CAD Library\PCBSim-E001.png] Simulate Current Sheet : RUN Eagle/Felicitas_PCBSim /E;' \
'[c:\TFS\Eagle CAD Library\PCBSim-E002.png] Simulate All Sheets : RUN Eagle/Felicitas_PCBSim /A;' \
;
If I put the ulp in the ULP folder directly and executes with RUN Felicitas_PCBSim
everything is fine but we will try to avoid this if possible.
Should be a simple task this, but I am clearly to blind to find the solution.