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

Suppress Errors While Automatically Exporting Padstack with Shape

$
0
0

Hi all,

     I wrote a program that automatically exports padstacks. It starts by opening allegro with the symbol, then opens each padstack in the padstack editor. The code I use in the padstack editor looks like this: 

QtSignal MainWindow ExportXml triggered
QtFillin Blah.pxml
QtFillin Save
QtSignal MainWindow Exit triggered

However, if the padstack has a shape with an offset, an error message box pops up saying "Origin is outside or on pad edge for layer TOP, REGULAR-PAD. Changing offset to set origin at pad center". 

Is there a way to automatically exit this message, or suppress, or ignore it? I don't want the users of my program to have to click the message box, and export the padstack themselves.

Some example code, example functions, or links to information would be very helpful :)


Viewing all articles
Browse latest Browse all 2157

Trending Articles



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