<?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: How to create multiple parametric components using python scripting in AutoCAD Plant 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11538644#M14670</link>
    <description>&lt;P&gt;Yes, for each support type, you will need a new python file. Each time you put a new python file in the Custom Scripts folder, you must run the PlantRegisterCusomtScripts command in P3D. Then close and re-open P3D to test your new python file. If you get an error in the PlantRegisterCustomScripts command, you will need to troubleshoot your latest file to determine where the error is coming from.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 14:44:55 GMT</pubDate>
    <dc:creator>matt.worland</dc:creator>
    <dc:date>2022-11-08T14:44:55Z</dc:date>
    <item>
      <title>How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11532635#M14665</link>
      <description>&lt;P&gt;Hai team,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I'm a beginner in plant 3D custom parametric component creation using python scripting. I'm facing difficulties in creating multiple components using scripting. In&amp;nbsp;AutoCAD Plant 3D 2023 Content\CPak Common\custom script folder&amp;nbsp; I could create one component at a time, if I go for another component, it shows error. So, how can I create multiple components in plant 3D using scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 09:07:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11532635#M14665</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-05T09:07:23Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11535394#M14666</link>
      <description>&lt;P&gt;dear &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12575347"&gt;@tinuthomasGE9RJ&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes, that's the way it's meant to be.&lt;/P&gt;
&lt;P&gt;You can add some parameters to the script but they will only refer to one component.&lt;/P&gt;
&lt;P&gt;There are no multicomponent Python scripts in AutoCAD Plaant 3D.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:21:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11535394#M14666</guid>
      <dc:creator>h_eger</dc:creator>
      <dc:date>2022-11-07T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11535415#M14667</link>
      <description>&lt;P&gt;I created a new component using scripting under custom script folder. If I need a new component again by scripting how I will create, or it is not possible?? I tried to create one new script and I put it inside custom script with older script (because I need both components) but after registering and testing the older component is missing from my catalog,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11535415#M14667</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-07T09:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11536098#M14668</link>
      <description>&lt;P&gt;Each script is meant for one inline P3D part. You can have multiple shapes that create a single part, but when you go to place the shape in P3D it all needs to be called from a single python file.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This link shows an example of creating several Box and Cylinder shapes and a custom bolt shape to create a support. It is built from two python files and shows how to use two python files in a single python file. This will allow you to create many shapes but use only one python file for your P3D part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/48369585/create-custom-component-in-plant3d-with-python" target="_blank"&gt;https://stackoverflow.com/questions/48369585/create-custom-component-in-plant3d-with-python&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 15:15:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11536098#M14668</guid>
      <dc:creator>matt.worland</dc:creator>
      <dc:date>2022-11-07T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11537587#M14669</link>
      <description>&lt;P&gt;sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; this post was very helpful for me in making a support with different parts, I need to know how I create different supports. There are number of supports, flanges, olets etc. is there inside a catalogue, I like to create a catalogue containing components which is created using scripting. I created one new component inside custom script folder, if I need to create a new component again how I will create it?? I tried like; created a new python script for my new component and placed it in Custom Script folder with the previously created component. but it is not working. so how I handle this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 05:24:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11537587#M14669</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-08T05:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11538644#M14670</link>
      <description>&lt;P&gt;Yes, for each support type, you will need a new python file. Each time you put a new python file in the Custom Scripts folder, you must run the PlantRegisterCusomtScripts command in P3D. Then close and re-open P3D to test your new python file. If you get an error in the PlantRegisterCustomScripts command, you will need to troubleshoot your latest file to determine where the error is coming from.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 14:44:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11538644#M14670</guid>
      <dc:creator>matt.worland</dc:creator>
      <dc:date>2022-11-08T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11540173#M14671</link>
      <description>&lt;P&gt;I tried like this only, but after creating second component the first one is not available for use. why it's happening? And the .Png files (32,64,200); how we will distribute for each component in same folder (Custom Script folder)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 04:53:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11540173#M14671</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-09T04:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11541265#M14672</link>
      <description>&lt;P&gt;In your CustomScripts folder, you should have a PY file for each python script and the accompanying PNG files. Then after a successful PlantRegisterCustomScripts run, you will get an XML named the same as your PY file and&amp;nbsp;in the _pycahce_ folder, you have a PYC for each python script.&amp;nbsp; After the prcs command, you will also get a ScriptGroup.xml, variants.map, and variants.xml files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You only need to test each file once, after it succeeds, you need to add it to your catalog and spec to insert it as a standard component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check through the helpful links provided in your other posts as they explain how to create a python component. Then get one item working from the beginning through inserting it from a spec. Once you have that working, move on to the next component. Without files or screenshots its hard to tell what you have done.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 15:44:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11541265#M14672</guid>
      <dc:creator>matt.worland</dc:creator>
      <dc:date>2022-11-09T15:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11542830#M14673</link>
      <description>&lt;P&gt;Thank you for reply.....Actually i"m getting the components but the preview images are not available;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below shows how i saved inside custom scripts;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tinuthomasGE9RJ_0-1668062327809.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1138119iBD3F09D2A82372B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tinuthomasGE9RJ_0-1668062327809.png" alt="tinuthomasGE9RJ_0-1668062327809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Spec Editor;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tinuthomasGE9RJ_1-1668062426912.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1138120i09BC983309D89E3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tinuthomasGE9RJ_1-1668062426912.png" alt="tinuthomasGE9RJ_1-1668062426912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;why this happening??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 06:42:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11542830#M14673</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-10T06:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11544133#M14674</link>
      <description>&lt;P&gt;That looks semi-correct with a bit of guessing.&lt;/P&gt;&lt;P&gt;I'm not sure what the extensions are for your expansion joint images. Some of your files have extensions showing while others don't, and I'm guessing that if you turn on extensions for your files, you will see that some have duplicate extensions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turn on your extensions here:&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-11-10_9-19-35.png" style="width: 467px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1138343i5D8C7E486EBE35D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-11-10_9-19-35.png" alt="2022-11-10_9-19-35.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then make sure that your PY and PNG file names are exactly the same, with the exception of the _size at the end of the images.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should have the following:&lt;/P&gt;&lt;P&gt;EXPJOINT1.py&lt;/P&gt;&lt;P&gt;EXPJOINT1.xml&lt;/P&gt;&lt;P&gt;EXPJOINT1_32.png&lt;/P&gt;&lt;P&gt;EXPJOINT1_64.png&lt;/P&gt;&lt;P&gt;EXPJOINT1_200.png&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I'm aware, it only takes a matching _200.png file to be found, so the image shows in the Spec and Catalog.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 16:28:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11544133#M14674</guid>
      <dc:creator>matt.worland</dc:creator>
      <dc:date>2022-11-10T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11545339#M14675</link>
      <description>&lt;P&gt;it's working thankyou sir.........&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 04:22:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11545339#M14675</guid>
      <dc:creator>tinuthomasGE9RJ</dc:creator>
      <dc:date>2022-11-11T04:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11546165#M14676</link>
      <description>&lt;P&gt;Glad to hear it. Also, be cautious of case-sensitive names; make sure everything is EXACTLY the same.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/11546165#M14676</guid>
      <dc:creator>matt.worland</dc:creator>
      <dc:date>2022-11-11T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13441553#M14677</link>
      <description>&lt;P&gt;I am trying to create a support in using python script.&lt;BR /&gt;I had written the code, and its working fine shape is created when I checked it in plant3D. But the group type support is not visible in spec.&lt;BR /&gt;How can I solve this.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 05:12:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13441553#M14677</guid>
      <dc:creator>shreya_valte</dc:creator>
      <dc:date>2025-04-24T05:12:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13441579#M14678</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15624622"&gt;@shreya_valte&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please describe the whole process of how you compile your Python script and add it to the support catalogue so that you can then assign it in the support spec so that you can use this component in P3D?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 05:30:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13441579#M14678</guid>
      <dc:creator>h_eger</dc:creator>
      <dc:date>2025-04-24T05:30:45Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to create multiple parametric components using python scripting</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13749707#M61264</link>
      <description>&lt;P&gt;how to give tag number to support, I know its possible using .net API but this tag number will go from python script, so how can i assign that tag to that support and then using .net reflect it in properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 10:36:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-create-multiple-parametric-components-using-python/m-p/13749707#M61264</guid>
      <dc:creator>shreya_valte</dc:creator>
      <dc:date>2025-08-01T10:36:14Z</dc:date>
    </item>
  </channel>
</rss>

