<?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 Import a sheet metal style in iLogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4418185#M128390</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you anyone could help me with importing a sheet metal style (STYLENAME.styxml) into a sheet metal part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to automatically import the style using an iLogic script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2013 15:31:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-11T15:31:47Z</dc:date>
    <item>
      <title>Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4418185#M128390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you anyone could help me with importing a sheet metal style (STYLENAME.styxml) into a sheet metal part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to automatically import the style using an iLogic script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 15:31:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4418185#M128390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-11T15:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4424971#M128391</link>
      <description>&lt;P&gt;Any idea would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I have gone to this solution:&lt;/P&gt;&lt;P&gt;1- Copy an existing sheet metal style&lt;/P&gt;&lt;P&gt;2- Modify the parameters to my own style&lt;/P&gt;&lt;P&gt;(Using the code provided in the help- Attched here)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is the materials. I have a custom aluminum in my original style that I can't create/import. Is tehre a way to import or mody an existing material in iLogic code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4424971#M128391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-13T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4430081#M128392</link>
      <description>&lt;P&gt;I have got ths for material creation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub Main
CreateMaterial 
End Sub 
Public Sub CreateMaterial()
    ' Set a reference to the part document.
    ' This assumes a part document is active.
    Dim oPartDoc As PartDocument
    Set oPartDoc = ThisApplication.ActiveDocument

    ' Create a new material.
    Dim oNewMaterial As Material
    Set oNewMaterial = oPartDoc.Materials.Add("My Material", 11.37)
    
    ' Define the other properties of the material
    oNewMaterial.LinearExpansion = 5.73
    oNewMaterial.PoissonsRatio = 0.38
    ' Arbitrarily assigns the first render style in the render styles collection.
    oNewMaterial.RenderStyle = oPartDoc.RenderStyles.Item(1)
    oNewMaterial.SpecificHeat = 124.3
    oNewMaterial.ThermalConductivity = 310.2
    oNewMaterial.UltimateTensileStrength = 210.45
    oNewMaterial.YieldStrength = 185.5
    oNewMaterial.YoungsModulus = 76.37
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But importing the styxml file would have been much easier!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Please!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 16:57:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4430081#M128392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-16T16:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4450229#M128393</link>
      <description>Hi rc3ng,&lt;BR /&gt;&lt;BR /&gt;The loading/importing styxml is still a wish which has not been implemented. Sorry if this is bad news for you. The wish number is: 667891. &lt;BR /&gt;</description>
      <pubDate>Tue, 24 Sep 2013 02:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4450229#M128393</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2013-09-24T02:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4453993#M128394</link>
      <description>Thanks for your tip! Now I can stop wondering around to find a command that does not exist yet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 25 Sep 2013 02:36:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4453993#M128394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-25T02:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4844743#M128395</link>
      <description>Is this true of all .styxml's, or only sheet metal styles? I'm trying to import a custom unfold style via iLogic.</description>
      <pubDate>Thu, 27 Feb 2014 17:37:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/4844743#M128395</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2014-02-27T17:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sheet metal style in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/5220849#M128396</link>
      <description>&lt;P&gt;Xiaodong Liang, i can't find this Wish number in the Ideastation, can you provide a link.&lt;/P&gt;&lt;P&gt;Rob.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 06:34:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/import-a-sheet-metal-style-in-ilogic/m-p/5220849#M128396</guid>
      <dc:creator>VdVeek</dc:creator>
      <dc:date>2014-08-19T06:34:58Z</dc:date>
    </item>
  </channel>
</rss>

