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) Get local axis of finite elements

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
Anonymous
2279 Views, 10 Replies

(API) Get local axis of finite elements

example.pngHi,

 

in the forum there is an example where you can get finite element results via API using an excell file and VBA.

Is there a possibility to get the orientation vectors for the local element system of the finite elements via API.

 

 

 

10 REPLIES 10
Message 2 of 11
Rafal.Gaweda
in reply to: Anonymous

No.


Rafal Gaweda
Message 3 of 11
Anonymous
in reply to: Rafal.Gaweda

Hi Rafal, thanks for the answer. In my company we are trying to make an interface to Robot that would take nodes, finite element results for panels modelled in Robot and do reinforced concrete design in an home made application that has been used for the last 25 years, to design offshore gravity based structures. A similar interface exits for ANSYS. It seems that getting the orientation vectors for the local element system of the finite elements is not implemented in the API. If we have a simple panel let`s say a shear wall is there a possibility to get the orientation vectors of the panel local system? Thanks in advance, Alexander Ziotopoulos Multiconsult ASA www.multiconsult.no
Message 4 of 11
Rafal.Gaweda
in reply to: Anonymous

But you will not get FE results in native FE LCS.
Results are always projected due to results presentation settings RobotFeResultsParams.SetDirX ; if not set - "Automatic" (= along panel X LCS) direction is considered.
If you want to consider "flat panel" + results presented in Automatic way you can take panel LCS


Rafal Gaweda
Message 5 of 11
Rafal.Gaweda
in reply to: Anonymous

You may try - 1 FE = 1 panel and get LCS of this panel

 

I am attaching macro for creation panel for every single FE (make FE selection in Robot)

NOTE : huge number of panels in model reduces Robot performance, so be carefull using this approach on ALL (large number of) FEs in model

 



Rafal Gaweda
Message 6 of 11
Anonymous
in reply to: Rafal.Gaweda

Thanks Rafal,

 

you mention ''If you want to consider "flat panel" + results presented in Automatic way you can take panel LCS``.

Is there a method doing that via API? Is it possible to provide an example how to take out vectors for Local axis X,Y,Z for a flat panel. That would simplify

the whole process a lot.

 

Thanks in advance,

 

Alexander Ziotopoulos

 

Multiconsult ASA

www.multiconsult.no 

Message 7 of 11
Rafal.Gaweda
in reply to: Anonymous

Public Sub CommandButton1_Click()

Dim RobApp As New RobotApplication

    Cells(5, 1) = "Project"
    Cells(5, 2) = RobApp.Project.Name
 
    
    Dim RSel As RobotSelection
    Set RSel = RobApp.Project.Structure.Selections.CreateFull(I_OT_PANEL)
    Dim PanelCol As RobotObjObjectCollection
    Set PanelCol = RobApp.Project.Structure.Objects.GetMany(RSel)
    
    Dim X As RobotGeoPoint3D, Y As RobotGeoPoint3D, Z As RobotGeoPoint3D
    Dim Obj As RobotObjObject
    
    Set X = RobApp.CmpntFactory.Create(I_CT_GEO_POINT_3D)
    Set Y = RobApp.CmpntFactory.Create(I_CT_GEO_POINT_3D)
    Set Z = RobApp.CmpntFactory.Create(I_CT_GEO_POINT_3D)
        
    For ii = 1 To PanelCol.Count
        
        Set Obj = PanelCol.Get(ii)
        Obj.Main.Attribs.GetLCS X, Y, Z
        
        Cells(12 + ii, 3) = Obj.Number
        Cells(12 + ii, 4) = "LCS X=" + Str(X.X) + ";" + Str(X.Y) + ";" + Str(X.Z)
        Cells(12 + ii, 5) = "LCS Y=" + Str(Y.X) + ";" + Str(Y.Y) + ";" + Str(Y.Z)
        Cells(12 + ii, 6) = "LCS Z=" + Str(Z.X) + ";" + Str(Z.Y) + ";" + Str(Z.Z)
        
    Next ii

End Sub


Rafal Gaweda
Message 8 of 11
Rafacascudo
in reply to: Rafal.Gaweda

Hi @Rafal.Gaweda ,

Does this work on Robot 2018 or 2019?

Rafael Medeiros
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 9 of 11
Rafal.Gaweda
in reply to: Rafacascudo

Hi @Rafacascudo

 

Yes.



Rafal Gaweda
Message 10 of 11
Temo_Escudero
in reply to: Anonymous

Hi, @Rafal.Gaweda,  I have a question, is there any way to apply surface loads directly over the finite element in the way the wind pressure analysis does, using the ROBOT API?, I mean, how can I generate such presure maps programatically. Greetings!

Message 11 of 11
Stephane.kapetanovic
in reply to: Anonymous

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

Post to forums  

Autodesk Design & Make Report