Program > Editing a Design > Replacing Components in Assembly Designs > To Replace User-Defined Features Using Pro/PROGRAM
  
To Replace User-Defined Features Using Pro/PROGRAM
After you set the group_repl_with_recycle configuration option to no, you can programmatically interchange user-defined features using a CHOOSE statement:
CHOOSE (<variable name>)
where <variable name> is the name of a string variable that contains the ID of the group to be placed. All the available IDs can be found in the ADD statement of the leader of the currently active group in the Pro/PROGRAM listing.