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: 

Reduced forces and moments of a panel cut with Robot API

8 REPLIES 8
Reply
Message 1 of 9
LuisCRodrigues
1525 Views, 8 Replies

Reduced forces and moments of a panel cut with Robot API

I'm trying to make a macro using Robot API to get the reduced forces and moments of panel cuts.

The idea is to make some cuts along a panel and get the reduced forces and moments for all combinations.

 

Does any one has a small sample of code to get the reduced forces and moments of a panel cut?

 

Thanks in advance.

 

 

8 REPLIES 8
Message 2 of 9

Hi

 

For any arbitrary panel cut it is not possible - you can only display this value on screen

 

Dim PanelCut As RobotPanelCut
Set PanelCut = RobApp.Project.Structure.Results.FiniteElems.PanelCuts.Create
PanelCut.DefinitionType = I_PCDT_FULL_PLANE
PanelCut.Point1.Set 0, 2, 0
PanelCut.Point2.Set 2, 0, 0
PanelCut.Point3.Set 2, 0, 2


RobApp.Project.Structure.Results.FiniteElems.PanelCuts.Store PanelCut, "pc"
PanelCut.Active = True


Dim RView As IRobotView3
Set RView = RobApp.Project.ViewMngr.GetView(1)
RView.Projection = I_VP_3DXYZ
RView.ParamsPanelCut.CurrentResult = I_VFMRT_DETAILED_MOMENT_XX
RView.ParamsPanelCut.IntegralValue = True
RView.ParamsPanelCut.Position = I_VDPT_NORMAL
RView.ParamsPanelCut.Smoothing = I_VFMST_SMOOTHING_WITH_PANEL
RView.ParamsPanelCut.Layer = I_VFMLT_MIDDLE
RView.ParamsPanelCut.Descritpions = I_VDDT_LABELS
RView.ParamsPanelCut.Filling = I_VDFT_FILLED
RView.Redraw 1

 

or you can get Reduced force for predefined cuts (available in Reduced Results table)

 

Dim ReResults As RobotFeResultReduced
Set ReResults = RobApp.Project.Structure.Results.FiniteElems.Reduced(panel_number, I_FRRCP_HORIZONTAL_MIDDLE, case_number)

ReducedMy = ReResults.MY

 

reduced.jpg



Rafal Gaweda
Message 3 of 9

What I wanted to achieve was getting the forces along a beam defined as a panel.

 

For beams defined as bars, I have made a Macro that is working ok. It reads the forces in some points along the bar and writes in Excel the maximums and minimums values as long as other information.

 

I tough that making cuts along a panel I could get the same information.

 

Do you know another way of getting the reduced forces along the panel?

Message 4 of 9
daniel8427
in reply to: LuisCRodrigues

I am also interested in getting user defined Panel Cut Integral Values (MXX, MYY) out of Robot via API. I see that some years ago it was not possible. Is it possible today in Robot 2016?

 

Best Regards

Daniel

Message 5 of 9
Rafal.Gaweda
in reply to: daniel8427

Not implemented yet


Rafal Gaweda
Message 6 of 9
daniel8427
in reply to: Rafal.Gaweda

Thank you for the answer.

 

Daniel

Message 7 of 9

Any updates on this? Or possible alternative approaches?

Message 8 of 9

@Rafal.Gaweda do you know why after recalculating robot values taken by api for reduced results for panels do not match values shown in Robot? 

I have python script in Dynamo that take reduced results. When I open Dynamo and robot for the first time and run script results match those in robot. However when i change something in definition of panel or i change loads and run script for the second time results are not matching. Any ideas? Can i somehow update results or refresh them? is there any method for this?

Message 9 of 9

Is there any news on this topic?
Is it still not possible to get the reduced forces/moments of a panel cut via API?

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

Post to forums