User Tools

Site Tools


software:unigraphics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:unigraphics [2013/11/01 18:55] superwizardsoftware:unigraphics [2015/04/27 03:49] superwizard
Line 1: Line 1:
 +====== Plotter setup in UGNX 6 x32 on W7 x64 ======
 +
 +From: http://www.eng-tips.com/viewthread.cfm?qid=298459
 +
 +<code>
 +My guess is that you're probably using 64bit Windows 7?
 +
 +On 64bit systems (Vista & Win 7), the two variables UGII_SDI_BPS_JOBS_DIR & UGII_SDI_OVERRIDE_HOME need to be set.
 +When they are unspecified they are created in the users profile, but Win 7 & Vista works their permissions differently from WinXP.
 +
 +Creating those two variables & then pointing them to look at a folder, (c:\temp is the example I would follow) fixes the problem.
 +
 +set UGII_BASE_DIR="C:\progra~2\UGS\NX 6.0\"
 +set UGII_ROOT_DIR="C:\progra~2\UGS\NX 6.0\UGII"
 +
 +rem --------------------------------------------------------------------------------------------
 +rem set PATH
 +rem --------------------------------------------------------------------------------------------
 +set PATH=%SYSTEMROOT%\system32;%UGII_ROOT_DIR%;%UGII_BASE_DIR%;%PATH%
 +
 +set UGII_SDI_BPS_JOBS_DIR=c:\temp
 +set UGII_SDI_OVERRIDE_HOME=c:\temp
 +
 +%UGII_ROOT_DIR%\ugraf.exe
 +</code>
 +
 +NXSA7-Riches-BeginningAndIntermediatePlotting.pdf: http://www-cad.fnal.gov/PLM_World/2006/academic_programs/NX/NXSA7-Riches-BeginningAndIntermediatePlotting.pdf
 +
 +<code>
 +To plot in NX, you first define printer in printer group usint **File>Utilities>Printer Administration**. After defining the printer group and taking steps to tell NX ou your printer group, you can direct plots to a particulay printer by selecting the group and the printer via **File>Plot**.
 +</code>
 +
 +
 +<code>
 +Reference: Environment Variables: C:\Program Files (x86)\UGS\NX 6.0\UGII\ugii_env.dat
 +
 +############################################################################
 +#
 +#  PLOTTER AND PRINTER ENVIRONMENT VARIABLES:
 +#
 +#  Variables in this section configure SDI plotting software used by NX.
 +#
 +#  By default, only variable UGII_SDI_BASE is set and other plotting
 +#  variables are unset (commented out). NX uses variable UGII_SDI_BASE
 +#  to initialize unset variables as shown below.
 +#
 +#  The base directory where the plot kit can be found.  All variables default
 +#  to values based off of this variable.
 +#
 +UGII_SDI_BASE=${UGII_BASE_DIR}\nxplot
 +#
 +#  When plotting, NX will automatically append the sheet name to the jobname
 +#  so that the files generated for different sheets can be distinguished.  If
 +#  the sheet name is not wanted, then set the following variable to disable
 +#  this functionality.  Turning this off will generate the same CGM jobname 
 +#  for multiple sheets, so it should be used with caution.
 +#  
 +#UGII_PLOT_DONT_APPEND_SHEET_NAME=1
 +#
 +#  The location of the cgm to pdf conversion utility
 +#
 +UGII_CGM2PDF=${UGII_SDI_BASE}\bin\pdf
 +#
 +#  When you use cgm2pdf as an image for a plotter queue, the SDI
 +#  software will call it with one parameter, the CGM file to be
 +#  created.  In this case UGII_PDF_OUTPUT_DIR tells the cgm2pdf
 +#  image where the output PDF file is to be created.
 +#
 +#UGII_PDF_OUTPUT_DIR=
 +#
 +#  When you use cgm2pdf as an image for a plotter queue, you may
 +#  want to append the plotter output into one output PDF file.
 +#  Use UGII_PDF_APPEND for this.  If it is set, then append will
 +#  be done.  If it does not exist, then appending will not be done.
 +#UGII_PDF_APPEND=1
 +#
 +#  This variable specifies a single printer group directory that is
 +#  shared by all users. If you prefer to use multiple printer group
 +#  directories, then specify the directories in a printer group list
 +#  file instead. Before setting this variable, review printer group
 +#  concepts presented in NX Help documentation.
 +#
 +#UGII_SDI_SERVER_CFG_DIR=${UGII_SDI_BASE}\config\pm_server
 +#
 +#  The directory that SDI software will use as default for input.  This
 +#  will effect the directory that the user sees when they press "browse"
 +#  in the NX Plot Print screen.
 +#
 +#UGII_SDI_IP_DIR=${UGII_TMP_DIR}
 +#
 +#  The directory that SDI software will use as the default for output.  This
 +#  will effect the default directory when a user plots to a file.
 +#
 +#UGII_SDI_OP_DIR=${UGII_TMP_DIR}
 +#
 +#  SDI software will normally add a PS command to HPGL and HPGL/2 output.  You
 +#  can turn off this behavior by setting the following variable to 1.
 +#
 +#UGII_SDI_CGM_HPGL_NO_PS=1
 +#
 +# The following variable is used to control the resolution used to convert
 +# a CGM to an EMF file when printing a wireframe display.  The default
 +# resolution is 600 DPI, the variable can be set from 200 to 9600.
 +#UGII_SDI_CGM2EXP_RESOLUTION=600
 +#
 +#  Set the following variable to cause the SDI printing software to suppress
 +#  the generation of registration marks at the corner of HPGL output.  Note
 +#  This variable should be used instead of UGII_IGNORE_OFFSET which it
 +#  replaces.
 +# UGII_SDI_IGNORE_HPGL_OFFSET=1
 +#
 +#  Set the following variable to cause the SDI printing software to suppress
 +#  the generation of registration marks at the corner of HPGL-2 output.
 +# UGII_SDI_IGNORE_HPGL2_OFFSET=1
 +#
 +#  Set the following variable to cause the SDI printing software to suppress the
 +#  message box that the Image exceeds the printable page size.
 +# UGII_SDI_IGNORE_SIZE_WARNING=1
 +#
 +#  Set the following variable to specify the location for the output of the
 +#  Gerber format executable
 +#
 +UGII_SDI_OUTPUT_DIR=${UGII_TMP_DIR}
 +#
 +#  This is the directory the SDI software uses to look for executables.
 +#
 +#UGII_SDI_BIN=${UGII_SDI_BASE}\bin
 +#
 +#  This is the location of the various fonts that are required when
 +#  rendering PostScript fonts.
 +#
 +#UGII_SDI_ADOBE_PATH=${UGII_SDI_BASE}\fonts
 +#
 +# This is the top level directory where the language files are found for
 +# displaying the SDI user interface.
 +#
 +#UGII_SDI_LANGUAGES=${UGII_SDI_BASE}\languages
 +#
 +# This directory is the directory where the actual language files are found.
 +#
 +#UGII_SDI_PM_LANGUAGES=${UGII_SDI_BASE}\languages\pm
 +#
 +# This points to the file used to display the SDI help.
 +#
 +#UGII_SDI_HELP_UGS=${UGII_SDI_BASE}\help\pm\default.htm
 +#
 +# This variable can be set to BPS or WORKGROUP. BPS is the setting for
 +# SDI Basic Print Solution software provided with NX. WORKGROUP is the
 +# setting for optional SDI Print Master Server software.
 +#
 +#UGII_SDI_SERVER_TYPE=BPS
 +#
 +# This is the directory where temporary jobs are created for the user when
 +# plotting is done.
 +#
 +#UGII_SDI_BPS_JOBS_DIR=${UGII_TMP_DIR}\bps
 +#
 +# This is the executable used to implement the Basic Print Solution.
 +#
 +#UGII_SDI_SERVER_PLOT=bpsplot_sdrc.exe
 +#
 +# This variable determines the logo displayed by the SDI user interface.
 +#
 +#UGII_SDI_LOGO_NAME=NX
 +</code>
 ====== Commandline Start and Stop ====== ====== Commandline Start and Stop ======
  
Line 66: Line 231:
  
 ===== ug 7.5 ===== ===== ug 7.5 =====
- 
  
software/unigraphics.txt · Last modified: 2015/04/27 03:49 by superwizard