ansys.mapdl.core.Mapdl.cmlist#

Mapdl.cmlist(name='', key='', entity='', **kwargs)#

Lists the contents of a component or assembly.

Mechanical APDL Command: CMLIST

Parameters:
namestr

Name of the component or assembly to be listed (if blank, list all selected components and assemblies). If Name is specified, then Entity is ignored.

keyint or str

Expansion key:

  • 0 - Do not list individual entities in the component.

  • 1 or EXPA - List individual entities in the component.

entitystr

If Name is blank, then the following entity types can be specified:

  • VOLU - List the volume components only.

  • AREA - List the area components only.

  • LINE - List the line components only.

  • KP - List the keypoint components only

  • ELEM - List the element components only.

  • NODE - List the node components only.

Notes

This command is valid in any processor. For components, it lists the type of geometric entity. For assemblies, it lists the components and/or assemblies that make up the assembly.

Examples of possible usage:

  • cmlist - List all selected components.

  • cmlist, EXPA - List all selected components and for each component list the underlying entity ID’s.

  • cmlist, Name - List the specified component.

  • cmlist, Name,EXPA - List specified component along with all underlying entity ID’s.

  • cmlist, EXPA, Entity - List all selected components of specified entity type. For each component also list the underlying entity ID’s.