12 APPLICATION RESOURCES

A number of application resources may be set by the user. These values may be specified in several ways:

  1. Given in an.Xresources or.Xdefaults file in your home directory.
  2. Given in a file named "Lc" in your home directory, or in the directory specified by the "XAPPLRESDIR" environment variable.
  3. On the command line, via "-xrm", e.g.: lc -xrm "Lc.debug: True"

The following application resources may be defined. Each resource name is listed along with its default value and a description of the resource.

Resource Name Default Value Description

Lc.rulerFont

 

The font used for labels in viewports.

Default value: -*-helvetica-medium-r-*-*-*-70-100-100-*-*-*-*

Lc.rulerColor

green

The color of the text in viewports.

Lc.selectColor

white

The color of selected blocks that are not active.

Lc.activeColor

hot pink

The color of the selected block active in the edit area.

Lc.defaultColorIndex

3

The color palette index number of the default material color.

Lc.airColorIndex

19

The color palette index number for air.

Lc.metalColorIndex

13

The color palette index number for metal.

Lc.geometryColorIndex

10`

The color palette index number for geometry blocks without a material.

Lc.loadColorIndex

4

The color palette index number for load blocks.

Lc.portColorIndex

5

The color palette index number for port blocks.

Lc.probeColorIndex

26

The color palette index number for probe blocks.

Lc.sourceColorIndex

36

The color palette index number for source blocks.

Lc.outlineWidth

2

The width of the line marking the outline of blocks.

Lc.plotLineWidth

2

The width of the line used in X-Y line graphs.

Lc.plotLineStyle

0

The style of line used in X-Y line graphs.

Lc.plotColorList

 

The list of colors used for the curves of X-Y line graphs.

Default value: red, blue, YellowGreen, DarkOrchid, brown, coral, turquoise, goldenrod, MediumBlue, IndianRed, maroon, SteelBlue, MediumPurple, magenta, LightSkyBlue, orange, cyan, violet

Lc.maximumBlockListSize

5000

The maximum size of the list in the View Blocks dialog.

Lc.blockPaletteSize

36

The number of colors used for the block color palette.

Lc.shadePaletteSize

100

The number of colors used for drawing plane probes.

Lc.debug

False

If True, print debugging information.

Lc.minUpdatePoints

5

The minimum number of time steps between updates of the X-Y plot of a point probe. Both the minimum number of points and the minimum elapsed time must be met before the plot is updated.

Lc.minUpdateTime

1

The minimum number of seconds elapsed between updates of the X-Y plot of a point probe.

Lc.maxUpdatePoints

300

The maximum number of time steps between updates of the X-Y plot of a point probe. If this many time steps have been computed, the plot is updated regardless of the elapsed time since the last update.

Lc.maxUpdateTime

5

The maximum number of seconds elapsed between updates of the X-Y plot of a point probe. If this much time has elapsed, the plot is updated regardless of the number of time steps computed since the last update.

Lc.lineUpdateInterval

1

The minimum number of seconds that must elapse before the X-Y plot of a line probe is updated.

Lc.planeUpdateInterval

1

The minimum number of seconds that must elapse before a plane probe is updated.

Lc.statusUpdateInterval

1

The minimum number of seconds that must elapse before the status displayed in the simulation dialog is updated.

Lc.goodLicenseColor

black

Color of the startup message when the license is valid.

Lc.badLicenseColor

red

Color of the startup message when the license is invalid.

Lc.limitsMarkerSize

20

Size of the depth limits markers in the model viewports, in pixels.

Lc.undoLimit

25

Maximum number of editing undo items.

Lc.crashSave

True

Save model updates to a ".save" file if the program crashes.

Lc.autoSave

True

Automatically save model updates periodically.

Lc.saveBackup

True

Make a backup of the old model file when saving a new one.

Lc.autoSaveTime

10

The amount of time allowed before an automatic model save is done.

Lc.xTic

5

The default number of tic marks along the X-axis in the X-Y plot dialog.

Lc.yTic

5

The default number of tic marks along the Y-axis in the X-Y plot dialog.