Update Catalogs not supplied by AVEVA Solutions Limited
- Last UpdatedJan 30, 2023
- 2 minute read
The interface tries to find the correct Justification Pline by comparing the positions of their ends and the start and end of the imported member.
Important:
The naming conventions and database structure for the Pline sets should be similar to those used in the supplied Catalogues.
This section gives details on how you can update the steel catalogues to include the Plines necessary for the interface.
The macro file, bocusercataupgr.pmlfnc in the bocad\dflts\user\upgrade folder in your data folder provides the basis on which you may build their own mechanism for updating the catalogues automatically. When the changes are complete you should perform a PML REHASH ALL operation in a command window. We have indicated where you may have to modify this file with lines prefixed by:
>>>> User¼
The macro must be run for each catalogue (CATA element) you want to update. You may have to modify it in a different way for each catalogue. (Details about how the file should be modified are given in following sections.)
You can write a macro which will call all the modified files in turn and so upgrade all catalogues at once. The macro takes one argument which is the DBREF (the database reference number) of the catalogue to be updated.
To update individual catalogues, run the upgrade macro as follows:
-
Enter the module with write access to all the relevant catalogue databases.
-
Set the catalogue (CATA) you want to update as the current element and give the command in a Command Window:
call !!bocUserCataUpgr( !!CE )
-
Repeat for as many catalogues as required.
-
Save work and exit from AVEVA Bocad Steel Interface.