The macro file, sdnfusercataupgr.pmlfnc in the
SDNF\dflts\user\upgrade folder in the user data folder provides the basis on which you may build your 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:
Once you have defined their generic shapes you need to be able to map the Pline set names to that shape. You can populate a mapping file of PML objects in the sdnfusercataupgr.pmlfnc macro file. The first set in the UserMap array may have to be modified, and you may have to extend the list for their own additional specific shapes.
If you are extending an existing generic shape, use the existing upgrade file provided. Or if the profile can be based on an existing generic shape, use a customised copy of the sdnfupgrade<*>.pmlfnc macro. Modify the profile upgrade macro to account for the new parameterisation to create and locate the SDNF Plines for the Cardinal Points. Use an existing example as a guide.
Run sdnfcataupgr.pmlfnc macro for upgrading standard catalogues.
Inspect the macro sdnfusercataupgr.pmlfnc to extend any lists to include the new profile shape, associating it with any new profile upgrade macro. Once modified, perform a
PML REHASH ALL command in a Command window, if necessary, then run this macro.
On the SDNF Export or Import main windows use Control > Re-initialise for resetting the configuration data only.
Or execute call !!sdnfimpexp() in a command window to re-initialise the system. However this last option is very brutal as all settings are lost because the windows and menus are regenerated. You must then regenerate UI binaries after this.