Skip to main content
Version: 15

GET_SUPPORT_NAME

Gets the name of a support type.

Description

This command tries to find a support type in Consteel with the specified support parameters. If there is one with the given parameters then its name will be saved in a variable.

If there is no such support type, then it will be created, named based on its parameters, and then its name will be saved in a variable.

Syntax

GET_SUPPORT_NAME [x] [y] [z] [xx] [yy] [zz] [w] [Variable name]

Command parameters

Command parameterAssignmentValue formatInput options
x, y, z, xx, yy, zz, wRequiredPredefined stringsLocal, variable
Variable nameRequiredStringLocal, variable

x, y, z, xx, yy, zz, w:

Degrees of freedom of the support. Every parameter can only have 2 values: "Fix" or "Free".

Available degree of freedom values:
Degree of freedom value nameValue
FixedFix
FreeFree

Variable name:

Name of the variable that will store the support type name.

Sample code

Example 1: (support type already exists)

GET_SUPPORT_NAME Fix Fix Fix Fix Fix Fix Fix Support_1

This example will find the already existing "Fixed" support type, retrieve its name, and save that in the variable.

Example 2: (support type does not exist yet)

GET_SUPPORT_NAME Fix Fix Fix Free Free Free Fix Support_xyzw

In this example the specified support type does not exist yet, therefore a new support type will be created in Consteel, and its name saved in the variable.