Skip to main content

Mechanical scripting interface 2025

`RCommand`

Last update: 09.03.2026

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

Bases: object

Represents a R command.

Overview

Properties

Name Description
Index Gets the command index.
Name Gets the command name.
Nset Gets the set number.
Stloc Gets the starting location.
ToCdbCommandString Gets the command text formatted as a CDB file entry.
Values Gets the values.

Property detail

property RCommand.Index : int | None

Gets the command index.

property RCommand.Name : str | None

Gets the command name.

property RCommand.Nset : int | None

Gets the set number.

property RCommand.Stloc : int | None

Gets the starting location.

property RCommand.ToCdbCommandString : Ansys.ACT.Automation.Mechanical.FE.CDB.CdbCommandFormatAndParameter | None

Gets the command text formatted as a CDB file entry. Gets the command parameters formatted as a string.

property RCommand.Values : tuple[float] | None

Gets the values.

Connect with Ansys