Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

(API) VBA ROS - RC Member Design

1 REPLY 1
Reply
Message 1 of 2
Anonymous
260 Views, 1 Reply

(API) VBA ROS - RC Member Design

Hi Rafal,

 

Do you have some code example for RC Member Design?

 

regards

1 REPLY 1
Message 2 of 2
Rafal.Gaweda
in reply to: Anonymous

concrMemberRequiredReinfEngine.Calculate may not work 😞

 

 

Dim Robapp As New RobotApplication

Dim concrCalcEngine As RConcrCalcEngine
Set concrCalcEngine = Robapp.Project.ConcrReinfEngine

Dim concrMemberRequiredReinfEngine As RConcrMemberRequiredReinfEngine
Set concrMemberRequiredReinfEngine = concrCalcEngine.MemberRequiredReinf

' Defining the calculation options

Dim BarRnfParams As RConcrMemberRequiredReinfCalcParams
Set BarRnfParams = concrMemberRequiredReinfEngine.Params

BarRnfParams.BeamPointsType = I_CBCPDT_POINT_COUNT
BarRnfParams.BeamPointsValue = 7

Dim RCULS As RobotSelection
Set RCULS = BarRnfParams.Members
RCULS.FromText "1"

Dim RCMembers As RobotSelection
Set RCMembers = BarRnfParams.Members
RCMembers.FromText "1 2"


'Running the calculations of theoretical areas of reinforcement

If concrMemberRequiredReinfEngine.Calculate = False Then
    MsgBox "Failed!"
Else
    MsgBox "Done!"
End If

 



Rafal Gaweda

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report