<?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: Design Assistant - VBA/iLogic to copy Iproperties in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7104518#M72402</link>
    <description>&lt;P&gt;MechMachineMan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Couple of things, properties of the model are pulled in in some applications. (Material, Description, Filename)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The properties that I'm trying to automatically copy are drawing title block specific and don't pertain to parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;Designed By&lt;/P&gt;&lt;P&gt;Drawn By&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Rev&lt;/P&gt;&lt;P&gt;Customer Info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other thing I would like to do is have it copy over to any open .idw regardless of name. Usually my files will be names $T - CAPE SOUTH.idw for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try your code today when I have some down time and see what I can make of it. Thanks again!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 11:30:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-24T11:30:38Z</dc:date>
    <item>
      <title>Design Assistant - VBA/iLogic to copy Iproperties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7094469#M72336</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me preface by saying I am an amateur at code. I have started reading some books to help me out and trying some things on my own.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll spare you my life story and tell you what I'm looking to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I work, we use 1-5 different .idw pages to detail out our products. We have iProperties set up on each page to fill in the title block. When it is time to upload a drawing to be checked or completed, we typically have to go through the Design assistant and click about 13 different check boxes to copy all of the iProperties over to the other 3-4 drawing pages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way? Can a macro be written that would get the iProperties from "T.idw" and copy it to "N.idw", "S.idw", "A.idw", and "D.idw" either by Design Assistant or just brute force writing to each open document? Would some type of global template be better suited to the task? Any idea/solution would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, maybe one day with enough training I can help solve problems as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Gabe&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 02:10:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7094469#M72336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T02:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Design Assistant - VBA/iLogic to copy Iproperties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7095641#M72348</link>
      <description>&lt;P&gt;1) Why aren't your templates just pulling from the model file that's placed in them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Yes. Depending what files and your naming structure of them, it would just be something simple like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub Main()&lt;BR /&gt;    Dim oDocA As Document
    oDocA = ThisApplication.Document.Open("C:\T.idw")

    Dim oDocB As Document
    oDocB= ThisApplication.Document.Open("C:\F.idw")

    oDocB.PropertySets("Design Tracking Properties")("Stock Number").Value = _
    oDocA.PropertySets("Design Tracking Properties")("Stock Number").Value&lt;BR /&gt;&lt;BR /&gt;    oDocA.Save&lt;BR /&gt;    oDocA.Close&lt;BR /&gt;&lt;BR /&gt;    oDocB.Save&lt;BR /&gt;    oDocB.Close&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 14:17:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7095641#M72348</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-05-19T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Design Assistant - VBA/iLogic to copy Iproperties</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7104518#M72402</link>
      <description>&lt;P&gt;MechMachineMan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Couple of things, properties of the model are pulled in in some applications. (Material, Description, Filename)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The properties that I'm trying to automatically copy are drawing title block specific and don't pertain to parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;Designed By&lt;/P&gt;&lt;P&gt;Drawn By&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Rev&lt;/P&gt;&lt;P&gt;Customer Info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other thing I would like to do is have it copy over to any open .idw regardless of name. Usually my files will be names $T - CAPE SOUTH.idw for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try your code today when I have some down time and see what I can make of it. Thanks again!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 11:30:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/design-assistant-vba-ilogic-to-copy-iproperties/m-p/7104518#M72402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T11:30:38Z</dc:date>
    </item>
  </channel>
</rss>

