[PCB_FORUM] Re: Scripts with Free Viewer

  • From: Dave Seymour <dseymour@xxxxxxxxxxx>
  • To: "icu-pcb-forum@xxxxxxxxxxxxx" <icu-pcb-forum@xxxxxxxxxxxxx>
  • Date: Fri, 9 Jul 2010 07:19:55 -0700

I believe you will find that the menu structure is slightly different between 
allegro and the viewer, thus the crash.

However, you can re- record (or text edit) the scripts and make it work.

File > Scripts

Dave



Viewer script:

#          Version: 16.3 002 (v16-3-85Q) i86
version 16.3

prmed
setwindow form.prmedit


FORM prmedit view_grids_button

setwindow form.grid
FORM grid non_etch non_etch_x_grids 25
FORM grid non_etch non_etch_y_grids 25
FORM grid all_etch all_etch_x_grids 10
FORM grid all_etch all_etch_y_grids 10
FORM grid display YES
FORM grid done
setwindow form.prmedit
FORM prmedit done
setwindow pcb

#          stop time: Fri Jul 09 10:13:12 2010


Allegro Script:

#
setwindow pcb

define grid
setwindow form.grid
FORM grid display YES
FORM grid non_etch non_etch_x_grids 5
FORM grid non_etch non_etch_y_grids 5
FORM grid non_etch non_etch_x_offset 0
FORM grid non_etch non_etch_y_offset 0
FORM grid all_etch all_etch_x_grids 5
FORM grid all_etch all_etch_y_grids 5
FORM grid all_etch all_etch_x_offset 0
FORM grid all_etch all_etch_y_offset 0
FORM grid done

#          stop time: Thu Nov  7 09:50:36 1991

Dave Seymour
Ixia
919.267.4840
________________________________
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Dharma Kemp-Bresett
Sent: Friday, July 09, 2010 10:08 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: Scripts with Free Viewer

I always thought the grid settings weren't accessible from the free 
viewer.....? I always had to set up the grids BEFORE I sent a board to a person 
using only the free viewer but I haven't really used the free viewer much since 
16.x so I am just guessing... hope this helps, at least a little bit :-)
Dharma



KAW/USA Ltd.
39 Simon Street, #4
Nashua, NH 03060
603-886-8711 x212
603-881-8763 fax

Confidentiality Notice: This email and any accompanying documents contain 
information that is confidential, privileged or exempt from disclosure under 
applicable law and is intended for the exclusive use of the addressee. This 
information is private and protected by law. If you are not the intended 
recipient, or have received this email in error, you are hereby notified that 
any disclosure, copying, distribution or use of the contents of this document 
in any manner is strictly prohibited.


________________________________
From: Macindoe, Gary [mailto:Gary.Macindoe@xxxxxxxxxxxx]
Sent: Thursday, July 08, 2010 6:01 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Scripts with Free Viewer
Hey guys,

My scripts for different views (layers on/off), setting pads filled/unfilled 
etc. are working fine in the Free Viewer. But, my scripts for changing the grid 
cause the Free Viewer to crash.

Anyone know how to get grid setting scripts to work with the Free Viewer?

TIA!

Regards,

Gary MacIndoe
Senior PCB Layout Designer
Contract - Kelly Services
Covidien
EbD R & D
5920 Longbow Drive
Boulder, CO 80301

303.476.7458
www.covidien.com

Other related posts: