PML variables can be set to customise SDNF. They are set in the file called sdnfuserdata.pmlfnc found in the
SDNF\dflts\user\SDNFPML\functions folder in the user data area of the interface.
All the files of the same type (either Material, Orientation or Profile) must use the same separator consistently: you cannot have some Material files space separated, while others are comma separated.
The syntax defines the names of two macros which are to be found in the folder structure below the %PMLLIB% environment variable. They are named
preexport.pmlfnc and
postexport.pmlfnc, respectively.
In the sdnfuserdata.pmlfnc function there is a variable, !!SDNFProfMapRef, which you can set to determine whether SDNF uses the Specification or Catalogue Component. By default the lines are as the example, with the second line commented out:
You can select whether the SDNF file contains listings of all the mapping files or just the Packet count table. You can modify the !!sdnfBriefHdr variable in the sdnfuserdata.pmlfnc file. By default the SDNF files have brief headers, but if you want to include details of all the files used for the translation, the variable can be switched to 'false'.
The file sdnfuserdata.pmlfnc can be modified by hand to provide a degree of customisation. System variables are overwritten in
sdnfsystemdata.pmlfnc.
The System Configuration window has five tabs
Run Parameters, Model Parameters, Display Colours, Environment Parameters and
Macros. The detail of the attributes can be viewed. The windows do have some data validation, where appropriate.
By default, the system looks for a file SDNF Interface.xml in the AVEVA_DESIGN_USER area. If present, this file is accessed when this window, and even when the whole system, is initialised. If this file is not available, then the default values that are used are set in
sdnfsystemdata.pmlfnc and subsequently overwritten by
sdnfuserdata.pmlfnc. You can save the window settings to this default file using
Control > Save. To save the settings to another file, use
Control > Save as option.
To load any settings file other than the default one, use Control > Load. A file browser displays, allowing you to choose where to locate the new file.
Reset resets the values using the normal window initialisation process with the current variables and any saved
SDNF Interface.xml file.
The Re-initialise option goes right back to the source variables in the system and user data and the default
SDNF Interface.xml files.
OK transfers the window settings to the main Import/Export system for use in that session. On re-displaying the window any unsaved attributes are lost.
As is described in Transfer of Curved Members, you can rebuild a complex member from its component straight and curved segments. The rebuild is dependent upon the member name or its components. Using the member names and their start and end positions, a GENSEC can be rebuilt. Unfortunately this may be a wrong assumption when members being imported share duplicate names or parts thereof. The problem can be compounded when the model is a nodal one.