User-Definable Material Macro (Customize)
- Last UpdatedAug 20, 2025
- 1 minute read
If the material information is not contained in the MATR or :FABMGRADE attributes, it may be extracted from the database using a user-definable macro. This macro is identified using the following global variable:
-- Material macro
!!bocMaterialMac = |bocgetusermatl|
This would enables you to configure the system to extract material information in a manner different from the default system. Refer to User-Definable Material Macro (External Mapping Files) for further information.
The above defines a reference to a macro which is to be found in the folder structure below the %PMLLIB% environment variable. This macro takes no arguments and returns a string.
Note: It is for you to handle all internal errors within the macro.