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);
}