getting wall reaction N M T with VBA

getting wall reaction N M T with VBA

WALIDGIO
Advocate Advocate
303 Views
2 Replies
Message 1 of 3

getting wall reaction N M T with VBA

WALIDGIO
Advocate
Advocate

Hello,

I would like to retrieve the Reactions of RC walls from RSA into Excel using VBA. Could someone please guide me on how to achieve this? Thank you!

 

WALIDGIO_0-1733953627422.png

 

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

Romanich
Mentor
Mentor
Accepted solution

Hi @WALIDGIO ,

 

Please check the code below:

Sub RedPanel()
Dim RobApp As New RobotApplication


Dim CutNo As IRobotFeResultReducedCutPosition
CutNo = I_FRRCP_HORIZONTAL_BOTTOM

Dim PanelNo As Long
PanelNo = 1

Dim CaseNo As Long
CaseNo = 2

Dim serv As IRobotFeResultReduced
Set serv = RobApp.Project.Structure.Results.FiniteElems.Reduced(PanelNo, CutNo, CaseNo)

TRy = Round(serv.TY / 1000, 0) 'kN

Set RobApp = Nothing
End Sub

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


Message 3 of 3

WALIDGIO
Advocate
Advocate

Thank you so much for your answer @Romanich 

0 Likes