<?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: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11751318#M148980</link>
    <description>&lt;P&gt;&lt;SPAN&gt;"Bearing mind iproperties are document based and not sheet based therefore you may need multiples in your document."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A solid point. I believe this means this is not the route I want to go. As I will never know the number of sheets needed per document from job to job. That is part of the reason I am looking for a global document wide update method and a per sheet update method for revisions.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 17:13:23 GMT</pubDate>
    <dc:creator>CarterDraws</dc:creator>
    <dc:date>2023-02-13T17:13:23Z</dc:date>
    <item>
      <title>Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11737763#M148779</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Long time Autodesk user, medium understander of If/Then logic, but iLogic writing noob here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using Inventor Professional 2020 at work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have 2 different scenarios that I want to each be able to affect the same main Title Block entry (/entries). Our Title Block's main "Date" and "Name" are meant to be the most current release date and the most current drafter. (I say "main" Date and Name because our Title Block has a built-in revision table of sorts with fields for dates and names. More on that farther down.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drafters in my company are frequently doing an initial drawing set of anywhere from 5-40 pages, and then a week later doing revisions that only affect 1-2 pages. When initially working on a drawing set, we want to be able to update the title block's main date on every page to Today's Date . Doing every sheet at once is great in this initial phase, because of the potentially large number of total sheets.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;But later, when doing revisions, we do not want every page's Date to update (because not every page has been revised) and we want to be able to manually enter the revision day's date in a separate Title Block field, which when not 0, changes the main date to the newly manually entered one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically I would like to sometimes control the TB's date &lt;STRONG&gt;globally&lt;/STRONG&gt; across all Sheets, and sometimes control it individually &lt;STRONG&gt;per Sheet&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same goes for the Drafter field. Sometimes a different coworker is making the revisions to a drawing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the basics of alot of the elements, but am missing the code writing know-how to string it all together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Title Block's 2 main fields for date and name are "Release Date" and "Drawn By". The Release Date is currently a Custom Drawing iProperty, &amp;lt;Most Recent Date&amp;gt;, and the Drawn By is a Custom Drawing iProperty, &amp;lt;Modified Author&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have an existing iLogic rule, "Modified By", to fill in &amp;lt;Modified Author&amp;gt; as the current User.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A different existing iLogic rule, "Date Update", changes the &amp;lt;Most Recent Date&amp;gt; property to Today's Date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As mentioned above, the Title Block also has a revision table of sorts built into it. Right now, all of the fields for the revision history are manually-entered Prompted Fields such as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;1st Ver Date&amp;gt;, &amp;lt;1st Ver Notes&amp;gt;, &amp;lt;2nd Ver Date&amp;gt;, &amp;lt;2nd Ver Name&amp;gt;, &amp;lt;2nd Version Notes&amp;gt;, etc. The "1st Ver Name" is the only one not manually entered, and is set to &amp;lt;Author&amp;gt; (with the thinking that the 1st Version should be the Original release date and original author).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the &lt;STRONG&gt;global&lt;/STRONG&gt; option of my request somewhat exists already in the "Date Update" rule. I have it Suppressed, and right-click and Run Rule when I need to globally update. That works just fine - I am not sure if it would play nice with my other request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the &lt;STRONG&gt;per sheet&lt;/STRONG&gt; option, I am hoping for an iLogic Rule that would say For Each Sheet, read &amp;lt;5th Ver Date&amp;gt;. If it is not 0, make &amp;lt;Most Recent Date&amp;gt; = &amp;lt;5th Ver Date&amp;gt;. If it is 0, check &amp;lt;4th Ver Date&amp;gt;. If &amp;lt;4th Ver Date&amp;gt; is not 0, make &amp;lt;Most Recent Date&amp;gt; = &amp;lt;4th Ver Date&amp;gt;. And so on. There will always be something entered for &amp;lt;1st Ver Date&amp;gt;. Again, same desire for Drafter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems like this would be possible with the right skills. If anyone can point me in the right direction or has a code that accomplishes some version of this, I am confident I could tweak it to work as I need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Someone please feel free to tell me if it is pipe dream and not possible.&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;&lt;SPAN&gt;To add one more layer to it all: the Title Block also has a Prompted Entry manually-entered field to create a Revision watermark next to the TB.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TB Revision Stamp entry.jpg" style="width: 544px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1173164i6681A0C42A9665F5/image-dimensions/544x548?v=v2" width="544" height="548" role="button" title="TB Revision Stamp entry.jpg" alt="TB Revision Stamp entry.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In a perfect world, the same &lt;STRONG&gt;Per Sheet&lt;/STRONG&gt; iLogic Rule that is pushing the revision table fields to the main date and name, would also push whatever the most recent revision line's date was to this watermark stamp field, as long as it was &amp;lt;2nd Ver Date&amp;gt; or later.&amp;nbsp;&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;Any and all help is greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 21:55:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11737763#M148779</guid>
      <dc:creator>CarterDraws</dc:creator>
      <dc:date>2023-02-07T21:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11738287#M148784</link>
      <description>&lt;P&gt;A starting point for you which will hopefully send you in the right direction.&amp;nbsp; See API help&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=TitleBlock_SetPromptResultText" target="_blank" rel="noopener"&gt;Titleblock.SetPromptResultText.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TitleBlock.&lt;/SPAN&gt;&lt;STRONG&gt;SetPromptResultText&lt;/STRONG&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;DefinitionText&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;As&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=TextBox" target="_blank" rel="noopener"&gt;TextBox&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;NewValue&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;As String )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://adndevblog.typepad.com/manufacturing/2013/05/copy-title-block-prompted-entries-from-one-sheet-to-the-other.html" target="_blank" rel="noopener"&gt;Here is a sample&lt;/A&gt; for copying prompted entry from one titleblock to another. A little off topic but gives you a good insight to how to structure for loops and retrieve the data.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And &lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/editing-prompted-entry-values-with-ilogic/m-p/4707411#M47805" target="_blank" rel="noopener"&gt;here is another sample&lt;/A&gt; of querying promted entry in titleblocks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 03:36:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11738287#M148784</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-02-08T03:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11741125#M148821</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;thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems these methods are for iLogic that is influencing prompted entries? I am looking iLogic that makes prompted entries influence custom i properties (I think).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I misunderstanding something about how you think I might use SetPromptResultText?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or are you suggesting I change the main date and name to also be prompted entries to be influenced?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 23:25:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11741125#M148821</guid>
      <dc:creator>CarterDraws</dc:creator>
      <dc:date>2023-02-08T23:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11741315#M148822</link>
      <description>&lt;P&gt;You can either process the data by reading(Get) and writing (Set). &amp;nbsp;So when you get the result you let it equal a custom iproperty. Bearing mind iproperties are document based and not sheet based therefore you may need multiples in your document.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 01:04:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11741315#M148822</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-02-09T01:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11751318#M148980</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"Bearing mind iproperties are document based and not sheet based therefore you may need multiples in your document."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A solid point. I believe this means this is not the route I want to go. As I will never know the number of sheets needed per document from job to job. That is part of the reason I am looking for a global document wide update method and a per sheet update method for revisions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 17:13:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11751318#M148980</guid>
      <dc:creator>CarterDraws</dc:creator>
      <dc:date>2023-02-13T17:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Auto Update Date and Title Block with built-in Revision Table that can be called to override</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11752358#M149003</link>
      <description>&lt;P&gt;The only way this might work is with&amp;nbsp; prompted entry. As this can be used per sheet basis. It gets messy quickly however. The alternative is to switch to using the revision block object. This is a dedicated object for revision that would live out side of the title block. You can target the revision block per sheet. Just some ideas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 01:10:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/optional-auto-update-date-and-title-block-with-built-in-revision/m-p/11752358#M149003</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-02-14T01:10:23Z</dc:date>
    </item>
  </channel>
</rss>

