**rename_set#

Description#

This command is used to rename sets from the active mesh.

(Available in Z8.4)

Syntax#

The command has the following syntax:

**rename_set \(~\,\) [ *sets old-name1 new-name1 old-name2 new-name2 … ] \(~\,\) [ *nsets old-name1 new-name1 … ] \(~\,\) [ *bsets old-name1 new-name1 … ] \(~\,\) [ *elsets old-name1 new-name1 … ]

Any number of pairs of names can be given to each sub-command, and any combination of them is possible. As expected, the nsets command renames nsets, bsets command renames bsets and elsets command renames elsets. The sets command tries to rename all three kind of sets (and will simply ignore nonexistent sets).

Example#

**rename_set
 *sets
   left  hot_boundary       % renames both the nset and the bset
   right cold_boundary
   top   contact_zone
 *nsets
   bottom fixed_border
   577    fixed_node         % will actually create a new nset