Skip to main content

Mechanical scripting interface

CPCommand

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.FE.CDB.CPCommand

Bases: object

Represents a CP command.

Overview

Properties

Name Description
Dof Gets the degree of freedom label.
Index Gets the command index.
Name Gets the command name.
Ncp Gets the number of coupled nodes.
Nodes Gets the nodes.

Property detail

property CPCommand.Dof : str | None

Gets the degree of freedom label.

property CPCommand.Index : int | None

Gets the command index.

property CPCommand.Name : str | None

Gets the command name.

property CPCommand.Ncp : int | None

Gets the number of coupled nodes.

property CPCommand.Nodes : tuple[int] | None

Gets the nodes.