電子產(chǎn)業(yè)一站式賦能平臺

PCB聯(lián)盟網(wǎng)

搜索
查看: 473|回復(fù): 1
收起左側(cè)

關(guān)于如何導(dǎo)入env(env txt文檔)

[復(fù)制鏈接]

2

主題

13

帖子

62

積分

一級會員

Rank: 1

積分
62
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2024-5-20 16:14:21 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
env導(dǎo)入
打開
C:\Cadence\SPB_16.6\share\pcb\text
替換即可
文檔內(nèi)容:
#
# allegro GLOBAL Environment file
#

# The following variables are set by the software if not preset by user:
#     CDS_SITE, ALLEGRO_SITE, TELENV, ALLEGRO_INSTALL_DIR,
#     ALLEGRO_INSTALL_TOOLS, ALLEGRO_INSTALL_ROOT, ALLEGRO_TYPE,
#     __UNIX (if UNIX), _PROGRAM, HOME
#
# You may set the Operating System variable:
#        ALLEGRO_PCBENV <alternative directory>
# to overwrite the default of the user's pcbenv directory. This variable
# must be set at the OS level and has no effect if set in an Allegro env file.
# The directory given must exist. If no directory is found the system will
# fallback to its default location.
#
# The following variables are preset at startup, direct settings in env
# files will be overridden
#        LOCALENV:  seeded based upon <HOME>/pcbenv (or if set ALLEGRO_PCBENV)
#        LOCALPATH: seeded based upon . LOCALENV, ALLEGRO_SITE, GLOBALPATH
# Variable names are case insensitive

#--------------------------------------------------------------------
# System Variables
set GLOBAL = $ALLEGRO_INSTALL_DIR/text

# change from LIBPATH because it conflicts with IBM's shared library
# environment variable
set ALIBPATH = $ALLEGRO_INSTALL_DIR/pcb_lib

set COMPLIBPATH = $ALLEGRO_INSTALL_DIR/allegrolib

set GLOBALPATH = . $GLOBAL

# Allegro Data Services Variable
set ADSPATH = $GLOBALPATH

# Present for compatiblity with older versions of Allegro.
ifnvar ALLEGRO_SITE "set ALLEGRO_SITE ."
ifnvar CDSPLAT "set CDSPLAT "
ifnvar ALLEGRO_INSTALL_DLL "set ALLEGRO_INSTALL_DLL "

#--------------------------------------------------------------------
# Configuration variables (Don't change)
set BMPPATH = . $ALLEGRO_SITE/icons $GLOBAL/icons
set FORMPATH = . $ALLEGRO_SITE/forms $GLOBAL/forms
set MENUPATH = . $ALLEGRO_SITE/menus $GLOBAL/cuimenus

set MATERIALPATH = . $LOCALENV $ALLEGRO_SITE $GLOBAL

#Configuration paths
set PRFEDITPATH = . $LOCALENV/configure/prfedit $ALLEGRO_SITE/configure/prfedit $ALLEGRO_INSTALL_DIR/configure/prfedit
set BATCHHELPPATH = . $ALLEGRO_INSTALL_DIR/batchhelp
set SPROUTEPATH = $ALLEGRO_INSTALL_DIR/configure/sproute

set HELPPATH = . $ALLEGRO_INSTALL_DIR/help $GLOBAL/help
set PDFPATH = . $ALLEGRO_INSTALL_DIR/help/pdf

# Graphics demo env
set IMAGEPATH = . $ALLEGRO_INSTALL_DIR/examples/image

# Allegro Plugin search path
set AXLPLUGINPATH = . $LOCALENV/$CDSPLAT $ALLEGRO_SITE/$CDSPLAT $ALLEGRO_INSTALL_DLL

#--------------------------------------------------------------------
# Drawing font
set VECTORFONTPATH = . $GLOBAL
set ANSIFONT = ansifont
set KANJIFONTPATH = . $GLOBAL/fonts/kanji
set KANJIFONT1 = kanjifont1
set KANJIFONT2 = kanjifont2

#--------------------------------------------------------------------
# Display Variables

set display_backingstore  on

# disable repair under ratsnests
set display_shapefill_analysis 1

#--------------------------------------------------------------------
#--------------------------------------------------------------------
set compalib = $ALIBPATH/symbols $COMPLIBPATH/symbols
set topfilelib = $ALIBPATH/templates $COMPLIBPATH/templates
set signal_install_dir = $ALLEGRO_INSTALL_DIR/signal
set signal_optlib_dir = $signal_install_dir/optlib

# HDL Supported Design Library Search Path Variables
set MODULEPATH = . $ALLEGRO_SITE/modules
set TILEPATH = . $ALLEGRO_SITE/modules
set WBPATH = . $ALLEGRO_SITE/wbtiers
set PADPATH = E:/via/ E:/Project/shoufang/vt4k_encoder_7A200T_2016_08_12/LIB/
set PSMPATH = E:/via/ E:/Project/shoufang/vt4k_encoder_7A200T_2016_08_12/LIB/
set DEVPATH = E:/via/ E:/Project/shoufang/vt4k_encoder_7A200T_2016_08_12/LIB/
set TECHPATH = . $ALLEGRO_SITE/tech $GLOBAL/tech
set PARAMPATH = . $ALLEGRO_SITE/parameter
set TOPOLOGY_TEMPLATE_PATH = . templates .. ../templates $ALLEGRO_SITE/topology $topfilelib

# SigNoise data installation directory
set SIGNOISEPATH = . $LOCALENV $ALLEGRO_SITE/signal $signal_install_dir $signal_optlib_dir $GLOBAL

# SigNoise model variables.
set SI_MODEL_PATH = . $ALLEGRO_SITE/signal $signal_install_dir
set SI_MODEL_FILE_EXT = Generic_IBIS(ibs) IBIS_Buffer(buf) IBIS_EBD(ebd) IBIS_ICM(icm) IBIS_Pin_List(pin) IBIS_Package(pkg) Quad(mod) Generic_SPICE(spc) HSpice_Input(sp) HSpice_Output(lis) Spectre(spc) Touchstone(S?p,s??,snp) DML(ndx,dml) Interconnect(iml) ABIML(abiml)

#--------------------------------------------------------------------
# Non-HDL Supported Design Search Path Variables
set MISCPATH = . $ALLEGRO_SITE/misc
set ARTPATH = . .. $ALLEGRO_SITE
set APTPATH = . .. $ALLEGRO_SITE
set CLIPPATH = .
set DCLPATH = . .. $ALIBPATH $COMPLIBPATH
set DEVPATH = . devices .. ../devices $ALLEGRO_SITE/devices $ALIBPATH/devices $COMPLIBPATH/devices
set DFAAUDITPATH = . $ALLEGRO_SITE/assembly $ALLEGRO_INSTALL_DIR/assembly
set DFACNSPATH = . dfa .. ../dfa $ALLEGRO_SITE/dfa
set NCDPATH = . .. $ALLEGRO_SITE/nclegend $GLOBAL/nclegend
set SCRIPTPATH = . $ALLEGRO_SITE/scripts $GLOBAL/script
set TEXTPATH = . $ALLEGRO_SITE/extracta $GLOBAL/views
set VIEWPATH = . $ALLEGRO_SITE/views
set XTALK_TABLE_PATH = . xtalk_tables .. ../xtalk_tables $ALLEGRO_SITE/xtalk $ALIBPATH/xtalk_tables
set WIZARD_TEMPLATE_PATH = . $ALLEGRO_SITE/new_templates $ALLEGRO_INSTALL_DIR/pcb_lib/symbols/template
set LDFPATH = .

# System Configuration .scf file search path
set SCFPATH = . scfs .. ../scfs

# Display the headsup meter in a fixed position in the control panel.
set allegro_dynam_timing_fixedpos

# For IC Packaging tools (APD and SiP tools), the following defaults the
# HUD for the wirebond tools to updating 25 times per second.

set wirebond_hud_update_frequency 25
# By default, suppress bond wire DRCs that are 3D in nature but being
# checked in 2D. By default, the APD/SiP tools will only report wire
# violations if they occur over top of the end item (finger or pin) and
# the two wires are on different nets.
set wirebond_suppress_bondwire_drcs

#--------------------------------------------------------------------
#--------------------------------------------------------------------
# alias
# May use function keys F2-F12, most Alpha-numberic keys with control
# modifier (although Control - C, V and X are reserved for copy, paste and cut)
# and Navigation Keys (Home, Up arrow, Esc, etc.) These items may be modifed
# by the following:
#     Modifier                 Indicator                Example
#       Shift                   S                         SF2       
#        Control             C (function keys)         CF2
#        Control            ~ (alpha-numeric)         ~N
#        Meta                   A                         AF2
# Modifiers may be combined. Some examples:
#        CSF2                  Control-Shift F2
#        ASF2                  Meta-Shift F2
#        CAF2                  Control-Meta F2
#       CASF2                  Control-Meta-Shift F2
#        ~SZ                  Control-Shift Z
#        SUp                  Shift-Up Arrow
#        CUp                  Control-Up Arrow
#
# funckey
#  use the funckey when you wish to have alphanumeric keys operate
#  like the Function keys when the cursor is in the Allegro canvas.
#
#  Example -- following starts the move command without a Enter key
#     funckey m move

#--------------------------------------------------------------------
# Bind roam operations to function keys
set roamInc = 96
alias Up        "roam y -$roamInc"
alias Down      "roam y $roamInc"
alias Left      "roam x -$roamInc"
alias Right     "roam x $roamInc"

# Bind incremental pick by grid unit functions to ctrl and shift--arrow keys
alias CUp        "ipick 0; ipick_to_gridunit 0 +1"
alias CDown      "ipick 0; ipick_to_gridunit 0 -1"
alias CLeft      "ipick 0; ipick_to_gridunit -1"
alias CRight     "ipick 0; ipick_to_gridunit +1"
alias SUp        "move; ipick_to_gridunit 0 +1"
alias SDown      "move; ipick_to_gridunit 0 -1"
alias SLeft      "move; ipick_to_gridunit -1"
alias SRight     "move; ipick_to_gridunit +1"

# example of a funckey to emulate layout capability
# The "-cursor" option can be added to any Allegro command with the pick familty
# and we utilize the position under the cursor when the command is execute. So
# this example would center the display to position under the cursor when the 'c' key
# is pressed.
# funckey c        "zoom center; pick -cursor"

#--------------------------------------------------------------------
# F1 is normally reserved by the system for Help so we don't use it
alias F2 zoom fit
alias F3 next
alias F4 show element
alias F5 redraw
alias F6 done
alias F7 next
alias F8 oops
alias F9 cancel
alias F10 grid toggle
alias F11 zoom in
alias F12 zoom out
alias SF2 property edit
alias SF3 slide
alias SF4 show measure
alias SF5 copy
alias SF6 move
alias SF7 dehilight all
alias SF8 hilight pick
alias SF9 vertex
alias SF10 save_as temp
alias SF11 zoom previous
alias SF12 zoom world
alias CF2 next
alias CF5 color192
alias CF6 layer priority
alias CSF5 status
alias ~N new
alias ~O open
alias ~S save
alias ~D delete
alias ~Z undo
funckey + subclass -+
funckey - subclass --
funckey 1     assign color
funckey 2     undo
funckey 3      copy
funckey 4      change
funckey 5      dehilight
funckey 6      swap components
funckey 7      swap functions
funckey 8      zoom points
funckey a      zoom out
funckey b      rotate
funckey c      delete
funckey d      add connect
funckey e      shape edit boundary
funckey f      slide
funckey g      move
funckey h      add line
funckey m      custom smooth
funckey n      mirror
funckey q      rats net
funckey o    unrats net
funckey r      shape select
funckey s      zoom in
funckey t      shape add
funckey u      island_delete
funckey v      toggle
funckey w      delay tune
funckey z      show measure
alias  Esc     done
funckey   " "    iangle 90
funckey  F3 drc update
funckey T "prepopup; pop dyn_option_select 'Snap pick to@Segment Vertex'"
funckey E "prepopup; pop dyn_option_select 'Snap pick to@Arc/Circle Center'"
funckey R "prepopup; pop dyn_option_select 'Snap pick to@Pin'"




#--------------------------------------------------------------------
# OTHER ALIASES       
alias edps padedit
alias rps "replace padstack"
alias unplrp report unplaced
alias x pick
alias y pick l
alias ix ipick
alias iy ipick 0
alias reopen 'open -q $module'
alias revert 'open -q $module'

# autoroam
alias sar set pcb_autoroam
alias uar unset pcb_autoroam

alias reopen 'open -q $module'
alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
alias ~B bubset
alias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode'
alias ~C smoothset


#--------------------------------------------------------------------
# COMMAND DEFAULTS
# allow slide to work on arcs by default
set slide_arcs

# Compatibility aliases
alias window        zoom
alias hilite        hilight
alias dehilite        dehilight
alias pickx        pick
alias picky        pick l
alias ipickx        ipick
alias ipicky        ipick 0
alias cdnshelp        cdsdoc

#--------------------------------------------------------------------
# MOUSE WHEEL SUPPORT (Windows only)
#   Environment Variables - Note quote variables so they are evaluated
#        at button time not when this file is read.
#   - _wheelcnt variable is set based upon number of detents wheel moved
#        range is -4 to 4 (no 0)
#   - sx1 and sy1 are cursor coordinates when wheel is moved
#
# Button values
#   wheel_up:   when wheel is moved up
#   wheel_down: when wheel is moved down
#   wheel:        up/down if either of above 2 buttons are not assigned
#  
# Keyboard modifiers (note we are case insensitive)
#   S - shift key
#   C - control key
#   SC - shift and control
#     Example: SCwheel - for wheel button assignment with both shift & control keys
#

# Button factor may be factorion (e.g. 0.5)
set buttonfactor = 1

button wheel_up "zoom in $buttonfactor"
button wheel_down "zoom out $buttonfactor"
button Cwheel_up "zoom in $buttonfactor"
button Cwheel_down "zoom out $buttonfactor"

# The parameter "BGA*_*" is used when you press the keyboard " Ctrl/Shift + Up".
# But the value will take effect only when these codes such as "set BGA1_27 = 1.27" are the latest.
# If you want to use "set BGA1_27 = 50" you must move it to "set BGA1_27 = 1.27 " behind.

# Unit:millimeter
set BGA1_27 = 1.27
set BGA1_0 = 1.0
set BGA0_8 = 0.8
#set BGA0_8 = 3.81


# Unit: mil
set BGA1_27 = 50
#set BGA1_0 = 25.5900
set BGA1_0 = 39.37
#set BGA0_8 = 31.5
set BGA0_8 = 31.49
#set BGA0_8 = 150


alias Up ipick 0 $BGA1_27
alias Down ipick 0 -$BGA1_27
alias Left ipick -$BGA1_27 0
alias Right ipick $BGA1_27 0

alias CUp ipick 0 $BGA1_0
alias CDown ipick 0 -$BGA1_0
alias CLeft ipick -$BGA1_0 0
alias CRight ipick $BGA1_0 0

alias SUp ipick 0 $BGA0_8
alias SDown ipick 0 -$BGA0_8
alias SLeft ipick -$BGA0_8 0
alias SRight ipick $BGA0_8 0


source -q $ALLEGRO_SITE/site.env
### User Preferences section
### This section is computer generated.
### Please do not modify to the end of the file.
### Place your hand edits above this section.
###
set undo_depth = 30
set padpath = E:/via/ E:/IPTV/LIB/
set psmpath = E:/via/ E:/IPTV/LIB/
set devpath = E:/via/ E:/IPTV/LIB/
set allegro_dynam_timing = on
unset allegro_etch_length_on
set allegro_dynam_timing_fixedpos
unset no_dynamic_zoom
unset no_zoom_to_object
unset viewer_useoglgraphics
unset draw_etch_outline
unset disable_opengl
set no_dragpopup
unset display_nodynamicarcwidth
unset display_drcfill
unset old_style_flash_symbols
unset ratt_off_if_connected
unset display_thintext
unset display_nolinewidth
set infinite_cursor_bug_nt
set pcb_cursor = infinite
set showmeasure_altunits = millimeters
set nolast_directory
set nolast_file
set display_nohilitefont
set logic_edit_enabled
unset telskill
set autosave_time = 10
set autosave
unset old_shape_fill_style
unset no_shape_fill

0

主題

10

帖子

38

積分

一級會員

Rank: 1

積分
38
沙發(fā)
發(fā)表于 2024-9-20 16:34:40 | 只看該作者
666感謝樓主

發(fā)表回復(fù)

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則


聯(lián)系客服 關(guān)注微信 下載APP 返回頂部 返回列表