cmlist#
- Components.cmlist(name='', key='', entity='', **kwargs)#
Lists the contents of a component or assembly.
Mechanical APDL Command: CMLIST
- Parameters:
- name
str Name of the component or assembly to be listed (if blank, list all selected components and assemblies). If
Nameis specified, thenEntityis ignored.- key
intorstr Expansion key:
0- Do not list individual entities in the component.1 or EXPA- List individual entities in the component.
- entity
str If
Nameis 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 onlyELEM- List the element components only.NODE- List the node components only.
- name
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.