<?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) Create Cladding from coordinatres in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13699799#M85004</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13991220"&gt;@heau_a&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the issue you're encountering is unfortunately completely unfamiliar to me.&amp;nbsp;For an unexpected issue that occurred following a recommended automated procedure after forcing an add-in into the Windows registry and renaming it, Autodesk Support will be best placed to assist you.&lt;/P&gt;
&lt;P&gt;If this situation were more common, I’d suggest removing all existing shortcuts and recreating them manually, verifying each one works correctly.&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://help.autodesk.com/view/RSAPRO/2026/ENU/?guid=GUID-D7809B35-8265-4C53-8E0C-1B29836B1734" target="_blank" rel="noopener"&gt;Add-ins Manager Dialog Box&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By the way, we favor a portable architecture for our free standalone executables, meaning no system integration, no third-party dependencies, and no installation required.&lt;/P&gt;
&lt;P&gt;I sincerely hope you're able to find a solution quickly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 07:00:25 GMT</pubDate>
    <dc:creator>Stephane.kapetanovic</dc:creator>
    <dc:date>2025-06-27T07:00:25Z</dc:date>
    <item>
      <title>(API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/7074231#M45849</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;am trying&amp;nbsp;to develop&amp;nbsp;a macro in order to create a cladding from coordinates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I execute this maccro, an error page appears indicating: "Objet requis".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the macro:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sub Create_cladding()&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Dim monobjet As RobotObjObject&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim moncontour As New RobotGeoContour&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim monsegment() As New RobotGeoSegmentLine&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Dim i As Long&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ReDim monsegment(1 To 4)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;monsegment(1).P1.Set 0, 0, 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;moncontour.Add monsegment(1)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monsegment(2).P1.Set 1, 0, 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;moncontour.Add monsegment(2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monsegment(3).P1.Set 1, 1, 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;moncontour.Add monsegment(3)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monsegment(4).P1.Set 0, 1, 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;moncontour.Add monsegment(4)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;moncontour.Initialize&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Set monobjet = robapp.Project.Structure.Objects.Create(1)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Main.Geometry = moncontour&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Main.Attribs.Meshed = False&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Main.Attribs.DirZ = 0 ' axe local&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Main.Attribs.SetDirX I_OLXDDT_CARTESIAN, 1, 0, 0&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Initialize&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;monobjet.Update&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;moncontour.Clear&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Set monobjet = Nothing&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Set moncontour = Nothing&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ReDim monsegment(1 To 1)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Set monsegment(1) = Nothing&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Erwann&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 09:00:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/7074231#M45849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-11T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/7076394#M45850</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Erwann,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code creates Contour (Object).&lt;/P&gt;
&lt;P&gt;You need to apply Cladding Label to this Object&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;RobApp.Project.Structure.Objects.Get(obj_number).SetLabel I_LT_CLADDING, "Two-way"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In French "Two-way" is "Deux directions" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 10:23:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/7076394#M45850</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-11T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9508788#M45851</link>
      <description>&lt;P&gt;Hi Rafal,&lt;BR /&gt;Working in Python sandbox 2.6&lt;/P&gt;&lt;P&gt;I'm trying to apply meshing to the contour in Robot but it isn't working&lt;BR /&gt;Everything else is working fine, labels,etc, just can't convert a contour to the analytic panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;app = RobotApplicationClass()
project = app.Project
structure = project.Structure
labels = structure.Labels
loads = structure.Cases
ProjectPrefs = project.Preferences
bars = structure.Bars
objects = structure.Objects
nodes = structure.Nodes

fn = objects.FreeNumber

points = app.CmpntFactory.Create(IRobotComponentType.I_CT_POINTS_ARRAY)
points.SetSize(4)
points.Set(1,0,0,0)
points.Set(2,1,0,0)
points.Set(3,1,1,0)
points.Set(4,0,1,0)

objects.CreateContour(fn, points)
ro = objects.Get(fn)
ro.Main.Attribs.Meshed = True
ro.SetLabel(IRobotLabelType.I_LT_CLADDING, "Two-way")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 05:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9508788#M45851</guid>
      <dc:creator>daniilZSZ8N</dc:creator>
      <dc:date>2020-05-12T05:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509044#M45852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8151525"&gt;@daniilZSZ8N&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to decide whether You want to have panel (meshed) or cladding.&lt;/P&gt;
&lt;P&gt;Last command is to create cladding.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 07:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509044#M45852</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2020-05-12T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509084#M45853</link>
      <description>&lt;P&gt;Oh, yes, I just wanted to say that none of them are working.&lt;BR /&gt;I tried the way described officially here&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/support/robot-structural-analysis-products/learn-explore/caas/sfdcarticles/sfdcarticles/ROBOT-API-how-to-create-Claddings-from-Contours.html" target="_blank"&gt;https://knowledge.autodesk.com/support/robot-structural-analysis-products/learn-explore/caas/sfdcarticles/sfdcarticles/ROBOT-API-how-to-create-Claddings-from-Contours.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and your code with selecting by type and converting in a loop.&lt;BR /&gt;Nothing. Still contour.&lt;BR /&gt;Can it be the Robot 2020 API issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:11:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509084#M45853</guid>
      <dc:creator>daniilZSZ8N</dc:creator>
      <dc:date>2020-05-12T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509141#M45854</link>
      <description>&lt;P&gt;Boom!&lt;/P&gt;&lt;P&gt;The answer is&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;objects.&lt;SPAN&gt;CreateContour&lt;/SPAN&gt;(fn, points)&lt;BR /&gt;ro = objects.&lt;SPAN&gt;Get&lt;/SPAN&gt;(fn)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ro.Initialize()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;ro.&lt;SPAN&gt;SetLabel&lt;/SPAN&gt;(IRobotLabelType.I_LT_CLADDING,&amp;nbsp;&lt;SPAN&gt;"Two-way"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ro.Update()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="jfk-bubble gtx-bubble"&gt;&lt;DIV class="jfk-bubble-content-id"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowdown"&gt;&lt;DIV class="jfk-bubble-arrowimplbefore"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="jfk-bubble-arrowimplafter"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 May 2020 08:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509141#M45854</guid>
      <dc:creator>daniilZSZ8N</dc:creator>
      <dc:date>2020-05-12T08:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509342#M45855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8151525"&gt;@daniilZSZ8N&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has nothing to do with meshing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 09:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/9509342#M45855</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2020-05-12T09:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12896298#M45856</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i try to convert the contour into cladding, it doesn't work (I tried in C#, maybe in vba it works)&lt;/P&gt;&lt;PRE&gt;RobApp.Project.Structure.Objects.Get(obj_number).SetLabel I_LT_CLADDING, "Two-way"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 04:54:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12896298#M45856</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2024-07-14T04:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12896447#M45857</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11888083"&gt;@durducgeorge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub AssignCladdingDiectionToContour()
  Dim RobApp As IRobotApplication: If NotReady(RobApp) Then Exit Sub

  Dim obj As RobotObjObject
  Set obj = RobApp.Project.Structure.Objects.Get(obj_number)
  obj.SetLabel I_LT_CLADDING, "Direction X"
  obj.Update

  RobApp.Project.ViewMngr.Refresh

  Set RobApp = Nothing
End Sub&lt;/LI-CODE&gt;&lt;LI-CODE lang="csharp"&gt;RobotApplication RobApp = new RobotApplication();
RobotObjObject obj = (RobotObjObject)RobApp.Project.Structure.Objects.Get(obj_number);
obj.SetLabel(IRobotLabelType.I_LT_CLADDING, "Direction Y");
obj.Update();
RobApp.Project.ViewMngr.Refresh();&lt;/LI-CODE&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 08:10:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12896447#M45857</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2024-07-14T08:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12904168#M45858</link>
      <description>&lt;P&gt;Hello S.Kapetanovic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! It works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 02:45:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/12904168#M45858</guid>
      <dc:creator>durducgeorge</dc:creator>
      <dc:date>2024-07-18T02:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13695945#M84981</link>
      <description>&lt;P&gt;Hello Mr.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;kapetanovic,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I'm reaching you regarding an issue that I encoutered when I tried to apply claddings to some coordinates from a CSV file. Explaining from scratch, I have a csv file with lines giving id type and coordinates of each pieces and as a test we assume that they were all claddings. The goal was to transform it as a list of sublists of each materials and apply the claddings on each. Therefore, I used Dynamo in Robot directly to try Python Scripts but I had so many problems with RobotOM and class usage. I don't know if the best option is to create directly a Robot Add-On or to try again via Dynamo Python and instanciate a new Robot cause I saw on internet that it was impossible to save an old instance of Robot and that we were forced to do &lt;EM&gt;&lt;STRONG&gt;RobotApplicationClass().&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&lt;STRONG&gt;I can give you an example of my code so you can analyse me errors for now and tell me what could be improved cause actually I have a lot of problems and tried a lot of things to make it work.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import clr
clr.AddReference('Interop.RobotOM')
import RobotOM
import time

# Entrée : liste de claddings sous forme [ID, label, x1, y1, z1, x2, y2, z2, ..., xn, yn, zn]
liste_claddings = IN[0]

# Nouvelle instance de Robot
robot = RobotOM.RobotApplicationClass()
robot.Visible = True
robot.Project.New(RobotOM.IRobotProjectType.I_PT_FRAME_3D)
time.sleep(0.5)

structure = robot.Project.Structure
objects = structure.Objects
factory = robot.CmpntFactory

results = []

def get_free_object_id(start=1):
    free_id = start
    while True:
        try:
            if objects.Get(free_id):
                free_id += 1
            else:
                return free_id
        except:
            return free_id

for ligne in liste_claddings:
    try:
        ID = int(ligne[0])
        nom = ligne[1]
        coords = ligne[2:]

        if len(coords) &amp;lt; 9 or len(coords) % 3 != 0:
            results.append(f"Cladding {ID} ignoré : mauvais nombre de coordonnées")
            continue

        nb_pts = len(coords) // 3
        pts = factory.Create(RobotOM.IRobotComponentType.I_CT_POINTS_ARRAY)
        pts.SetSize(nb_pts)

        for i in range(nb_pts):
            x, y, z = coords[i*3], coords[i*3+1], coords[i*3+2]
            pts.Set(i + 1, x, y, z)

        obj_id = get_free_object_id(ID)
        objects.CreateContour(obj_id, pts)

        obj = objects.Get(obj_id)
        if nom and structure.Labels.IsAvailable(RobotOM.IRobotLabelType.I_LT_CLADDING, nom):
            obj.SetLabel(RobotOM.IRobotLabelType.I_LT_CLADDING, nom)
        obj.Update()

        results.append(f"Cladding {ID} créé")
    except Exception as e:
        results.append(f"Erreur cladding {ligne[0]} : {str(e)}")

OUT = results&lt;/LI-CODE&gt;&lt;P&gt;This code may seem good but after the execution I'm gonna have the error "Unable to find reference interop robot om " even I have the dll file and after fixed it they say the SetSize is not usable for this class object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;M.G&lt;/P&gt;&lt;DIV class=""&gt;&lt;A href="https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/7074231#" target="_blank" rel="noopener"&gt;Preview&lt;/A&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Jun 2025 15:13:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13695945#M84981</guid>
      <dc:creator>heau_a</dc:creator>
      <dc:date>2025-06-24T15:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696011#M84982</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13991220"&gt;@heau_a&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried looking at more specialized &lt;A style="font-family: inherit; background-color: #ffffff;" href="https://forum.dynamobim.com/" target="_blank" rel="noopener"&gt;forums&lt;/A&gt;&lt;SPAN&gt; focused on Python and Dynamo?&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://forum.dynamobim.com/" target="_blank" rel="noopener"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please note that this forum is not intended for troubleshooting or support related to software installation and system configuration.&lt;/P&gt;
&lt;P&gt;The issue you're encountering (&lt;EM&gt;'Unable to find reference interop RobotOM'&lt;/EM&gt;) is not directly related to the API itself, but most likely stems from how the RobotOM library is linked or registered within your development environment, particularly the integration between Python, Dynamo, and your IDE.&lt;/P&gt;
&lt;P&gt;Make sure the RobotOM COM library is properly registered and accessible from your scripting environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, ensure that the Robot installation path is either included in your system PATH environment variable or explicitly added within your script before attempting to load the COM object.&lt;/P&gt;
&lt;P&gt;However, you will find several threads here discussing Python, such as which version to use, common issues with COM type casting in Python, and even some complete working scripts.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 10:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696011#M84982</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-06-25T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696069#M84984</link>
      <description>&lt;P&gt;Yes already try this forum, two topics of 2018 and 2022 without any response...&lt;/P&gt;&lt;P&gt;We also think that it could be due to Dynamo link with Robot and will try SDK addin instead.&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 16:11:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696069#M84984</guid>
      <dc:creator>heau_a</dc:creator>
      <dc:date>2025-06-24T16:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696126#M84985</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13991220"&gt;@heau_a&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don’t know your industry well, but what you’re doing is quite simple from a programming point of view.&amp;nbsp;However, the chosen approach may introduce unnecessary complexity. While the example code can help you understand how Dynamo works, it’s worth evaluating whether this setup is truly the most efficient for your goals.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 11:02:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13696126#M84985</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-06-25T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13699786#M85003</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm reaching you cause I've been programming an Add-In recently for a purpose and everything was working well before I decided to change the name from MyAddin to my custom name. The fact is that I thought everything will be fine I could just delete one and install the new one with the different name. But, since I did that when I add the new one I have 2 add-in with some japanese characters. The fact is one is blocked I can't do anything and the other one is linked, as you can see in the photo but I have my function but it's not usable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heau_a_0-1750952911960.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547046iC53577883BFB1219/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heau_a_0-1750952911960.png" alt="heau_a_0-1750952911960.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So yeah I'm a bit upset cause I shouldn't change the name and I saw on some posts that it was an option with the regedit that saved the old addins names and GUID. I did everything trying to delete old GUID Assembly Keys and assign a new one but nothing changed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:51:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13699786#M85003</guid>
      <dc:creator>heau_a</dc:creator>
      <dc:date>2025-06-26T15:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: (API) Create Cladding from coordinatres</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13699799#M85004</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13991220"&gt;@heau_a&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the issue you're encountering is unfortunately completely unfamiliar to me.&amp;nbsp;For an unexpected issue that occurred following a recommended automated procedure after forcing an add-in into the Windows registry and renaming it, Autodesk Support will be best placed to assist you.&lt;/P&gt;
&lt;P&gt;If this situation were more common, I’d suggest removing all existing shortcuts and recreating them manually, verifying each one works correctly.&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://help.autodesk.com/view/RSAPRO/2026/ENU/?guid=GUID-D7809B35-8265-4C53-8E0C-1B29836B1734" target="_blank" rel="noopener"&gt;Add-ins Manager Dialog Box&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By the way, we favor a portable architecture for our free standalone executables, meaning no system integration, no third-party dependencies, and no installation required.&lt;/P&gt;
&lt;P&gt;I sincerely hope you're able to find a solution quickly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 07:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-create-cladding-from-coordinatres/m-p/13699799#M85004</guid>
      <dc:creator>Stephane.kapetanovic</dc:creator>
      <dc:date>2025-06-27T07:00:25Z</dc:date>
    </item>
  </channel>
</rss>

