Specifying a Feature and Model in a Relation
You can write relations that use the user parameters and manufacturing parameters of a feature.
In a feature relation, you can identify a parameter attached to that feature by the parameter name. For example:
XYZ = parameter_name
where parameter_name is the user parameter.
However, if you write a relation in the feature’s parent model (part or assembly) or in another feature, you must use one of the following formats to reference that feature:
XYZ = parameter_name:fid_N
or
XYZ = parameter_name:fid_feature_name
where:
• parameter_name—the user parameter for the feature.
• N—the internal feature ID (as displayed when you use > ).
• feature_name—the optional user-defined feature name.
In Assembly mode, use the following format to access a user parameter in a feature of another model:
XYZ = parameter_name:fid_N:session_id
or
XYZ = parameter_name:fid_feature_name:session_id
where:
session_id—the session ID of the model.
For example, suppose that dia is a number-type user parameter in a part feature called CUT_A, CUT_A’s internal feature ID is 20, and d5 is a dimension in another feature.
You can establish a relationship between d5 and dia in the part as follows:
d5 = dia:fid_20
or
d5 = dia:fid_CUT_A
In an assembly, if the driving parameter belongs to another model with the Session ID 12, you can write the relation as follows:
d5 = dia:fid_20:12
or
d5 = dia:fid_CUT_A:12