SET
Sets or modifies an attribute value of an object.
Syntax
SET [Object ID] [Object attribute] [New value]
Command parameters
Command parameter | Assignment | Value format | Input options |
---|---|---|---|
Object ID | Required | String | Local, variable |
Object attribute | Required | Predefined strings | Local, variable |
New value | Required | String | Local, variable |
Object ID:
The ID of the object.
Object IDs from the following object types are accepted:
- Structural members tab:
- Structural member
- Structural plate
- Haunched member (since CS 17)
- Tapered member (since CS 17)
- Steel material (since CS 17)
- Coated steel material (since CS 17)
- Concrete material (since CS 17)
- Rebar material (since CS 17)
- Point support
- Line support
- Surface support (since CS 17)
- Support type (since CS 17)
- Release type (since CS 17)
- Link (since CS 17)
- Loads tab:
- Load group (since CS 17)
- Load case (since CS 17)
- Load combination (since CS 17)
- Point load
- Line load
- Surface load (since CS 17)
- Load transfer surface (since CS 17)
- Mass tab:
- Mass group (since CS 17)
- Mass case (since CS 17)
- Mass combination (since CS 17)
- Point mass (since CS 17)
- Other:
- Portion (since CS 17)
Object attribute:
The object attribute to be set. The available selection of object attributes depends on the object type, which is autmatically determined based on the object ID. The available object attributes can be found at the detailed description of object types below.
New value:
The new value of the specified attribute.
Sample code
Command only:
SET Object_ID Name "New name"
With object creation:
LOAD_SECTION_LIBRARY section "HEA 200"
CREATE Mem_ID1 Structural_Member "HEA 200"
0 0 0
0 0 3000
SET Mem_ID1 Name "New name"
Detailed description of object types
Structural member
Available object attributes:
Object attribute name | Object attribute (type this into Descript) | Value format |
---|---|---|
Name | Name | String |
Section ID | sectionid | Section ID or name |
Eccentricity - y | eccentricity_y | Numerical |
Eccentricity - z | eccentricity_z | Numerical |
Rotation | Rotation | Numerical |
Initial bow imperfection L/y | geomimpv | Numerical |
Initial bow imperfection L/y | geomimpw | Numerical |
Release start point | ReleaseID_A | Release ID or name |
Release end point | ReleaseID_B | Release ID or name |
Finite element type (since CS 17) | FE_Type | Predefined strings |
FE generation type (since CS 17) | ConvergenceType | Predefined strings |
Number of finite elements (since CS 17) | Convergence | Numerical |
Avearage shell FE size in web (since CS 17) | AverageEdgeLength_Web | Numerical |
Avearage shell FE size in flange (since CS 17) | AverageEdgeLength_Flange | Numerical |
Type of the shell constraint element (since CS 17) | ShellDOFConstraint | Predefined strings |
Finite element type:
Valid inputs:- 6DOFelem
- 7DOFelem
- TensionBar
- Shell
- XBrace
FE generation type:
Valid inputs:- Automatic
- Manual
Type of the shell constraint element:
Only applies if FE_Type is set to Shell.
Valid inputs:- Trans
- TransAndRot
Sample code
All available attributes + object creation:
LOAD_SECTION_LIBRARY Sec_ID1 "HEA 200"
LOAD_SECTION_MACRO Sec_ID2 WLD-IH "WLD-IH (Descript)" "S 355 EN 10025-2" 100 10 200 6 100 10
CREATE Mem_ID1 Structural_Member "HEA 200"
0 0 0
0 0 3000
SET Mem_ID1 Name "New name (Descript)"
SET Mem_ID1 SectionID Sec_ID2 // or: SET Mem_ID1 SectionID "NAME: WLD-IH (Descript)"
SET Mem_ID1 Eccentricity_Y 100
SET Mem_ID1 Eccentricity_Z 100
SET Mem_ID1 Rotation 45
SET Mem_ID1 GeomImpV 200
SET Mem_ID1 GeomImpW 300
SET Mem_ID1 ReleaseID_A yy
SET Mem_ID1 ReleaseID_B zz
SET Mem_ID1 FE_Type Shell //(since CS 17)
SET Mem_ID1 ConvergenceType Manual //(since CS 17)
SET Mem_ID1 Convergence 13 //(since CS 17)
SET Mem_ID1 AverageEdgeLength_Web 23 //(since CS 17)
SET Mem_ID1 AverageEdgeLength_Flange 13 //(since CS 17)
SET Mem_ID1 ShellDOFConstraint TransAndRot //(since CS 17)