Importing existing COS (distributed) projects

This topic instructs you on importing existing (HDX) projects to be used in the current version of Hull. If you want to add completely new COS (distributed) projects, see Creating COS (distributed) projects.

In order to be able to open an existing project in Hull, you first need to create the project in the CADMATIC desktop. During this process some conversions take place. Also, when saving a block for the first time (using either Save or Save Construction), the old HDX construction parts, welds and Work Breakdown objects belonging to the block will be deleted to avoid duplicate information—if the Hull Agent was created at the main site (that is, the main site owns the objects), the first save should also be done at the main site.

Create the project in the CADMATIC desktop as follows:

  1. In the CADMATIC desktop, browse to the projects folder, and then select Object > Create Project.

    The Create New Project wizard opens.

  2. Specify which COS server and library to use:

    1. From the COS Server drop-down menu, select the COS server where the master project database is to be hosted. This defines the main site for this project, and later you can replicate the database to any satellite sites that connect to this main site.

      If the required server is not listed, click Connect. You are prompted to define the address and port of the server to connect to.

    2. From the Library drop-down menu, select the desired library. If you want to create a new library, select New library.

    3. Click Next. One of the following occurs:

      • If you selected to create a new library, the Library Properties Setup page opens—go to step 3.

      • If you selected to use an existing library, the Project Properties Setup page opens—go to step 5.

  3. Enter a descriptive, unique name for the new library.

  4. Click Next. The Project Properties Setup page opens.

  5. Define the project properties:

    1. Click Browse, and select the root directory for the project. The project folder will be created here. The path should either be a mapped drive or a direct UNC path.

      Note: The following characters are not allowed in the project path: ' ^ # & $ , ~

    2. In the Project Name field, enter a name for the project. This will be the name of the shared project folder. Also consider that the project database will be replicated to satellite sites that participate in this project.

    3. The .pms extension is automatically added to the name.

    4. If you want, enter a description in the Description field.

    5. Below Optional Modules, select Hull:

  6. Click Next. The Configuration Setup page opens.

  7. Select from where to take the initial setup for the new project.

    Note: If you previously chose to create a new library, the new library will contain the data required by the objects in the template setup.

    • Base Setup – Use the standard CADMATIC setup provided with the software. The base setup contains a minimum set of configuration objects as well as a small example project for Outfitting.

    • Live Project – Import the setup from an existing project in your COS network. You are prompted to select the COS server and project from which to import the data.

    • .CX File – Import the setup from a .cx file in the file system.

  8. Click Configure. If you selected to get the base setup from a live project, the Export Objects wizard opens—see Export a Project Template. The setup you export is then used by the project wizard. Otherwise, the Hull settings page opens.

  9. Configure the Hull data as follows:

    1. Click Configure. The Configure Hull Data dialog opens.

    2. Click Browse and select the Hull Centre that this project will be coupled with.

      The system checks whether the given Hull Centre looks like a valid Hull Centre. If at least one of the following subfolders is found, the folder is recognized as a valid Hull Centre location: client, codscripts, Eagle, hullcos, hull_library, ncgh, shapes, userstd.

    3. Select the Hull project data source and click OK.

      The data can be copied manually or automatically, an external .cx file can be used, or a predefined project can be used.

      Note: If a .cx file was chosen as the initial project creation setup source, for a project that already includes Hull data, the option Use Hull project data in COS should be chosen as the Hull data source.

  10. Click Confirm to verify that Hull project data is present in the folder defined.

    Note: The Confirm option is available only if the Use Hull project data that is manually added to the Hull folder option was selected as the Hull data source.

    If you have defined a wrong path for the Hull data or no valid Hull data is found, you need to move the Hull data in the folder to fix the problem.

  11. Click Next. The eShare Integration Setup page opens.

  12. If your site is using eShare and the project should be able to export data to eShare, select the option eShare Integration Enabled and specify the settings.

    Click Next. The Ready to create the new project page opens.

  13. Click Create. The Importing Objects wizard opens.

    The base setup of a new project contains objects that are typically needed in projects, and these can usually be automatically mapped to the target server's schema. However, the project template file might also contain completely new attributes or new choices for enumerated attributes.

    If the wizard reports that there are user attributes that need to be mapped to the target server's schema, click Map Attributes and modify the mappings as necessary.

  14. Click Next. A list of objects opens.

    To start the import, click Import All and confirm it when prompted. The system starts to copy the data to the project folder.

    Important: Make sure no users are active in the project that you are using as the project source during the import.

  15. When the import is completed, review the import report and then click Finish. The Project Space dialog opens.

  16. The project space sets the boundaries of the project (ship). If the imported Hull data source contains blocks, the system determines the initial project space values by combining the areas of all the blocks in the import.

    Once you are satisfied with the settings, click Done. The Project Space dialog closes.

  17. Click Finish in the Create New Project dialog. The What Next? dialog opens.

  18. Review the information, and then click Continue.

You can now open the project in CADMATIC Hull. When the project is opened for the first time, some additional conversions (a minor change in the norms, and cleanup of .gdl files from the blocks) are done. At the main site, the user will be notified that there has been a change in the norms and therefore the norms need to be saved to COS. It is up to the user to decide when to do this.

After the import, titlefield layouts for sheet drawings must be re-saved and some settings related to Outfitting integration should be updated:

  1. In System Management, open Drawings > Sheet Drawings > Titlefield Layout, and select each titlefield layout field present in the layout and click Save.

    Tip: To enable the Save button if it is disabled, make any change in the titlefield layout field, and then revert the change. For example, change the Angle setting in Text properties, and then change it back to the original value.

  2. In System Management, send settings to Outfitting by selecting Projects > Outfitting > Hull Structure > Send Settings.

  3. If Hull Agent is still needed in the project, go to Projects > Outfitting > General Hull Agent Settings > Settings and update Hull Installation Directory, Hull Project Directory, and Hull Norms Directory. Clicking Set default should update the directories correctly.

  4. After checking the paths, ensure Hull Agent is running and select Projects > Outfitting > General Hull Agent Settings > Send Hull Agent Settings.