The ifx_start_mdl.cfg Configuration file
Use the ifx_start_mdl.cfg file located at <creo_loadpoint>\Common Files\ifx\configuration\, to customize your fastener models. The standard Creo Intelligent Fastener installation includes a _ifx_start_mdl.cfg template file. After the underscore at the beginning of the file name is deleted, the fasteners are modified.
To rename a standard feature enter the following line:
FEATURE_NAME <original feature name> <new feature name>
Placeholder
Description
original feature name
Original name of the feature to rename.
new feature name
New name of the feature.
To create parameters enter the following line:
CREATE_PARAMETER <parameter name> <parameter type> <default value> DESIGNATE
Placeholder
Description
parameter name
Name of the parameter to create.
parameter type
Parameter data type. Possible values are as follows:
INTEGER
DOUBLE
STRING
BOOLEAN
default value
Default values can be an integer, a two-digit number, or a string depending on the <parameter type>.
Use GETENV:<environment variable> to assign a value from an environment variable as default value.
DESIGNATE
The DESIGNATE string is optional. If you use DESIGNATE, the parameter is designated to Windchill.
To create layers enter the following line:
CREATE_LAYER <layer name>, <layer status> <layer type>
Placeholder
Description
layer name
Name of the layer to create.
layer status
Layer display status. Possible values are as follows:
DISPLAY
BLANK
NORMAL
layer type
Layer type is optional. You can designate the layer as the default layer for a specific element type.
GEOM_FEAT
NOGEOM_FEAT
COSM_SKETCH
AXIS
SURFACE
DATUM
POINT
CURVE
CSYS
FEATURE
HOLE_FEAT
ROUND_FEAT
CHAMFER_FEAT
SLOT_FEAT
CUT_FEAT
PROTRUSION_FEAT
RIB_FEAT
DRAFT_FEAT
SHELL_FEAT
CORN_CHAMF_FEAT
ASSY_CUT_FEAT
TRIM_LINE_FEAT
COSM_ROUND_FEAT
COPY_GEOM_FEAT
WELD
CURVE_ENT
NOTE
GTOL
QUILT
DATUM_POINT
DATUM_PLANE
THREAD_FEAT
SOLID_GEOM
EXT_GCPY_FEAT
To rename existing layers enter the following line:
RENAME_LAYER <old layer name><new layer name>
Placeholder
Description
old layer name
Old name of the layer to rename.
new layer name
New name of the layer.
To delete an existing layer enter the following line:
DELETE_LAYER <layer name>
Placeholder
Description
layer name
Name of the layer to delete.
ALL
Delete all layers.
To use a layer template enter the following line:
RULE_LAYER_TEMPLATE <template name>
Placeholder
Description
template name
The name of a layer template. All rule based layers from that template will be copied to any new IFX fastener. The path for the file is <creo_loadpoint>\Common Files\ifx\configuration\.
To create the rule layer parameter BUW_LAYER_INFO enter the following line:
CREATE_RULE_LAYER_PARAM <YES/NO>
Placeholder
Description
YES
Create the feature parameter BUW_LAYER_INFO with the name of the layer on which the feature is stored. This enables you to create a set of layer rules to collect all features that are specific for IFX on a certain layer.
NO
Do not create a rule layer parameter.
In the example you see how to rename feature, create parameters with default values, create layers or add your layer configuration.
!FEATURE NAMES OF STANDARD FEATURES
FEATURE_NAME XY START_XY
FEATURE_NAME XZ START_XZ
FEATURE_NAME YZ START_YZ
FEATURE_NAME CS0 START_CSYS

!PARAMETERS TO CREATE
CREATE_PARAMETER TEST_INT_PARAM INTEGER 17
CREATE_PARAMETER TEST_DOUBLE_PARAM DOUBLE 17.0
CREATE_PARAMETER TEST_STRING_PARAM STRING XYZ
CREATE_PARAMETER TEST_USERNAME_PARAM STRING GETENV:USERNAME DESIGNATE
CREATE_PARAMETER TEST_BOOLEAN_PARAM BOOLEAN 1

!LAYERS TO CREATE
CREATE_LAYER ERWIN NORMAL
CREATE_LAYER MY_DTM_PLANE BLANK DATUM_PLANE

!LAYER CONFIGURATION
REANME_LAYER 00_BUW_DATUM FASTENER_DATUMS
DELETE_LAYER 00_BUW_DATUM
RULE_LAYER_TEMPLATE FASTENER_LAYER_TEMPLATE
CREATE_RULE_LAYER_PARAM YES