The Commands object enables you to execute Mechanical APDL commands in the Mechanical application.
Once inserted into the Tree outline, the Worksheet automatically displays. This is where you enter your Mechanical APDL Commands. The Worksheet contains default instruction information. The default information displayed changes depending upon the parent object. For example, the following information appears if you insert a Commands object under a Contact Region object:
! Commands inserted into this file will be executed just after the contact region definition. ! The type number for the contact type is equal to the parameter "cid". ! The type number for the target type is equal to the parameter "tid". ! The real and mat number for the asymmetric contact pair is equal to the parameter "cid". ! The real and mat number for the symmetric contact pair(if it exists) is equal to the parameter "tid". ! Active UNIT system in Workbench when this object was created: Metric (m, kg, N, s, V, A) ! NOTE: Any data that requires units (such as mass) is assumed to be in the consistent solver unit system. ! See Solving Units in the help system for more information.
Refer to the object reference page for the Commands object for information about the valid objects under which you can insert single or multiple Commands objects.
Note: Note the following:
For the Transient Structural (Rigid Dynamics) systems, commands are expressed in Python.
Preprocessing Commands objects or Postprocessing Commands objects, available in past releases are no longer supported. If you open a database that includes these objects, the objects are automatically converted to Commands objects.
The following additional topics are covered in this section: