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
software:unigraphics [2013/08/12 20:43] – [ug 5 6 and 7] superwizardsoftware:unigraphics [2015/04/27 03:49] (current) 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 ======
 +
 +From: http://wwwasd.web.cern.ch/wwwasd/lhc++/FLEXLM/htmlman/flexuser/chap6.htm
 +
 +    6.4 lmgrd
 +    lmgrd is the main daemon program for FLEXlm. When you invoke lmgrd, it looks for the license file 
 +    which contains the information about vendors and features. On Unix systems, it is strongly recommended 
 +    that lmgrd be run as a non-privileged user (not root).
 +    Usage is:
 +    lmgrd [ -app ] [ -c license_file ] [ -t timeout_interval ] [ -l logfile ]
 +          [ -s timestamp_interval ] [ -2 -p ] [ -v ] [ -x lmdown ] [ -x lmremove ]
 +    -app
 +    Required for Windows/NT systems.
 +    -c license_file
 +    Use the license file named.
 +    -t timeout_interval
 +    Sets a timeout interval, in seconds, during which redundant daemons must complete their 
 +    connections to each other. The default value is 10 seconds. A larger value may be desirable 
 +    if the daemons are being run on busy systems or a very heavily loaded network.
 +    -l logfile
 +    Write the debug log to logfile.
 +    -s timestamp_interval
 +    Specifies the logfile timestamp interval, in minutes. The default is 360 minutes.
 +    -2 -p
 +    Restricts usage of lmdown, lmreread, and lmremove to a FLEXlm administrator who is 
 +    by default root. If there a Unix group called `lmadmin' then use is restricted to 
 +    only members of that group. If root is not a member of this group, then root does 
 +    not have permission to use any of the above utilities. The `-p' option is available 
 +    in FLEXlm v2.4 and later.
 +    -v
 +    Prints lmgrd's version number and copyright and exits.
 +    -x lmdown
 +    Disallow the lmdown command (no user can run lmdown). If lmdown is disabled, you will need 
 +    to stop lmgrd via `kill pid' (Unix) or CTRL-ALT-DEL and stop the lmgrd and vendor daemon 
 +    processes (Windows 95). On Unix, be sure the kill command does not have a -9 argument.
 +    -x lmremove
 +    Disallow the lmremove command (no user can run lmremove)
 +    The -x lmdown and -x lmremove options are available in FLEXlm v4.0 and later.
 +    
 +    6.3 lmdown
 +    The lmdown utility allows for the graceful shutdown of all license daemons (both lmgrd and all vendor daemons)
 +    on all nodes.
 +    Usage is:
 +    lmdown [-c license_file] [-q]
 +    -c license_file
 +    Use the specified license file.
 +    -q
 +    Don't prompt or print a header. Otherwise lmdown asks `Are you sure? [y/n]: `.
 +    You should protect the execution of lmdown, since shutting down the servers 
 +    causes users to lose their licenses. See the `-p' or the `-x' options in 
 +    Section 6.4, `lmgrd,' on page 41 for details about securing access to lmdown.
 +    When shutting down redundant servers, there is a 1 minute delay before the servers shut down. 
 +    Do not use `kill -9' to shut down the license servers.
 +
 +    
 +
 ====== The flexlm order of things ====== ====== The flexlm order of things ======
  
Line 7: Line 230:
  
     must not have any other uglmgrd running on machine.     must not have any other uglmgrd running on machine.
 +    32 and 64 bit uglmgrd.exe are same
  
 ===== ug 7.5 ===== ===== ug 7.5 =====
- 
- 
- 
  
software/unigraphics.1376340229.txt.gz · Last modified: 2013/08/12 20:43 by superwizard