<?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 Repetitive descriptors in drawing Workflow advice? in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11150374#M77163</link>
    <description>&lt;P&gt;I have a sloppy workflow that I want to tighten up and I would be grateful if anyone could weigh in.&amp;nbsp; Here's a typical situation I'm trying to automate:&lt;/P&gt;&lt;P&gt;I'm making a lot of drawings each with it's individual file and one sheet each.&amp;nbsp; In the title block I want to put the client name, ex. "Client A".&amp;nbsp; Currently, I redefine my titleblock with "Client A" then whenever I make a new drawing I copy and paste the title block with "Client A".&amp;nbsp; I would rather put "Client A" in a iProperty somewhere in all parts then have my drawing look for that iProperty but that would mean I'd be doing the same copy and pasting, just now in a different spot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best workflow I can sort out is to drop all parts/assemblies into some master assembly, then use the BOM to do one massive copy + paste "Client A" to ensure that all have been updated.&amp;nbsp; This feels a bit clunky.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love for the info to live with the part in an ipropery, but does anyone have any suggestions on a sleeker way to do this?&amp;nbsp; This seems to have ilogic answer written all over it, but I'm pretty inexperienced in writing new code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 16:59:20 GMT</pubDate>
    <dc:creator>paulZKN98</dc:creator>
    <dc:date>2022-05-05T16:59:20Z</dc:date>
    <item>
      <title>Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11150374#M77163</link>
      <description>&lt;P&gt;I have a sloppy workflow that I want to tighten up and I would be grateful if anyone could weigh in.&amp;nbsp; Here's a typical situation I'm trying to automate:&lt;/P&gt;&lt;P&gt;I'm making a lot of drawings each with it's individual file and one sheet each.&amp;nbsp; In the title block I want to put the client name, ex. "Client A".&amp;nbsp; Currently, I redefine my titleblock with "Client A" then whenever I make a new drawing I copy and paste the title block with "Client A".&amp;nbsp; I would rather put "Client A" in a iProperty somewhere in all parts then have my drawing look for that iProperty but that would mean I'd be doing the same copy and pasting, just now in a different spot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best workflow I can sort out is to drop all parts/assemblies into some master assembly, then use the BOM to do one massive copy + paste "Client A" to ensure that all have been updated.&amp;nbsp; This feels a bit clunky.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love for the info to live with the part in an ipropery, but does anyone have any suggestions on a sleeker way to do this?&amp;nbsp; This seems to have ilogic answer written all over it, but I'm pretty inexperienced in writing new code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 16:59:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11150374#M77163</guid>
      <dc:creator>paulZKN98</dc:creator>
      <dc:date>2022-05-05T16:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11150733#M77164</link>
      <description>&lt;P&gt;Do you use vault? If so, you can mass edit files and copy paste the values in there to whatever property you have and is mapped into vault. Let vault take care of the check out check in process. Another way is you can use the design assistant. With the open dialog box in Inventor, right-click on the file you want to copy properties from &amp;gt; choose design assistant. Then go to&amp;nbsp; &amp;gt; tools &amp;gt; Copy Design Properties. Check the properties to transfer, select the files on the right, and then go!..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:37:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11150733#M77164</guid>
      <dc:creator>blandb</dc:creator>
      <dc:date>2022-05-05T19:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11151549#M77165</link>
      <description>&lt;P&gt;If you want a quick ilogic code to push custom iproperty to all documents in an assembly this will cover that. This assumes all are writable.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim sClientName as String&lt;BR /&gt;sClientName= InputBox("Enter a Clients name", "Client Name","Oscar The Grouch")&lt;BR /&gt;Dim oAsm As AssemblyDocument = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;BR /&gt;oAsm.PropertySets.Item("Inventor User Defined Properties").Item("Client Name") = sClientName&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTransaction&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Transaction&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransactionManager&lt;/SPAN&gt;.&lt;SPAN&gt;StartTransaction&lt;/SPAN&gt;(&lt;SPAN&gt;oAsm&lt;/SPAN&gt;, &lt;SPAN&gt;"Push Client Name to all files"&lt;/SPAN&gt;) &lt;SPAN&gt;'Make this a single transaction&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt; &lt;SPAN&gt;'Traverse all referenced documents&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Client Name")= sClientName&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN&gt;Next&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN&gt;oTransaction&lt;/SPAN&gt;.&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;'End the transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;There is many other ways too to achieve this one&amp;nbsp;alternate could be to take in the name through an excel sheet, place in the drawing iproperties then push back to the part/assembly in your drawing, or do this operation in the file and push it too the drawing. It will just depend where you find yourself thinking about this tracking info and where it might be stored like in a purchase order or project file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 06:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11151549#M77165</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-05-06T06:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178205#M77166</link>
      <description>&lt;P&gt;We don't use vault but I just ran the test using design assistant and it copied my custom iproperties over, many thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/467314"&gt;@blandb&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 19:50:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178205#M77166</guid>
      <dc:creator>paulZKN98</dc:creator>
      <dc:date>2022-05-18T19:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178243#M77167</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7946284"&gt;@A.Acheson&lt;/a&gt;&amp;nbsp;Sorry for the delay, but I am just now able to test this out.&amp;nbsp; Thanks so much for the code, however I don't have much experience with I logic to self-troubleshoot an error I'm running into. I'm receiving the error code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rule Compile Errors in iPropertyPush, in 2446-0000-test.iam&lt;/P&gt;&lt;P&gt;Error on Line 4 : Property 'Item' is 'ReadOnly'.&lt;BR /&gt;Error on Line 7 : Property 'Item' is 'ReadOnly'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I allow this property to be writable?&amp;nbsp; Or is it the file that is writeable? I've made sure to create an assembly and placed parts in an active Inventor project&amp;nbsp; that has Read/Write permission but I don't think that's the error I should be solving. I then checked the file(s) itself but they have write permission (see screenshot). Pardon my ignorance, but I'd love to get your code working.&amp;nbsp; Thankyou for any additional help you can offer!&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="paulZKN98_1-1652904540344.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1068951i5EF7282887DD7DBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulZKN98_1-1652904540344.png" alt="paulZKN98_1-1652904540344.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 20:10:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178243#M77167</guid>
      <dc:creator>paulZKN98</dc:creator>
      <dc:date>2022-05-18T20:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Repetitive descriptors in drawing Workflow advice?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178584#M77168</link>
      <description>&lt;P&gt;The original has no error checking so would fail on read only files like content center /library files.&amp;nbsp; I think I actually missed assigning the "Value" property as well.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;Had an error so tested and the below rule works, the addition of adding the custom iProperty saves manual entry.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sClientName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
&lt;SPAN&gt;sClientName&lt;/SPAN&gt;= &lt;SPAN&gt;InputBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Enter a Clients name"&lt;/SPAN&gt;, &lt;SPAN&gt;"Client Name"&lt;/SPAN&gt;,&lt;SPAN&gt;"Oscar The Grouch"&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAsm&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Client Name"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;sClientName&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTransaction&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Transaction&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransactionManager&lt;/SPAN&gt;.&lt;SPAN&gt;StartTransaction&lt;/SPAN&gt;(&lt;SPAN&gt;oAsm&lt;/SPAN&gt;, &lt;SPAN&gt;"Push Client Name to all files"&lt;/SPAN&gt;) &lt;SPAN&gt;'Make this a single transaction&lt;/SPAN&gt;

&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt; &lt;SPAN&gt;'Traverse all referenced documents &lt;/SPAN&gt;
	&lt;SPAN&gt;Try&lt;/SPAN&gt;
	&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Client Name"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;sClientName&lt;/SPAN&gt; 
	&lt;SPAN&gt;Catch&lt;/SPAN&gt;&lt;SPAN&gt;' Failed to set value &lt;/SPAN&gt;
	&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;SPAN&gt;' to add iProperty and set value&lt;/SPAN&gt;
	&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;).&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;sClientName&lt;/SPAN&gt;, &lt;SPAN&gt;"Client Name"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Catch&lt;/SPAN&gt; &lt;SPAN&gt;' Failed to add iProperty so must be read only&lt;/SPAN&gt;
	&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info&lt;/SPAN&gt;(&lt;SPAN&gt;"Failed to add iProperty to :"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;)
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt; 
&lt;SPAN&gt;oTransaction&lt;/SPAN&gt;.&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;'End the transaction&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 02:34:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/repetitive-descriptors-in-drawing-workflow-advice/m-p/11178584#M77168</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-05-19T02:34:00Z</dc:date>
    </item>
  </channel>
</rss>

