Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Project Setup Guidelines

  • Last UpdatedNov 27, 2025
  • 3 minute read
  1. For a standard project setup refer to Chapter 5 of the Administrator User Guide.

    There is an extra project setup for Global which is:

    Set up environment variables for location transfer directories. The environment variables must be added to the {proj}evars.bat file in the project folder.

    set {PROJ}_HUB=C:\{your project path}\TRANSFER\HUB

    set {PROJ}_PFB=C:\{your project path}\TRANSFER\PFB

    These will contain the project directories.

  2. Launch base product and at the login screen make sure that the project that is to be made Global is selected in the login page.

  3. Then from the login page make sure that the Admin module is selected.

  4. In the Admin module select Display > Command Window.

  5. At command line type the following commands in sequence:

    Lock

    make Global

    Note: The user will be prompted to close and re-open the Admin module.

    unlock

    savework

  6. Then quit the Admin module and reload as prompted.

    Note: When re-starting the Admin module a prompt will inform the user that the Location is uninitialized.

  7. In the Admin module select Locations from the Elements pulldown and highlight /projecthub.

  8. Click Modify and rename /projecthub to /hub then click Apply.

    A prompt will ask if the user wants to initialize the location.

  9. Click Yes.

    A prompt will be displayed indicating that a new transaction database has been created.

  10. Click OK then Dismiss on the Modify Location window.

  11. Start the Global daemon by typing the following from the Windows command line.

  12. Click Start > Run and then type CMD to open a Windows command line window.

    C:\AVEVA\Global{version}\admind start {proj}

  13. To verify that the command has run successfully the user can query the linit flag of the location. To do this:

    1. Open the Admin module.

    2. Select Location from the Element pulldown.

  14. Select Display > Command Window to open the command window and then type the following commands

    q linit

    Example PML to wait for command to complete:

    !c = curloc

    do

    pause 1

    session comment 'Interim savework at HUB after initializE'

    savework

    getwork

    break if (!c.linit)

    !f = object FILE(!!itaSkipPath + '/skip')

    break if (!f.exists())

    skip

    enddo

    savework

    ***** Generate the locations at the HUB ******

    /*GL

    LOCLI 1

    NEW LOC /PFB

    LOCID ‘PFB’

    DESC ‘Piping Fabrication’

    RHOST ‘sg132’

    CR DB TRANSACTION/PFB

    GENERATE LOCATION PFB NOALLOCATE

    Note: ALLOCATE will copy all the project files to the location defined by variable {proj}_PFB.

    NOALLOCATE will only copy the system DB files.

  15. At the Satellite, use Windows Explorer to copy the files in {proj}_PFB to the location directory where the project will reside as {proj}000 (that means, the Satellite).

  16. Set up the base product environment at the satellite location (executables, Project directories etc).

  17. Set up the base product environment at satellite location (executables, Project directories )

    set AVEVA_DESIGN_EXE=C:\ita_test_env\E3D

    set {proj}000=C:\net\project\{proj}000 ¼..

  18. Start the daemon at the location PFB

    %AVEVA_DESIGN_EXE%\admind start {proj}

    AT LOC PFB

  19. If still in the base product at the HUB, check PFB daemon by

    PING PFB

    Example PML to wait for command to complete:

    do
      pause 1
      ping PFB
      handle ANY
      !f = object FILE(!!itaSkipPath + '/skip')
      break if (!f.exists())
      skip
      elsehandle NONE
      break
      endhandle
    enddo

  20. Log in to the Admin Module at location PFB (admin)

    initializE

  21. Having setup the environment at location, log in to the Admin Module at the HUB (if not in already)

    savework

    getwork

    /PFB

    Q LINIT

    ** If LINIT TRUE then PFB has initialized

    Example PML to check initialization is complete

    !loc = /PFB

    do

    pause 1

    session comment 'Interim savework at HUB after initialization of PFB'

    savework

    getwork

    break if (!loc.linit)

    !f = object FILE(!!itaSkipPath + '/skip')

    break if (!f.exists())

    enddo

    session comment 'Savework at HUB after confirming initialization of PFB'

    savework

    getwork

    Now allocate the required DBs to the location PFB

    ALLOCATE pipeapproved/master SECONDARY AT PFB

    ALLOCATE pipereview/siteufa/A SECONDARY AT PFB

    ALLOCATE pipeworkarea/fabwork/A PRIMARY AT PFB

    session comment 'Savework at HUB after allocations to PFB'

    savework

    Wait until all dbs have been allocated at PFB

    /PFB

    1

    The number of members in the DBALL should match the number of DBs allocated.

    Example PML to wait till all databases have been allocated

    do

    pause 2
    session comment 'Interim savework at HUB - waiting for allocations to PFB'
    savework
    getwork
    !location = /PFB
    q var !location.members[1].members
    break if (!location.members[1].members.size() ge 28) $* no. of allocates
    !f = object FILE(!!itaSkipPath + '/skip')
    break if (!f.exists())

    enddo


    session comment 'Savework at HUB after confirming allocations to PFB'

    savework

  22. Create Teams and Databases at the Hub and User, MDB’s locally.

  23. REPEAT FROM ****GENERATE LOCATION****, for all locations required.

TitleResults for “How to create a CRG?”Also Available in