<?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 How to get Drawing Document through Intent rule in Inventor Engineer-To-Order (Read-Only)</title>
    <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4315222#M2456</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating "MyDwg" as drawing document under the root assembly.&lt;/P&gt;&lt;P&gt;I need to get the PDF out put of my drawing. For that i ma using Method mentioned in the below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/Autodesk-Inventor-Engineer-to/Create-multi-sheet-PDF-from-ETO-Server/td-p/3393007" target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Engineer-to/Create-multi-sheet-PDF-from-ETO-Server/td-p/3393007&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here I need to send Drawing document to be saved as PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How we can get the Drawing document created through teh Child.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Assembly we can send "&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Autodesk.Intent.IntentAPI.Instance.HostAPI.&lt;/SPAN&gt;TopLevelassembly" or "Autodesk.Intent.IntentAPI.Instance.HostAPI.HostObjectFromRefChain(Me.Refchain)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is method to get My child drawing as document to save as?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Appadurai.G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2013 11:38:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-01T11:38:05Z</dc:date>
    <item>
      <title>How to get Drawing Document through Intent rule</title>
      <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4315222#M2456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating "MyDwg" as drawing document under the root assembly.&lt;/P&gt;&lt;P&gt;I need to get the PDF out put of my drawing. For that i ma using Method mentioned in the below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/Autodesk-Inventor-Engineer-to/Create-multi-sheet-PDF-from-ETO-Server/td-p/3393007" target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Engineer-to/Create-multi-sheet-PDF-from-ETO-Server/td-p/3393007&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here I need to send Drawing document to be saved as PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How we can get the Drawing document created through teh Child.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Assembly we can send "&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Autodesk.Intent.IntentAPI.Instance.HostAPI.&lt;/SPAN&gt;TopLevelassembly" or "Autodesk.Intent.IntentAPI.Instance.HostAPI.HostObjectFromRefChain(Me.Refchain)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is method to get My child drawing as document to save as?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Appadurai.G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 11:38:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4315222#M2456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-01T11:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Drawing Document through Intent rule</title>
      <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318320#M2461</link>
      <description>&lt;P&gt;That same technique should work for obtaining the drawing document, where me.refchain would be changed to identify the drawing document child, not the assembly (the sample appears to have been a method written into a drawing document design)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the sample you reference, that is exactly what is done in the lines i copied below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'Set a reference to the active document (the document to be published).&lt;BR /&gt;Dim oDocument As Any&lt;BR /&gt;oDocument = Autodesk.Intent.IntentAPI.Instance.HostAPI.HostObj&lt;/P&gt;
&lt;P&gt;ectFromRefChain(Me.Refchain)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elly &lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 12:34:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318320#M2461</guid>
      <dc:creator>ebachrach</dc:creator>
      <dc:date>2013-07-03T12:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Drawing Document through Intent rule</title>
      <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318390#M2463</link>
      <description>&lt;P&gt;Will "&lt;SPAN&gt;Me.Refchain" always refers the end child(i.e. Drawing).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have Child rules in the root file for Assembly parts and Drawing creation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And i have written Code to publish PDF in root deisgn as a child.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How "&lt;SPAN&gt;Me.Refchain" will refers to the Root's Child(Drawing document) apart from other child rules?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Can you brief me to understand this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Appadurai.G&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 13:22:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318390#M2463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-03T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Drawing Document through Intent rule</title>
      <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318402#M2464</link>
      <description>&lt;P&gt;in your case "me" won't help.&amp;nbsp; "Me" refers to the ETO instance in which the expression is called.&amp;nbsp; the ".refchain" is simply obtaining the reference chain for use in that function that identifies the inventor object. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you need is a reference to the drawing document.&amp;nbsp; In your case you say your method is in a child under the root, and your drawing document is for example something like root.drawingdocument.&amp;nbsp;&amp;nbsp; Something like this:&lt;/P&gt;
&lt;P&gt;-Root&lt;/P&gt;
&lt;P&gt;-- pdfcreation_child&lt;/P&gt;
&lt;P&gt;--drawingdocument_child&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your expression down in pdfcreat_child needs to reference root.drawingdocument_child.refchain.&amp;nbsp; Or you could add a parameer to your pdfcreation_child for the root to pass in the drawingdocument part, so that you don't have a hardcoded reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elly &lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 13:33:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4318402#M2464</guid>
      <dc:creator>ebachrach</dc:creator>
      <dc:date>2013-07-03T13:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Drawing Document through Intent rule</title>
      <link>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4319247#M2467</link>
      <description>&lt;P&gt;Thank you so much to understand the Basic Concepts in ETO rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Appadurai.G&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2013 04:42:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-engineer-to-order-read/how-to-get-drawing-document-through-intent-rule/m-p/4319247#M2467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-04T04:42:57Z</dc:date>
    </item>
  </channel>
</rss>

