Skip to main content
Version: 15

SET

Sets or modifies an attribute value of an object.

Syntax

SET [Object ID] [Object attribute] [New value]

Command parameters

Command parameterAssignmentValue formatInput options
Object IDRequiredStringLocal, variable
Object attributeRequiredPredefined stringsLocal, variable
New valueRequiredStringLocal, variable

Object ID:

The ID of the object.

Object IDs from the following object types are accepted:

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 nameObject attribute (type this into Descript)Value format
NameNameString
Section IDsectionidSection ID or name
Eccentricity - yeccentricity_yNumerical
Eccentricity - zeccentricity_zNumerical
RotationRotationNumerical
Initial bow imperfection L/ygeomimpvNumerical
Initial bow imperfection L/ygeomimpwNumerical
Release start pointReleaseID_ARelease ID or name
Release end pointReleaseID_BRelease ID or name

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

Structural Plate

Available object attributes:

Object attribute nameObject attribute (type this into Descript)Value format
NameNameString
Material IDMaterialIDMaterial ID or name
ThicknessThicknessNumerical
Finite element sizeAverageEdgeLengthNumerical

Sample code

All available attributes + object creation:

CREATE Plate_ID1 Structural_Plate "C20/25 EN 1992-1-1:2010" 200
0 0 0
3000 0 0
3000 3000 0

CREATE Concrete_Mat_ID1 Concrete "Custom concrete C25" 2500 31476 25 1.8 2.6 2.35 0.2 0.00001 DiagramRectangle 0.0007 0.0035 1 0.002 0.0035 0.00175 0.0035 2

SET Plate_ID1 Name "New plate name"
SET Plate_ID1 MaterialID Concrete_Mat_ID1 // or: SET Plate_ID1 MaterialID "NAME: Custom concrete C25"
SET Plate_ID1 Thickness 234
SET Plate_ID1 AverageEdgeLength 456

Point support

Available object attributes:

Object attribute nameObject attribute (type this into Descript)Value format
NameNameString
Support typeSupportIDSupport type ID or name
Eccentricity referenceEccTypePredefined strings
Eccentricity - yEccYNumerical
Eccentricity - zEccZNumerical

Eccentricity reference:

Valid inputs:
Eccentricity reference nameEccentricity reference (type this into Descript)
Reference line (0)EccType_C
Bottom Left (1)EccType_BL
Bottom Middle (2)EccType_BM
Bottom Right (3)EccType_BR
Middle Left (4)EccType_ML
Middle Middle (5)EccType_MM
Middle Right (6)EccType_MR
Top Left (7)EccType_TL
Top Middle (8)EccType_TM
Top Right (9)EccType_TR

Sample code

All available attributes + object creation:

LOAD_SECTION_MACRO Sec_ID1 WLD-IH "Descript Section" "S 235 EN 10025-2" 100 10 200 6 100 10

CREATE MemberID1 Structural_member "Descript Section"
0 0 0
0 0 3000

CREATE PSupID1 Support_Point MemberID1 Fixed
0 0 0

SET PSupID1 Name "New name"
SET PSupID1 SupportID "NAME: x,y"
SET PSupID1 EccType EccType_BR
SET PSupID1 EccY 21
SET PSupID1 EccZ 33

Line support

Available object attributes:

Object attribute nameObject attribute (type this into Descript)Value format
NameNameString
Support typeSupportIDSupport type ID or name
Eccentricity referenceEccTypePredefined strings
Eccentricity - yEccYNumerical
Eccentricity - zEccZNumerical

Eccentricity reference:

Valid inputs:
Eccentricity reference nameEccentricity reference (type this into Descript)
Reference line (0)EccType_C
Bottom Left (1)EccType_BL
Bottom Middle (2)EccType_BM
Bottom Right (3)EccType_BR
Middle Left (4)EccType_ML
Middle Middle (5)EccType_MM
Middle Right (6)EccType_MR
Top Left (7)EccType_TL
Top Middle (8)EccType_TM
Top Right (9)EccType_TR

Sample code

All available attributes + object creation:

LOAD_SECTION_MACRO Sec_ID1 WLD-IH "WLD-IH (Descript)" "S 235 EN 10025-2" 100 10 200 6 100 10

CREATE Member_ID1 Structural_member "WLD-IH (Descript)"
0 0 0
0 0 3000

CREATE LSup_ID1 Support_Edge Member_ID1 Fixed
Name "Line support 1 (Descript)"
EccType EccType_TM

SET LSup_ID1 Name "New name"
SET LSup_ID1 SupportID "NAME: Pinned"
SET LSup_ID1 EccType EccType_BR
SET LSup_ID1 EccY 21
SET LSup_ID1 EccZ 33

Point load

Available object attributes:

Object attribute nameObject attribute (type this into Descript)Value format
NameNameString
Force in x directionXNumerical
Force in y directionYNumerical
Force in z directionZNumerical
Moment around x axisMXNumerical
Moment around y axisMYNumerical
Moment around z axisMZNumerical
Multiplication factorMulFacNumerical
Eccentricity referenceEccTypePredefined strings
Eccentricity - yEccYNumerical
Eccentricity - zEccZNumerical

Eccentricity reference:

Valid inputs:
Eccentricity reference nameEccentricity reference (type this into Descript)
Reference line (0)EccType_C
Bottom Left (1)EccType_BL
Bottom Middle (2)EccType_BM
Bottom Right (3)EccType_BR
Middle Left (4)EccType_ML
Middle Middle (5)EccType_MM
Middle Right (6)EccType_MR
Top Left (7)EccType_TL
Top Middle (8)EccType_TM
Top Right (9)EccType_TR

Sample code

All available attributes + object creation:

LOAD_SECTION_LIBRARY Sec_ID1 "HEA 200"

CREATE LG_ID1 LoadGroup
Name "Permanent (Descript)"
LoadGroupType LGType_EN_P

CREATE LCase_ID1 LoadCase
Name "Load case 1 (Descript)"
LoadGroupID LG_ID1

CREATE Mem_ID1 Structural_member "HEA 200"
0 0 0
0 0 3000

CREATE PLoad_ID1 NodeForce LCase_ID1 Mem_ID1 local
0 0 3000
-100 0 0
0 0 0

SET PLoad_ID1 Name "New name"
SET PLoad_ID1 X 10
SET PLoad_ID1 Y 20
SET PLoad_ID1 Z 30
SET PLoad_ID1 MX 40
SET PLoad_ID1 MY 50
SET PLoad_ID1 MZ 60
SET PLoad_ID1 MulFac 2
SET PLoad_ID1 EccType EccType_BL
SET PLoad_ID1 EccY 7
SET PLoad_ID1 EccZ 8

Line load

Available object attributes:

Object attribute nameObject attribute (type this into Descript)Value format
NameNameString
X force component at reference point 1X1Numerical
Y force component at reference point 1Y1Numerical
Z force component at reference point 1Z1Numerical
X force component at reference point 2X2Numerical
Y force component at reference point 2Y2Numerical
Z force component at reference point 2Z2Numerical
Multiplication factorMulFacNumerical
Reference point 1End1Predefined strings
Reference point 2End2Predefined strings
Distance 1Pos1Numerical
Distance 2Pos2Numerical
Eccentricity referenceEccTypePredefined strings
Eccentricity - yEccYNumerical
Eccentricity - zEccZNumerical

Reference point 1:

Valid inputs:
  • EndA (or 0) → from end A
  • EndB (or 1) → from end B

Reference point 2:

Valid inputs:
  • EndA (or 0) → from end A
  • EndB (or 1) → from end B
  • Relative (or 2) → Relative

Eccentricity reference:

Valid inputs:
Eccentricity reference nameEccentricity reference (type this into Descript)
Reference line (0)EccType_C
Bottom Left (1)EccType_BL
Bottom Middle (2)EccType_BM
Bottom Right (3)EccType_BR
Middle Left (4)EccType_ML
Middle Middle (5)EccType_MM
Middle Right (6)EccType_MR
Top Left (7)EccType_TL
Top Middle (8)EccType_TM
Top Right (9)EccType_TR

Sample code

All available attributes + object creation:

LOAD_SECTION_LIBRARY Sec_ID1 "HEA 200"

LOAD_SECTION_LIBRARY Sec_ID1 "IPE 200"

CREATE LG_ID1 LoadGroup
Name "Permanent (Descript)"
LoadGroupType LGType_EN_P

CREATE LCase_ID1 LoadCase
Name "Load case 1 (Descript)"
LoadGroupID LG_ID1

CREATE Mem_ID1 Structural_member "IPE 200"
0 0 0
3000 0 0

CREATE LLoad_ID1 MemberForce LCase_ID1 Mem_ID1 local
0 1
200 400
0 0 -10
0 0 -12

SET LLoad_ID1 Name "New name"
SET LLoad_ID1 X1 1
SET LLoad_ID1 Y1 2
SET LLoad_ID1 Z1 3
SET LLoad_ID1 X2 4
SET LLoad_ID1 Y2 5
SET LLoad_ID1 Z2 6
SET LLoad_ID1 MulFac 2
SET LLoad_ID1 End1 EndA
SET LLoad_ID1 End2 Relative
SET LLoad_ID1 Pos1 500
SET LLoad_ID1 Pos2 2000
SET LLoad_ID1 EccType EccType_BR
SET LLoad_ID1 EccY 20
SET LLoad_ID1 EccZ 40