ansys.mapdl.core.Mapdl.cmmod#

Mapdl.cmmod(cname='', keyword='', value='', **kwargs)#

Modifies the specification of a component.

Mechanical APDL Command: CMMOD

Parameters:
cnamestr

Name of the existing component or assembly to be modified.

keywordstr

The label identifying the type of value to be modified.

  • NAME - Modify the NAME of the component

valuestr

If Keyword is NAME, then the value is the alphanumeric label to be applied. See the cm command for naming convention details. If a component named Value already exists, the command will be ignored and an error message will be generated.

Notes

The naming conventions for components, as specified in the cm command, apply for cmmod ( 256 characters, “ALL”, “STAT” and “DEFA” are not allowed, etc.). However, if you choose a component name that is already designated for another component, an error message will be issued and the command will be ignored.

This command is valid in any processor.