Fundamentals > Program > Editing a Design > Replacing Components in Assembly Designs > About Replacing Components in Assembly Designs
About Replacing Components in Assembly Designs
You can set up a program to replace assembly components with interchangeable components. Interchangeability is established using interchange groups, members of the same family table, or assembly layout declarations. The member named when executing the design must be interchangeable or else the execution quits and previous values are kept.
You can set up a program that interchanges components through an INPUT statement structure or through a RELATION statement. When the feature of a parameter belongs to an assembly or to another component, an ADD COMPONENT statement or relation must include the component ID.
The format for assembly relation is:
XYZ = <parameter_name>:fid_<feature_name>:<comp_id>
OR
XYZ = <parameter_name>:fid_<N>:<comp_id>
where <comp_id> is the component ID in the assembly of the referenced part. To determine the component ID (<comp_id>) in Assembly mode, click Model > Relations and insert a parameter using . The component ID and the parameter are displayed in the Relations dialog box.