<?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: Create DrawingView -- Reference Data in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3598736#M146684</link>
    <description>&lt;P&gt;Has this feature been added, yet?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2012 18:46:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-28T18:46:52Z</dc:date>
    <item>
      <title>Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/2522120#M146682</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a new base view in drawingdocument.&lt;BR /&gt;
&lt;BR /&gt;
I can get hold of the view but cant find a way to set reference data ---  would like to set the "Line Style" to "As Parts" and "Hidden Line Calculation" to "All Bodies".&lt;BR /&gt;
&lt;BR /&gt;
Is there a way / workaround ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Abhishek</description>
      <pubDate>Tue, 14 Jul 2009 05:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/2522120#M146682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-14T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3007102#M146683</link>
      <description>&lt;P&gt;Is this yet possible?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 22:13:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3007102#M146683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-28T22:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3598736#M146684</link>
      <description>&lt;P&gt;Has this feature been added, yet?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 18:46:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3598736#M146684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T18:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3603140#M146685</link>
      <description>&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;I&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;f you have a reference to the DrawingView object then you may solve this problem in four steps.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Calibri" size="1" color="#000000"&gt;&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;Workaround:&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;1) Property &lt;STRONG&gt;DrawingView.ReferencedDocumentDescriptor &lt;/STRONG&gt;returns the model document referenced by this view.&amp;nbsp; In your case this should be an assembly document.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;2) You may scan assembly hierarchy to find referenced components.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;3) Magic property &lt;STRONG&gt;DrawingView.DrawingCurves(r&lt;/STRONG&gt;eferenced&lt;STRONG&gt; ComponentOccurrence)&lt;/STRONG&gt; returns &lt;STRONG&gt;DrawingCurvesEnumerator&lt;/STRONG&gt; with all drawing curves within the drawing view from this particular component occurrence.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;4) If &lt;STRONG&gt;Count&lt;/STRONG&gt; &amp;gt;0 then you may change properties of the &lt;STRONG&gt;DrawingCurve&lt;/STRONG&gt; objects found to satisfy your requirements (line type, line weight, etc.).&amp;nbsp; Or change Layer property of all DrawingCurveSegment objects in the collection DrawingCurve.&lt;STRONG&gt;Segments&lt;/STRONG&gt;() .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Calibri" size="1" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Calibri"&gt;Should this work for you?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 14:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3603140#M146685</guid>
      <dc:creator>Vladimir.Ananyev</dc:creator>
      <dc:date>2012-08-31T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3603164#M146686</link>
      <description>&lt;P&gt;Changing the layer properties will indeed make these lines appear solid rather than the phantom lines, but I believe that hidden line calculation will still need to be set in order for these items to appear properly.&amp;nbsp; I will try this when I have a free moment and see if this is the case.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 14:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3603164#M146686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-31T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create DrawingView -- Reference Data</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3608966#M146687</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DrawingCurveSegment.HiddenLine can&amp;nbsp;returns whether this segment represents the hidden portion of a line&lt;/P&gt;
&lt;P&gt;DrawingCurveSegment.Layer can&amp;nbsp;set the layer associated with this segment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 03:47:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawingview-reference-data/m-p/3608966#M146687</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2012-09-06T03:47:15Z</dc:date>
    </item>
  </channel>
</rss>

