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: 

Robot API - How to get bar 3d geometry or bar section shape

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
183 Views, 0 Replies

Robot API - How to get bar 3d geometry or bar section shape

Hello,

I am trying to export geometry from Autodesk Robot to my 3d mesh format and visualise it. Is there any posibility to get geometry of the bar - but the geometry of the profile sketch?

 

I also tried to get shape of the section profile but only function i have found is the function which draws section in windows forms window. I need section polyline to extrude this into 3d geometry.

 

 

 

 var robapp = new RobotOM.RobotApplication();

                var robotBars = robapp.Project.Structure.Bars.GetAll();

                for (int i = 1; i <= robotBars.Count; i++)
                {
                    var robotBar = robotBars.Get(i) as RobotOM.IRobotBar;
                    var sectionLabel = robotBar.GetLabel(RobotOM.IRobotLabelType.I_LT_BAR_SECTION);
                    var section = sectionLabel.Data as RobotOM.IRobotBarSectionData;

                    // This function draws symbo in window but i need something like  var polyline = section.GetSectionPolyline();
                    section.DrawSymbol((int)this.Handle, 50, 50, 200, 200); 
                   
                }

 

 

 

 

Labels (1)
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report