The target package name must be as it appears in the data list, !!SDNFExtProgList (see
External Packages). This list is picked up automatically by the Export and Import forms.
See External Mapping File Separator for information on how the user can specify which separator which the interface will use to discriminate between fields.
When an element is exported, its material is determined by inspecting the :SDNFMGRADE attribute first, then the Description attribute of the SOLI element to which the MATR refers. If that fails, the user configurable mechanism is invoked. The text is then transferred locally to the :SDNFMGRADE attribute on the SCTN or PANE element. The text is then looked up in the Material mapping file to check that there is a translation into the SDNF file replacement text. The local material text is still exported.
When an element is to be imported, the SDNF file material description is looked up in the material mapping file and translated into the AVEVA E3D™ equivalent text string. This is then initially copied into the :SDNFMGRADE attribute of the element before any attempt is made to rationalise the MATR. If a SOLI element with this material text is found, the interface will set the MATR to point to the correct SOLI element.
The user may modify the sample macro, sdnfgetusermatl.pmlfnc, as named by the
!!SDNFMaterialMac global variable and given in the
SDNF\dflts\user\SDNFPML\functions folder in the user data folder, if the user has specific requirements as to where the material information resides. As is the case for customising the sdnfuserdata.pmlfnc file, the entire
user folder along with its contents should be copied to the user's local space as defined by the AVEVA_DESIGN_USER environment variable. The sdnfgetusermatl.pmlfnc function can then be modified. Once modified, the user should execute a
PML REHASH ALL command.
The interface assumes, by default, that this file exists under the above name in a folder below the %PMLLIB% search path, and that the starting point for database navigation is the current Design element under consideration, i.e. a Section or Panel. See the previous sections for details of how the user can configure the system to use a material macro with a name of the user’s choice.
See User-definable Material Macro regarding the naming of this macro.
Using the Profile Orientation Mapping File the user can define how SDNF translates a profile from AVEVA E3D™ format into the SDNF Neutral File format on Export, or from it on Import. Refer to the SDNF User Guide for details of how the Neutral File understands default orientations of certain profiles.