logo
Online Documentation
LSTC
lspp
chat

Configuration File

The .lspostrc file stores information regarding the LS-PrePost configuration. This file is only present if the user saves a configuration that is different from the defaults within LS-PrePost.

  • LS-PrePost will look for this file in the following locations:
  • 1. LSTC_FILE - An environment variable defining the directory where the LSTC license key resides
  • 2. HOME - User home directory
  • 3. WD - working directory where the model resides

LS-PrePost searches through these three locations in order, options set in location 1 will be overwritten if found in location 2 and overwritten again if found in location 3. Note this is at the option level and so if different options are set in different locations LS-PrePost will use them all instead of defaults. Any options not found in user defined .lspostrc files will be set to default automatically by LS-PrePost.

Tip: When updating to a new version of LS-PrePost, you may want to delete your old configuration file (or at least refresh the "menu_page" lines) to make sure you are taking advantage of any new features.

Configuration Options:

* use "*" for comments
animate_mode             = 0 - Animate mode (0=loop, 1=animate once)
application              = General - Default selection from Application Menu
asksave                  = off - Ask before over-writing when using File > "Save Keyword" (on, off)
autosave                 = 0
background_color         = 0.0, 0.0, 0.0 - RGB background color (0.0 to 1.0)
beam_prismon             = off - Display beam as prism (on, off)
beam_sizefactor          = 500 - Assign beam prism scale factor
beam_tubesegs            = 8 - Number of segments used to draw a beam as a tube
cadlabel_size            = 4 - Default CAD label size
def_allow_thickening     = 0.01 - Default value for FLD allowable thickening
def_allow_thinning       = 0.3 - Default value for FLD allowable thinning
def_cracks_color         = 1.000, 0.000, 0.000 - RGB values for FLD cracks (0.0 to 1.0)
def_essential_thinning   = 0.02 - Default value for FLD required thinning
def_failure              = on - Default value for FLD failure (on, off)
def_flc = DEF 800521501
* use "\" to continue points list on the next line
-0.3 0.909, -0.2 0.666, -0.1 0.475, 0 0.357, 0.1 0.44, \
0.2 0.493, 0.3 0.523, 0.4 0.547, - Define FLC pairs (separate pairs with commas)
def_good_color           = 0.000, 1.000, 0.000 - RGB values for FLD good (0.0 to 1.0)
def_inadequate_stretch   = on - Default value for FLD lack of stretching (on, off)
def_limit_flc            = 0 - Default value for FLD FLC limit
def_r_value              = 1.82 - Default value for FLD "r"
def_risk_cracks_color    = 1.000, 1.000, 0.000 - RGB values for FLD risk cracks (0.0 to 1.0)
def_risk_fracture        = on - Default value for FLD risk of fracture (on, off)
def_safety_margin        = 20 - Default value for FLD safety margin
def_severe_thinning      = on - Default value for FLD severe thinning (on, off)
def_stretch_color        = 0.400, 0.400, 0.400 - RGB values for FLD stretch (0.0 to 1.0)
def_thinning_color       = 1.000, 0.733, 0.000 - RGB values for FLD thinning (0.0 to 1.0)
def_wringle_color        = 1.000, 0.000, 1.000 - RGB values for FLD wrinkle (0.0 to 1.0)
def_wringle_tend_color   = 0.000, 0.000, 1.000 - RGB values for FLD wrinkle tendency (0.0 to 1.0)
def_wrinkle_tendency     = on - Default value for FLD wrinkle tendency (on, off)
def_wrinkles             = on - Default value for FLD wrinkles (on, off)
default_light            = 0.2, 0.3, 0.8 - RGB light color (0.0 to 1.0)
drawscene                = on - Default draw option, (on=model drawn on file open, off=not drawn)
duplicate_action         = 1 - Action for duplicate imported data (0=ignore, 1=replace, 2=ask)
edgelwidth               = 1 - Set edge view line width
entitylabel_size         = 4 - Default entity label size
feature_angle            = 30.0 - Assign angle limit for feature line generation
fkey = 11 follow         Hotkey assignment for F11
fkey = 12 appear         Hotkey assignment for F12
fkey = 2 selpar          Hotkey assignment for F2
fkey = 3 xyplot          Hotkey assignment for F3
fkey = 4 measur          Hotkey assignment for F4
fkey = 5 ident           Hotkey assignment for F5
fkey = 6 ascii           Hotkey assignment for F6
fkey = 7 color           Hotkey assignment for F7
fkey = 8 blank           Hotkey assignment for F8
fkey = 9 fcomp           Hotkey assignment for F9
fld_engstrain            = 1 - Default value for FLD engineering strain
fld_nvalue               = 0.21 - Default value for FLD n
fld_tvalue               = 0.8 - Default value for FLD t
fringe_level             = 10 - Default number of fringe levels (2 to 30)
fringe_light             = on - Switch fringe component lighting (on, off)
fringecolor              = 1 0.000 0.000 1.000 - RGB fringe color 1 (0.0 to 1.0)
fringecolor              = 2 0.000 0.444 1.000 - RGB fringe color 2 (0.0 to 1.0)
fringestring_size        = 4
ge_local_brickstrain     = 0 - Default value for green strain
graphicwindow_x          = 986
graphicwindow_y          = 679
help_label               = off - Switch help bubbles (on, off)
highlight                = on - Switch highlight (on, off)
highlight_node           = off - Default Node Trace setting (on, off)
hilite_color             = 0.5, 0.5, 0.5 - RGB highlight color (0.0 to 1.0)
ic_gravity               = 9.81 - Assign value for gravity
ic_timeunit              = 1 - Assign value for standard time unit
init_path                = C:\LSTC\LS-PrePost\ - Default file read directory (note: dir must exist)
keyword_version          = 960 - Keyword Version for Save Dialog
kwdairbag_outorder       = 14 - Keyword output order for *AIRBAG
kwdale_outorder          = 16 - Keyword output order for *ALE
kwdboundary_outorder     = 3  - Keyword output order for *BOUNDARY
kwdcnstrnd_outorder      = 17 - Keyword output order for *CONSTRAINED
kwdcomponent_outorder    = 13 - Keyword output order for *COMPONENT
kwdcontact_outorder      = 5  - Keyword output order for *CONTACT
kwdcontrol_outorder      = 1  - Keyword output order for *CONTROL
kwdd2r_outorder          = 18 - Keyword output order for *DEFORMABLE_TO_RIGID
kwddamping_outorder      = 19 - Keyword output order for *DAMPING
kwddatabase_outorder     = 2  - Keyword output order for *DATABASE
kwddefine_outorder       = 12 - Keyword output order for *DEFINE
kwdelement_outorder      = 25 - Keyword output order for *ELEMENT
kwdeos_outorder          = 20 - Keyword output order for *EOS
kwdhrglass_outorder      = 8  - Keyword output order for *HOURGLASS
kwdinitial_outorder      = 11 - Keyword output order for *INITIAL
kwdintgrtn_outorder      = 21 - Keyword output order for *INTEGRATION
kwdintrfac_outorder      = 22 - Keyword output order for *INTERFACE
kwdload_outorder         = 4  - Keyword output order for *LOAD
kwdmat_outorder          = 9  - Keyword output order for *MAT
kwdnode_outorder         = 26 - Keyword output order for *NODE
kwdpart_outorder         = 6  - Keyword output order for *PART
kwdrgdwall_outorder      = 10 - Keyword output order for *RIGIDWALL
kwdsection_outorder      = 7  - Keyword output order for *SECTION
kwdset_outorder          = 15 - Keyword output order for *SET
kwdtermnton_outorder     = 23 - Keyword output order for *TERMINATION
kwduser_outorder         = 24 - Keyword output order for *USER
label_color              = 1.0, 1.0, 1.0 - RGB label color (0.0 to 1.0)
light_ambient.1          = 0.2, 0.2, 0.2 - RGB ambient light color 1 (0.0 to 1.0)
light_ambient.2          = 0.2, 0.2, 0.2 - RGB ambient light color 2 (0.0 to 1.0)
light_diffuse.1          = 0.3, 0.3, 0.3 - RGB diffuse light color 1 (0.0 to 1.0)
light_diffuse.2          = 0.3, 0.3, 0.3 - RGB diffuse light color 2 (0.0 to 1.0)
light_position.1         = 0.0, 0.0, 1.0 - XYZ location for light 1
light_position.2         = 0.0, 0.0,-1.0 - XYZ location for light 2
light_specular.1         = 0.8, 0.8, 0.8 - RGB specular light color 1 (0.0 to 1.0)
light_specular.2         = 0.8, 0.8, 0.8 - RGB specular light color 2 (0.0 to 1.0)
mainmenu_on              = right - Position of main menu (right, left)
mainwindow_x             = 1200 - Default window width
mainwindow_y             = 960 - Default window height
mat_ambient              = 0.2 - Default light ambience (0.0 to 1.0)
mat_color.1              = 0.769, 0.004, 0.110 - Assign color map color 1
mat_color.n              = 0.251, 0.635, 0.843 - Assign color map color n (n < 30)
mat_diffuse              = 0.2 - Default light diffusion (0.0 to 1.0)
mat_shininess            = 90.0 - Default value for shininess (0.0 to 128.0)
mat_specular             = 0.6 - Default light speculance (0.0 to 1.0)
matdb_sort               = Name - Sort method for *Mat Interface
max_physical_memory      = 1813128K - Assign maximum available physical memory for LS-PrePost
* Current page button assignments
menu_page1 = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
menu_page2 = 40,71,98,107,96,46,37,33,28,61,68,100,106,105,108,36,32,29,93,116,104,111,124,90,35,30,31
menu_page3 = 52,63,49,65,70,50,41,51,64,42,45,67,53,54,48,55,56,57,44,84,122,58,59,60,38,66,83
menu_page4 = 123,43,129,130,156,0,0,0,0,0,0,0,0,0,0,0,0,0,125,110,0,0,0,0,0,0,128
menu_page5 = 81,139,126,94,76,78,80,88,72,82,127,118,95,91,75,87,86,73,99,120,119,112,92,89,79,77,74
menu_page6 = 143,0,0,0,0,0,0,0,0,155,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
menu_page7 = 69,85,109,114,132,133,152,102,103,117,142,144,121,0,134,0,135,0,0,140,154,0,0,137,138,136,113
mesh_color               = 0.0, 0.0, 0.0 - RGB mesh color (0.0 to 1.0)
meshlwidth               = 1 - Set mesh view line width
message                  = off - Default setting for message recording (on, off)
message_file             = C:\LSTC\LS-PrePost\lspost.msg - Assign file name for message file
model_size               = small (Options: huge, large, medium, small)
occupant_list            = 0 - Number of occupants available for Dummy Positioning
outline_color            = 0.0, 0.0, 0.0 - RGB outline color (0.0 to 1.0)
outlining                = edge - Outlining (edge, feat, off)
override_screen_aspect   = 0 - Default window aspect ratio
partgrp_autocenter       = 0
pausetime                = 0.0
perfmessage              = off - Display performance text string (on, off)
plotmode                 = shade - Switch model plot mode (shade, view, wire, feat, edge, grid)
plotunode                = off - Plot unreferenced nodes (on, off)
plotwindow_x             = 0 - Set XY-Plot window start x-coordinate
plotwindow_y             = 0 - Set XY-Plot window start y-coordinate
polygon_offset_factor    = 1 - Default polygon outline offset factor
polygon_offset_unit      = 1 - Default polygon outline offset unit
popup_dialog             = on
primitive_size           = 0.6 - Default primitive size factor
printformat              = jpg (Formats: bmp, gif, jpg, mpg, pct, pdf, png, ps, tif)
printpsfooter            = on - Print setting for postscript footers
printwait_delay          = 300
pscompression_mode       = none - Default postscript compression mode (none, gz, irle, lzw)
recordorient             = off - Do not write quat, pan, and zoom commands to cfile (on, off)
result_onscreen          = off - Switch results (on, off)
rotate_angle             = 10.0 - Default value for model rotation
session_file             = C:\LSTC\LS-PrePost\lspost.cfile - Assign file name for command file
shade_mode               = flat - Shading mode (flat, smooth)
shell_ipt                = maxima - Position of shell intgrn points (maxima, upper, middle, lower)
shrink_factor            = 0.8 - Default value for shrink scale factor
sph_fixedradius          = 0 - Default radius for sph sphere
sph_spheredivs           = 12 - Default number of segments to draw an sph sphere
sph_spherescale          = 0.3 - Default value for sph sphere scale factor
sph_spherestyle          = 4 - Default sphere style (1=dot, 2=flat, 3=wire frame, 4=shiny)
text_color               = 1.0, 1.0, 1.0 - RGB text color (0.0 to 1.0)
texture                  = off - Switch texture mode (on, off) (only applicable in shade mode)
thickenedshell           = 0 - Draw shells with thickness as solid (0=off, 1=on)
thickness_reduction_mode = 1
tmesh_chordal_dev        = 0.15 - Tmesh parameter for SurMesh Interface
tmesh_gap_tol            = 2.5 - Tmesh parameter for SurMesh Interface
tmesh_max_elsize         = 20 - Tmesh parameter for SurMesh Interface
tmesh_min_elsize         = 1 - Tmesh parameter for SurMesh Interface
tmesh_min_intang         = 20 - Tmesh parameter for SurMesh Interface
transparency_value       = 0.85 - Default transparency value (0.0=opaque, 1.0=transparent)
triad_color              = 1.0, 1.0, 1.0 - RGB triad color (0.0 to 1.0)
twoside_lighting         = on - Lighting type (on=Two-sided, off=One-sided)
vect_plotscale           = 1.0 - Default value for vector arrow scale factor
xyplotlegend             = on - Default setting for XY-Plot Legend (on, off)

page end
© 2012 Livermore Software Technology Corporation