XPAC Reference Guide

Global Options

Global Options

Previous topic Next topic  

Global Options

Previous topic Next topic  

Use the Global Options window to determine general system behaviour.

1.Select Tools > Global Options.
2.Change settings as required (see table below for more information).
3.Click OK.

Main Options tab

Section

Option

Description

General

Disable Graph in Field Statistics

If you view the statistics of a field in the main database (right-click a cell and select Field Statistics, then click Calculate), a graph displays in the window. Selecting this check box disables the graph to improve system performance for large projects.

 

Use Excel-based Gantt charts

Uses a different Gantt chart engine based on an MS Excel spreadsheet.

 

Display 255-records error message

The database grid is limited to 256 columns. As a result, if a record has multiple child records, XPAC cannot display all records. Selecting this check box displays a warning message when you want to display more than 255 records, otherwise no warning will be displayed.

Spatial Data Plots

Show Full Row Code In Tooltips From Level

By default, tooltips in the 3D view display only the row code (not the full row code). Selecting this check box displays part or the whole row code in the tooltips.

Note

‘Level’ refers to the level of the field in the database (the Lvl column in design mode for the database).

Compatibility

Use compatible Database variables (R, C, Z)

In early versions of XPAC, R(), C() and Z() were used in scripts to reference database fields (in more recent versions, M(), C(), and R() are used). Selecting this check box enables compatibility with older scripts.

 

In report writer use prefix REP instead of R

In early versions of XPAC, the Report Writer used REP() to refer to fields in the report (rather than R() used in more recent versions). Selecting this check box enables compatibility with older report writer scripts.

Scheduling

Circular reference record colouring

Determines whether records that have a circular reference are identified in red text in the Dependencies view.

Note

Selecting this option may affect system performance.

 

Disable Advance To Start

Determines whether the scheduler starts from the first period in the schedule, or from a specified start point. This may be useful if you are running a large database, or if you want to rewind and rerun a part of the schedule.

Note

Selecting this option may prevent you from running the schedule from beyond the first period. It may also prevent certain types of period re-winding to achieve scheduling targets.

 

Insert Separate Step for Roster Break

Determines whether XPAC inserts roster breaks as an extra step in the resource's Input Path. Selecting this option may result in a significant increase in the number of output steps created for each resource.

Note

Selecting this option may affect system performance.

 

XPAC 7.4.1 AS ABL Compatibility Mode

Selecting this option enables compatibility with some schedules created in XPAC 7.4.1, where certain tasks could incorrectly influence the selection of blocks from the ABL even though the task were constrained at the time.

Note

RPM recommends not enabling this feature unless you are trying to create schedules that are compatible with those from XPAC 7.4.1.

 

Show depleting quantities in deposit

Determines whether period data in the Main database reflects changes to the deposit. When selected, values shown in the Main database for deposits exclude any material that has been reclaimed from the deposit.

Note

If you select this option, XPAC automatically selects the Show depleting quantities in stockpiles check box. You cannot deselect it unless you first deselect the Show depleting quantities in deposit check box.

 

Warning

As highlighted in the Global Options dialogue, RPM does not recommend using these options on a regular basis, or during scheduling. These options are designed to allow the database to be examined after running a schedule, and normal settings should be restored before performing any further tasks in the project.

 

Show depleting quantities in stockpiles

Determines whether period data in the Main database reflects changes to stockpiles. When selected, values shown in the Main database for Stockpiles exclude any material that has been reclaimed from the Stockpile.

Warning

As highlighted in the Global Options dialogue, RPM does not recommend using these options on a regular basis, or during scheduling. These options are designed to allow the database to be examined after running a schedule, and normal settings should be restored before performing any further tasks in the project.

 

PreSchedule & MOQ do not release successors

Use this setting to prevent blocks that are dependent on blocks that are completely mined out in the Preschedule or Mined Out Quantities (MOQ) from automatically being available to be mined at the beginning of the schedule. If this option is set then these blocks are treated as ‘empty’ records as distinct from ‘mined out’ records.

 

Compaction and Backup Options tab

Option

Description

Warn the user when the database size exceeds

XPAC displays a warning message when the file size exceeds the specified size. The user can decide whether to close the project and compact the project before continuing.

Always Compact Project

Always compacts the project on closing the application.

Compact database when the database Grows by

Compacts the project after a certain percentage growth. For example, if the project file grows by more than 10 per cent from the time it is opened to the time it is closed.

Compact the database when the database Size is greater than

Compacts the project file when it reaches a specified size, for example, 500 MB.

Ask whether to Compact when the Project is saved

Prompt the user to decide whether to compact the file on closing XPAC.

Automatically back up project on close

When a project is closed, XPAC will generate a ZIP file the same name as the model with “~AUTO_BACKUP” appended. This will get overwritten each time the project closes. All script files (*.bas) in the model directory and below will also be included.

 

Note

The main XPAC project file (*.xpk) has a file size limit of 2GB. If the file size exceeds this amount, it may become corrupt beyond repair. These options are designed to avoid this scenario.

Scripting Options tab

Section

Option

Description

General

Project Script Path

Specify the location of project scripts.

Note

A path starting with '.\' indicates that the path is relative to the project location.

 

Enable #include Directive

Enables the pre-processor for scripts, which lets you include a script within a script. For example, you may want to insert the following at the beginning of a script: '#include "TestInclude - Secondary.bas" (including quotes). Including one script in another lets you reuse common functionality between scripts.

 

Declare referenced functions only (can reduce problems with limited memory when running scripts)

XPAC attempts to establish which script functions are referenced, and only makes these available to the script. Select this check box if you want to reduce the amount of memory required for the script.

Custom Run
Script Buttons

Script Path

Each of the four script paths lets you customise a button on the Tools toolbar in XPAC. This can be useful if you frequently run the same scripts. The first script path corresponds to the first button, the second script path to the second button, and so on:

Tools Toolbar - Run Script 1-4

Specify the script path for each button on the toolbar.

 

Database

Select which database to run the script over.

 

Range and Scenario

Specify the range and scenario options for the script.