<?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: Associative property in AdditionalOptions in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577722#M94132</link>
    <description>&lt;P&gt;If you want only to check it you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;if oview.ActiveDesignViewRepresentation &amp;lt;&amp;gt; "" then&lt;BR /&gt;'is associative&lt;BR /&gt;endif&lt;/PRE&gt;
&lt;P&gt;if you want to set it it is not possible, because of fact that you will not get ActiveDesignViewRepresentation from the view and will not be able to set it up. if you know name of design view then you can use oview.SetDesignViewRepresentation (name, true)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 18:02:32 GMT</pubDate>
    <dc:creator>marcin_otręba</dc:creator>
    <dc:date>2019-02-06T18:02:32Z</dc:date>
    <item>
      <title>Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8565774#M93943</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inventor 2017 Professional&lt;/P&gt;
&lt;P&gt;C# AddIn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While creating&amp;nbsp; a standard base view using the Inventor API, the last argument is 'AdditionalOptions' where in amongst others you can also set 'DesignViewAssociative' to true or false.&lt;/P&gt;
&lt;P&gt;The question is, how do I retrieve this setting from an existing view that is already set to associative?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Thilak Rao&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 05:07:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8565774#M93943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T05:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8565908#M93948</link>
      <description>&lt;P&gt;Hey&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this what you are finding: DrawingView.PresentationViewAssociative?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 07:22:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8565908#M93948</guid>
      <dc:creator>JaneFan</dc:creator>
      <dc:date>2019-02-01T07:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8566820#M93970</link>
      <description>&lt;P&gt;No. I am looking for "DesignViewAssociative".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Thilak Rao&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 15:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8566820#M93970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577349#M94129</link>
      <description>&lt;P&gt;Any DevTech members who can have a look at this question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Thilak Rao&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 16:08:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577349#M94129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-06T16:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577722#M94132</link>
      <description>&lt;P&gt;If you want only to check it you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;if oview.ActiveDesignViewRepresentation &amp;lt;&amp;gt; "" then&lt;BR /&gt;'is associative&lt;BR /&gt;endif&lt;/PRE&gt;
&lt;P&gt;if you want to set it it is not possible, because of fact that you will not get ActiveDesignViewRepresentation from the view and will not be able to set it up. if you know name of design view then you can use oview.SetDesignViewRepresentation (name, true)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 18:02:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577722#M94132</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2019-02-06T18:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577747#M94133</link>
      <description>&lt;P&gt;Thank you. I can use this approach though I am not sure if this is intended behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;
&lt;P&gt;-Thilak Rao&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 18:10:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8577747#M94133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-06T18:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8578079#M94136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us assume 'ActiveDesignViewRepresentation' is set to something and is not associative. Now the View.ActiveDesignViewRepresentation returns null or "". Then how do I find out the DesignViewRepresentation set for this view ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;-Thilak Rao&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 19:50:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8578079#M94136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-06T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8579038#M94142</link>
      <description>&lt;P&gt;Sorry, you can't. you will get it's value only if it is set to associative.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 07:46:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8579038#M94142</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2019-02-07T07:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Associative property in AdditionalOptions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8580960#M94158</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;, see this helpful explanation by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/219407"&gt;@Jon.Balgley&lt;/a&gt; from &lt;A href="https://forums.autodesk.com/t5/inventor-customization/api-get-the-quot-design-view-representation-quot-name-from-a/m-p/6335821" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;SPAN style="font-family: inherit;"&gt;if the DrawingView is not associative with the DesignViewRepresentation (DVR), then subsequently calling DrawingView.ActiveDesignViewRepresentation will return the empty string.&lt;/SPAN&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can give a halfway-good justification for that: Once you do myDrawingView.SetDesignViewRepresentation("myDVR", False) [or the "associative" box becomes unchecked by any other method], then [the drawing view] is using a "snapshot" of the state of the DVR; it's not really using the DVR after that point. After all, you can turn components on/off in the drawing, independently of their visibility in the DVR in the assembly. So subsequently asking for the "active" DVR of the drawing-view is no longer accurate. I think you're asking for "what was the last DVR assigned to this drawing view?" ... not the "active" one. That would be a new API property. Is that what you want? If so, you could enter that in the "Inventor Ideas" forum (or reply here and I can do it).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;(Bracketed additions by me)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a feature request for this that you can vote for (please do):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/api-improvement-reassociate-a-drawing-view-with-its-design-view/idi-p/8335016" target="_blank" rel="noopener"&gt;API improvement: Reassociate a Drawing View with its Design View Representation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:37:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/associative-property-in-additionaloptions/m-p/8580960#M94158</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2019-02-07T19:37:01Z</dc:date>
    </item>
  </channel>
</rss>

