element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
Forum help for the create script
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 172 subscribers
  • Views 330 views
  • Users 0 members are here
Related

help for the create script

Former Member
Former Member over 14 years ago
Hello friends
I need your help for the create script for the EAGLE
I use this command (Bill Of Material : RUN BOM-AM-17.ulp; | \) from scripr to run a ULP file and it works properly
The problem is that I want to execute ULP that is found in my own folder in located in C: \ Program Files \ EAGLE-5.11.0 \ eagle3d \
How to write the RUN command to include the path that I
Please help me thanks
 
my script eagle.scr
----------------------------------------------------------------------
# Board Command Menu Setup
# Also includes widths and diameters
#
# Created 09/01/2011
SCH:
Grid Default;
Change Width 0.006;
Grid  On
MENU  ' Grid {\
  (1) = 0.05 : Grid inch 0.05;|\
  (2) = 0.01 : Grid inch 0.01;|\
  (3) = 0.001 : Grid inch 0.001;|\
  (4) = Default : Grid inch 0.1;|\
  --- |\
  Grid  On : GRID LINES On; | \
  Grid  Off : GRID LINES Off;\
  }' \
  'Tools {\
              Create Frame : RUN create-frame_v1.0.2.ulp; | \
  Re Annotate : RUN 00-Reannotate-sch.ulp; | \
              Bill Of Material : RUN BOM-AM-17.ulp; | \
  Auto place sheet : RUN APS.ulp;  \
           }'\
  • Sign in to reply
  • Cancel
  • Richard_H
    Richard_H over 14 years ago

    Hi,

     

    you have to include the path into quotes, if there are spaces in it, for example:

    RUN "C:\Program Files\EAGLE-5.11.0\eagle3d\test.ulp" ;

     

    Regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Richard_H
    Hi Richard_H
    Thank you very much for your reply
    I tried the command (RUN "C:\Program Files\EAGLE-5.11.0\eagle3d\3d41.ulp"  but it turns out error
     
    image
     
    He has a problem with Program Files folder It cannot occupy him
    I tried the command (run C:\Program_Files\EAGLE-5.11.0\eagle3d\3d41.ulp)
    again gave an error message for non-existent file
     
    image
     
    but the file exists, I can not understand why
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 14 years ago in reply to Former Member

    Hi again,

     

    the problem here is that the path contains a space  character between Program and Files. So you have to start the ULP with  the RUN command and put the whole path into single quotes (I used double  quotes in my first post, sorry...).

    RUN 'C:\Program Files\EAGLE-5.11.0\eagle3d\test.ulp' ;

     

    There  could be also a second problem. I don't know the ULP you are working  with, but i could also be the case that you have to verify the ULP   itself. If there are some statements that are referring to files the   paths there have to be set into single quotes as well. So please check   the ULP for this.

     

    Best regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Richard_H
    Hi again friend Richard_H
    Thank you for your help
    I understood that what I ask is above the possibilities that it offers the EAGLE
    I will send e-mail with the problem that I face in cadsoft
    I do not wait solution in my problem from cadsoft  I will try
     
    (If I find the solution I will put here him to see whoever is interested)
     
    Thank you again friend Richard_H
    toths
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube