<?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: Problem with derived assembly in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8622601#M94974</link>
    <description>&lt;P&gt;So is it correct that the API automatically includes the bounding box opposed to the GUI behaviour?&lt;/P&gt;
&lt;P&gt;For this functionality the API can not reproduce all commands that would be done via GUI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the workaround, I will try.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 17:53:33 GMT</pubDate>
    <dc:creator>jan.pomplun</dc:creator>
    <dc:date>2019-02-26T17:53:33Z</dc:date>
    <item>
      <title>Problem with derived assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8619066#M94908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem with creating a derived part of an assembly. The assembly looks like the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="assembly.PNG" style="width: 305px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/607099i87F72536A4E16094/image-dimensions/305x136?v=v2" width="305" height="136" role="button" title="assembly.PNG" alt="assembly.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I derive it into a part via the GUI ("Ableiten" means derived part in english)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="button.PNG" style="width: 82px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/607100i1C0C713FB3E9F015/image-size/large?v=v2&amp;amp;px=999" role="button" title="button.PNG" alt="button.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The derived part looks similar. When I do it via the API:&lt;/P&gt;
&lt;PRE&gt;var partDoc = (Inventor.PartDocument)InventorUtil.InventorApplication.Documents.Add(Inventor.DocumentTypeEnum.kPartDocumentObject, "", false);

DerivedAssemblyDefinition defAss = partDoc.ComponentDefinition.ReferenceComponents.DerivedAssemblyComponents.CreateDefinition(invDelegate.Document.FullDocumentName);
defAss.InclusionOption = DerivedComponentOptionEnum.kDerivedIncludeAll;
defAss.DeriveStyle = DerivedComponentStyleEnum.kDeriveAsSingleBodyNoSeams;    
partDoc.ComponentDefinition.ReferenceComponents.DerivedAssemblyComponents.Add(defAss);&lt;/PRE&gt;
&lt;P&gt;The derived part however looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="part.PNG" style="width: 310px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/607101i76D1BCA982C3AE1B/image-dimensions/310x222?v=v2" width="310" height="222" role="button" title="part.PNG" alt="part.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I do not understand why the marked feature is shown in the part - marked with the red circle.&lt;/P&gt;
&lt;P&gt;I can only reproduce it in the GUI when I change the following to include the bounding box:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GUI.png" style="width: 592px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/607102i98D0C03B98D22CE2/image-dimensions/592x333?v=v2" width="592" height="333" role="button" title="GUI.png" alt="GUI.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;notice the green rectangle (should be bounding box instead of the plus).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not understand why this would be the default behaviour via the API - while it is not via the GUI.&lt;/P&gt;
&lt;P&gt;Further (and more important) I do not know how to deactivate it. I tried around with following ptions which did not help&lt;/P&gt;
&lt;PRE&gt;            defAss.InclusionOption = DerivedComponentOptionEnum.kDerivedIncludeAll;

            defAss.DeriveStyle = DerivedComponentStyleEnum.kDeriveAsSingleBodyNoSeams;
            defAss.DeriveStyle = DerivedComponentStyleEnum.kDeriveAsMultipleBodies;

            defAss.IncludeAllTopLevelWorkFeatures =DerivedComponentOptionEnum.kDerivedExcludeAll;
            defAss.IncludeAllTopLevelSketches = DerivedComponentOptionEnum.kDerivedExcludeAll;
            defAss.IncludeAllTopLeveliMateDefinitions = DerivedComponentOptionEnum.kDerivedExcludeAll;
            defAss.IncludeAllTopLevelParameters = DerivedComponentOptionEnum.kDerivedExcludeAll;&lt;/PRE&gt;
&lt;P&gt;Does anyone know how to export the assembly without the "bounding box" features?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jan&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:22:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8619066#M94908</guid>
      <dc:creator>jan.pomplun</dc:creator>
      <dc:date>2019-02-25T14:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with derived assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8621559#M94942</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this you should (could) use a View representation in the inventor assembly with that specific part suppressed.&lt;/P&gt;
&lt;P&gt;Than use this View representation in your derived definition too...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Autodesk Software:&lt;/STRONG&gt; Inventor Professional 2018 | Vault Professional 2018 | Autocad Mechanical 2018&lt;BR /&gt;&lt;STRONG&gt;Programming Skills:&lt;/STRONG&gt; Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/dimension-component-part-and-assembly/idi-p/7523011" target="_blank"&gt;Dimension Component!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/export-partlist-default-configuration/idc-p/7422221#M21416" target="_blank"&gt;Partlist Export!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/derived-part-and-assembly-copy-i-properties/idi-p/6349392" target="_blank"&gt;Derive I-properties!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/inventor-vault-prompts-settings-amp-vault-prompts-settings-via/idi-p/7641767" target="_blank"&gt;Vault Prompts Via API!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/vault-ideas/vault-professional-handbook-or-manual-to-be-provided/idi-p/7653669" target="_blank"&gt;Vault Handbook/Manual!&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/drawing-toggle-sheets/idi-p/7708757" target="_blank"&gt;Drawing Toggle Sheets!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/open-files-automatically-with-quot-defer-update-quot-on-read/idi-p/7762709" target="_blank"&gt;Vault Defer Update!&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;! For administrative reasons, please mark a &lt;STRONG&gt;"Solution as solved"&lt;/STRONG&gt; when the issue is solved !&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 10:50:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8621559#M94942</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-02-26T10:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with derived assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8622601#M94974</link>
      <description>&lt;P&gt;So is it correct that the API automatically includes the bounding box opposed to the GUI behaviour?&lt;/P&gt;
&lt;P&gt;For this functionality the API can not reproduce all commands that would be done via GUI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the workaround, I will try.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 17:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problem-with-derived-assembly/m-p/8622601#M94974</guid>
      <dc:creator>jan.pomplun</dc:creator>
      <dc:date>2019-02-26T17:53:33Z</dc:date>
    </item>
  </channel>
</rss>

