<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: (API) Get panel properties C# in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13301160#M858</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11336336"&gt;@eng_leandromartins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can retrieve any &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/rounding-up-coordinates-api/td-p/13211276" target="_blank" rel="noopener"&gt;rounding method&lt;/A&gt; from a &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/useful-addins-for-robot-api/m-p/13211342" target="_blank" rel="noopener"&gt;useful add-in.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Generally, segments of a contour can be accessed as follows:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim Obj As RobotObjObject, ContourGeometry As RobotGeoContour, Segments As RobotGeoSegmentCollection, Segment As RobotGeoSegment
If Obj.Main.GetGeometry.Type = I_GOT_CONTOUR Then
  Set ContourGeometry = Obj.Main.GetGeometry
  Set Segments = ContourGeometry.Segments
  For i = 1 To Segments.Count
    Set Segment = Segments.Get(i)
    With Segment.P1: Cells(row, 4) = .X: Cells(row, 5) = .Y: Cells(row, 6) = .Z: row = row + 1: End With
    If Segment.Type = I_GST_ARC Then
      With Segment.P2: Cells(row, 4) = .X: Cells(row, 5) = .Y: Cells(row, 6) = .Z: row = row + 1: End With
    End If
  Next i
End If&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 02 Oct 2025 05:43:55 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2025-10-02T05:43:55Z</dc:date>
    <item>
      <title>(API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13268171#M853</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I've seen several posts, but I couldn't find any that explained how to get the nodes and thicknesses of the contours or floors.&lt;BR /&gt;I would like it to be a loop that goes through all the selected panels.&lt;BR /&gt;I've seen a few, but it seems like the codes don't work anymore.&lt;BR /&gt;Please, if someone can post an example in C#, I would appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 19:49:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13268171#M853</guid>
      <dc:creator>eng_leandromartins</dc:creator>
      <dc:date>2025-01-17T19:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13268317#M854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11336336"&gt;@eng_leandromartins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-edge-nodes-from-contours/m-p/12519573" target="_blank" rel="noopener"&gt;(API) Get edge nodes from contours&lt;/A&gt;,&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-how-can-i-get-the-contour-definition-nodes-of-a-selected/td-p/5960798" target="_blank" rel="noopener"&gt;(API) how can I get the contour definition nodes of a selected panel?&lt;/A&gt;,&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-the-coordinates-of-the-cladding/m-p/9842523" target="_blank" rel="noopener"&gt;(API) - get the coordinates of the cladding&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/vba-excel-macro-for-any-object-geometry-modifications-api/m-p/13202634" target="_blank" rel="noopener"&gt;VBA Excel macro for any object geometry modifications (API)&lt;/A&gt;,&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/panel-contour-points-modification-api/m-p/13202684" target="_blank" rel="noopener"&gt;Panel contour points modification (API)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 05:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13268317#M854</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-10-02T05:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13272120#M855</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I created the code this way. But the point values ​​are giving an error.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;IRobotApplication robotapp = new RobotApplication();
RobotNodeServer robotnode = robotapp.Project.Structure.Nodes;
RobotStructure structure = robotapp.Project.Structure;
RobotObjObjectServer robotObj = structure.Objects;
RobotGeoContour contourGeometry;
RobotGeoSegmentCollection segments;
RobotGeoSegment segment;

RobotSelection objSel, barSel;
barSel = robotapp.Project.Structure.Selections.Get(IRobotObjectType.I_OT_BAR);
objSel = robotapp.Project.Structure.Selections.Get(IRobotObjectType.I_OT_OBJECT);
RobotSelection nsel = structure.Selections.Create(IRobotObjectType.I_OT_NODE);


if (objSel.Count == 0)
{
barSel = robotapp.Project.Structure.Selections.CreateFull(IRobotObjectType.I_OT_BAR);
objSel = robotapp.Project.Structure.Selections.CreateFull(IRobotObjectType.I_OT_OBJECT);
}
objSel.Exclude(barSel);


List&amp;lt;string&amp;gt; panelNumber = lists.ExpandSelList(objSel.ToText());

for (int i = 0; i &amp;lt; panelNumber.Count; i++)
{
int objNumber = int.Parse(panelNumber[i]);
RobotObjObject Obj = (RobotObjObject)robotapp.Project.Structure.Objects.Get(objNumber);
contourGeometry = (RobotGeoContour)Obj.Main.GetGeometry();
segments = (RobotGeoSegmentCollection)contourGeometry.Segments;

for (int j = 0; j &amp;lt; segments.Count; j++)
{
segment = segments.Get(i);
CoordenateX = segment.P1.X;
CoordenateY = segment.P1.Y;
CoordenateZ = segment.P1.Z;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 18:57:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13272120#M855</guid>
      <dc:creator>eng_leandromartins</dc:creator>
      <dc:date>2025-01-20T18:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13272838#M856</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11336336"&gt;@eng_leandromartins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Are all your objects contours?&lt;/LI&gt;
&lt;LI&gt;Do you need to test hosted objects as well?&lt;/LI&gt;
&lt;LI&gt;Are all contours meshed? Do they have nodes?&lt;/LI&gt;
&lt;LI&gt;What types of segments do you want to read coordinates from?&lt;/LI&gt;
&lt;LI&gt;Are you sure you have all the nodes?&lt;/LI&gt;
&lt;LI&gt;You need to convert all dynamic return types from functions; otherwise, you won't be able to access properties.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;A complete program may require 1200 lines of code (excluding classes)&lt;/P&gt;
&lt;P&gt;GetMainNodes collects all peripheral nodes, create groups by categories, is fully functional, fast and free.&lt;/P&gt;
&lt;P&gt;Developing another program does not seem necessary, as the specific details of what the program should do are beyond the scope of using the API.&lt;/P&gt;
&lt;P&gt;Note that an Excel file with freely modifiable macros is provided, which can serve as an example of integration for your programs.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 06:00:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13272838#M856</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-01-21T06:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13301134#M857</link>
      <description>&lt;P&gt;Sorry for the delay in responding &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6876621"&gt;@Stephane.kapetanovic&lt;/a&gt;&amp;nbsp;, I was on vacation and couldn't access my Autodesk account.&lt;/P&gt;&lt;P&gt;I would actually like to access only this information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eng_leandromartins_0-1738757476451.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1463106i3352968877BA74E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eng_leandromartins_0-1738757476451.png" alt="eng_leandromartins_0-1738757476451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 12:11:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13301134#M857</guid>
      <dc:creator>eng_leandromartins</dc:creator>
      <dc:date>2025-02-05T12:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Get panel properties C#</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13301160#M858</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11336336"&gt;@eng_leandromartins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can retrieve any &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/rounding-up-coordinates-api/td-p/13211276" target="_blank" rel="noopener"&gt;rounding method&lt;/A&gt; from a &lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/useful-addins-for-robot-api/m-p/13211342" target="_blank" rel="noopener"&gt;useful add-in.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Generally, segments of a contour can be accessed as follows:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim Obj As RobotObjObject, ContourGeometry As RobotGeoContour, Segments As RobotGeoSegmentCollection, Segment As RobotGeoSegment
If Obj.Main.GetGeometry.Type = I_GOT_CONTOUR Then
  Set ContourGeometry = Obj.Main.GetGeometry
  Set Segments = ContourGeometry.Segments
  For i = 1 To Segments.Count
    Set Segment = Segments.Get(i)
    With Segment.P1: Cells(row, 4) = .X: Cells(row, 5) = .Y: Cells(row, 6) = .Z: row = row + 1: End With
    If Segment.Type = I_GST_ARC Then
      With Segment.P2: Cells(row, 4) = .X: Cells(row, 5) = .Y: Cells(row, 6) = .Z: row = row + 1: End With
    End If
  Next i
End If&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 05:43:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-get-panel-properties-c/m-p/13301160#M858</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-10-02T05:43:55Z</dc:date>
    </item>
  </channel>
</rss>

