Author Topic: [ORCAD] Text command for setting routing grid size?  (Read 1535 times)

0 Members and 1 Guest are viewing this topic.

Offline Pack34Topic starter

  • Frequent Contributor
  • **
  • Posts: 753
[ORCAD] Text command for setting routing grid size?
« on: September 03, 2021, 01:55:51 pm »
Is there a command to specify the routing grid parameters? I'd like to configure my CAD mouse to type that in to toggle being "fine" and "standard" routing grid.
 

Offline LTimko

  • Newbie
  • Posts: 9
Re: [ORCAD] Text command for setting routing grid size?
« Reply #1 on: September 29, 2021, 01:27:07 pm »
You can assign any hotkey to any command. The easiest way is to edit \SPB_Data\pcbenv\env file and add a following lines:
Code: [Select]
alias ~1 'define grid ; FORM grid all_etch all_etch_x_grids 0.125 ; FORM grid all_etch all_etch_y_grids 0.125 ; FORM grid done'
alias ~2 'define grid ; FORM grid all_etch all_etch_x_grids 0.25 ; FORM grid all_etch all_etch_y_grids 0.25 ; FORM grid done'
There "Ctrl-1" will set etch grid to 0.125mm and "Ctrl-2" will set to 0.25mm.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf