Changing hole request states after project conversion

In the process of converting a Hull Classic (HDX) project to a COS project, the system automatically restores the Hole Type (Production Method) and Lock Status of requests for holes (RFHs) in all blocks in the project as they were in the original Hull Classic project. The Acceptance Status of all RFHs is set to the default value of Accepted. See Hole request states for more information.

Note: Only those blocks which are checked out on the site are processed. Therefore there may remain unprocessed blocks on a site. The system will try to process the RFHs in these blocks each time a Hull user enters the project, until the block is checked out somewhere, and can be processed.

Note: Only those hole requests that have been processed in the CADMATIC Hull Classic project are handled in the conversion.

The hole request states can be changed in already converted projects with the restore_rfh_status_after_conversion command line tool. This is the same tool that is automatically run during project conversion to restore the Hole Type and Lock Status states.

When run manually, also the Acceptance Status can be changed. The hole request states of RFHs can be changed in all the blocks in the project or in just a specific block.

Usage

The usage of the tool is as follows:

restore_rfh_status_after_conversion [options] --restore=<restore type> [--block=<blockname>] --path=<project path>

Command line Options:

  • -printRetCode – When given, print the return code to output before exiting.

  • -force – When given, no user confirmation is requested before making changes.

Command line parameters:

  • restore type – The type of restoration. More types than one can be given, separated by commas, but just one accept type can be given. The types are as follows:

    • method – Restore the Hole Type (Production Method).

    • lock – Restore the Lock Status.

    • accept_pend – Restore the Acceptance Status. RFHs approved in Hull Classic are set to Accepted, and RFHs that have not been approved are set to Pending.

    • accept_rej – Restore the Acceptance Status. RFHs approved in Hull Classic are set to Accepted, and RFHs that have not been approved are set to Rejected.

  • blockname – Run the tool only on a single block. Specify the block name. When not given, all blocks will be processed.

  • project path –Full path to the project folder. When not given, %NCGPATH% will be used.

The system will ask for the user's confirmation before making the changes unless the -force option is used.

Note: When running the executable from within Hull, --project path is set in environment variable %NCGPATH% and it is not necessary to give this parameter. However, when running the executable outside Hull, this parameter is obligatory.

Tip: You can use options --help, -h and /? for online help on the command line parameters.