Quantcast
Channel: Cadence PCB Skill Forum
Viewing all articles
Browse latest Browse all 2157

How to automatedly close/select options of alert window in allegro system using Allegro .src or python scripts?

$
0
0

Hello, 

I'm currently working on an automation for modifying a original A.brd to another modified B.brd using .src scripts.

I would like to complete this modification without any manual settings. Therefore, I wrote a python program to run allegro.exe with .src scripts, 

which will execute this command:

os.system(f'allegro.exe -product Allegro_performance -open {$originalbrd} -s {$scriptPath}')
where $originalbrd and $scriptPath are the paths of original A.brd and .src scripts for modification. 
It can successfully run and complete a B.brd file.

However, due to the different allegro version between A.brd (version 16.6) and current allegro.exe version(17.2), after opening the original A.brd,

the system will prompt out a alert window(as below) to inform me the version difference and I must manually select "yes" to proceed.

Here're my question:

1. I wonder if there's a solution for using .src or python (os.system) script to stop from manually selecting "yes" on alert window ?

2. How to close Allegro program after the automated modification? Is there any SKILL script? 

My environment as below:

OS: windows

Language: python 3.7

Allegro Version: 17.2

Thank you in advance !


Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>