Community
EAGLE Forum
Welcome to Autodesk’s EAGLE Forums. Share your knowledge, ask questions, and explore popular EAGLE topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Place vias within route command in Eagle script

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
delcacho
425 Views, 2 Replies

Place vias within route command in Eagle script

Hello,

 

I am trying to automate routing in an Eagle script. I can initiate routing with the ROUTE command and define a trajectory of points for the route to follow. How do I place a via half way through? Normally in the UI I just press the space bar. Is there an equivalent from an script? Thanks

2 REPLIES 2
Message 2 of 3
mtl_asm
in reply to: delcacho

i think you will have to break it into 2 route commands and a via command.

 

say (ax ay) is the start  coordinate of the route , (bx by) is the end coordinate of the route and (vx vy) is the coordinate where you want to change layers. also in this example I assume the route starts on top layer and ends on bottom. you could issue the following commands in the script:

 

change layer top;

route (ax ay) (vx vy);

via (vx vy);

change layer bottom;

route (vx vy) (bx by);

 

i dont think  there is a way to emulate a space bar press in the command line so maybe just break it up into separate route commands. 

 

 

 

 

 

Message 3 of 3
delcacho
in reply to: delcacho

Ok thank you, this helps

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report