API - changing the member buckling coefficient

API - changing the member buckling coefficient

Anonymous
Not applicable
1,272 Views
2 Replies
Message 1 of 3

API - changing the member buckling coefficient

Anonymous
Not applicable

Hi all 

 

I'm developing an API-VB.net code to carry out steel design and i need to modify the buckling length coefficient factor, the code manages to change the value but not the symbol as you can see in the attached photo, moreover, when i run the design, the buckling is assigned as no buckling "X" !! and no length neither the coefficient is identified.. Bellow my code. Great thanks for any help 

 

Dim ROBOT As New RobotOM.RobotApplication

ROBOT.Project.Preferences.SetActiveCode(IRobotCodeType.I_CT_STEEL_STRUCTURES, "EC3")

Dim designlabel As IRobotLabel
Dim RdmMembDefData As IRDimMembDefData
Dim RdmCodeMembDefPar As IRDimMembParamsEC3


designlabel = Label.Create(IRobotLabelType.I_LT_MEMBER_TYPE, "My pars")

RdmMembDefData = designlabel.Data

With RdmMembDefData
.SetStructureSwayYZ(IRDimMembDefBucklingDataType.I_DMDBDT_BUCKLING_Y, 1)
.SetLengthYZUV(IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Y, 5)
.SetStructureSwayYZ(IRDimMembDefBucklingDataType.I_DMDBDT_BUCKLING_Z, 0)
.SetLengthYZUV(IRDimMembDefLengthDataType.I_DMDLDT_LENGTH_Z, 6)
End With

 

RdmCodeMembDefPar = RdmMembDefData.CodeParams
With RdmCodeMembDefPar
.BuckLengthCoeffY = 0.7
.BuckLengthCoeffZ = 0.7
.TubeControl = 1
End With

 

RdmMembDefData.CodeParams = RdmCodeMembDefPar
RdmMembDefData.Type = IRDimMembDefType.I_DMDT_COLUMN
ROBOT.Project.Structure.Labels.Store(designlabel)

 

buckling coef.png

0 Likes
Accepted solutions (1)
1,273 Views
2 Replies
Replies (2)
Message 2 of 3

Rafal.Gaweda
Autodesk Support
Autodesk Support
Accepted solution

Hi @Anonymous

 

It is correctly defined by API - see right hand side screen shot.

Left hand side screen shot shows design results. I do not see any code related to getting steel design results in your post.

In fact there is no buckling in your results because axial force is a tensile (not compression) force on your screen shot.



Rafal Gaweda
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks Rafal  

 
You are absolutely right, the code works well, i checked another element subjected to compression and the buckling length is determined correctly. 
Cheers !!
0 Likes