<?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: iLogic Coding to Create Automated Drawing in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/12774152#M137525</link>
    <description>&lt;P&gt;i ran it but got the following problem can you help me fix it&lt;BR /&gt;version I use: 2018&lt;BR /&gt;error message :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in rule: Rule0, in document: Frame0001.iam&lt;/P&gt;&lt;P&gt;The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))&lt;BR /&gt;More info:&lt;BR /&gt;System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))&lt;BR /&gt;at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)&lt;BR /&gt;at Inventor.Documents.Add(DocumentTypeEnum DocumentType, String TemplateFileName, Boolean CreateVisible)&lt;BR /&gt;at LmiRuleScript.CreateDrawing_PlaceViews(String PartNumber, Double DrawingViewScale, String ViewsToPlace, Boolean AssemblyDrawing, DrawingView&amp;amp; oBaseView, DrawingView&amp;amp; oView2, DrawingView&amp;amp; oView3, DrawingView&amp;amp; oView4)&lt;BR /&gt;at LmiRuleScript.Main()&lt;BR /&gt;at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)&lt;BR /&gt;at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 06:01:44 GMT</pubDate>
    <dc:creator>ngtatsang98</dc:creator>
    <dc:date>2024-05-15T06:01:44Z</dc:date>
    <item>
      <title>iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3331455#M137392</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;I have looked into using different view representations, but have found that they do not &lt;/SPAN&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"&gt;accommodate feature supression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;My questions are: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;Is there a way to program in the dimensioning of a view &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;Create center points for of of the holes and center lines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;If you would like farther information, or think a similar question would help, please ask. Thanks in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #232323; font-family: 'Arial','sans-serif'; font-size: 8.5pt;"&gt;Mitch&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2012 14:54:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3331455#M137392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3331553#M137393</link>
      <description>&lt;P&gt;Also, If there is anyway to anchor the linear dimensions as well or set an offset from the attached view. When the model changes, the dimension is either absorbed into the view or becomes to far away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2012 15:35:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3331553#M137393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T15:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3333717#M137394</link>
      <description>&lt;P&gt;Are you using derived parts?&amp;nbsp; If you can avoid using derived parts, then dimensions on suppressed features should come back when you unsuppress the features.&lt;BR /&gt;&amp;nbsp;If you are deriving only parameters but no geometry, you can use the Link button in the Parameters dialog instead of the Derive command.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 18:21:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3333717#M137394</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-02-15T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3333937#M137395</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason when I previously tried dimensioning suppressed features, suppressing them,&amp;nbsp; then unsuppressing them, some dimensions would disappear. I decided to try it again yesterday and it worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I'm now having in regards to the linear dimensions or feature dimensioning is how they get ingulfed in the view when the model becomes larger. Is there a way to move the dimensions to a fixed point on the drawing, or always have them a certain distance from the view so that when the model size changes the dimension does not move inside the view or extremly far a way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:05:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3333937#M137395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-15T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3334057#M137396</link>
      <description>&lt;P&gt;Using the API, it should be possible to move dimensions based on changes in the model.&amp;nbsp; For a&amp;nbsp;particular model, you could probably hard-code some simple rules for dimension locations.&amp;nbsp; But in general it's a complicated problem.&amp;nbsp; Sorry, I don't have a sample or&amp;nbsp;suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:43:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3334057#M137396</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-02-15T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3336917#M137397</link>
      <description>&lt;P&gt;I'm working on the very same problems.&amp;nbsp; If you don't mind, I'd like to swap models/drawings with you and take a look at your workflow.&amp;nbsp; There doesn't seem to be very many people out there doing this sort of thing.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2012 15:26:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3336917#M137397</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-02-17T15:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3336967#M137398</link>
      <description>&lt;P&gt;Thank you Mike Deck for your Assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/882102" target="_self"&gt;&lt;SPAN&gt;mrattray,&lt;/SPAN&gt;&lt;/A&gt; I have replied to you on your own post after reading through your situation as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2012 16:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3336967#M137398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T16:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3377949#M137399</link>
      <description>&lt;P&gt;I now am trying to Create a Drawing from the assembly and I have the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Format:HTML Format Version:1.0 StartHTML:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 165 EndHTML:&amp;nbsp;&amp;nbsp; 13682 StartFragment:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 314 EndFragment:&amp;nbsp;&amp;nbsp; 13650 StartSelection: 314 EndSelection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 314&lt;BR /&gt;SyntaxEditor Code Snippet&lt;!--  StartFragment  --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Imports&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;ViewOrientationTypeEnum&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Imports&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingViewStyleEnum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oDrawingDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingDocument&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPartDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView1&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView3&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView4&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;ViewScale&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;Ask to create drawing?&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;dwgQuery&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;MsgBox&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Would you like to Create a drawing for this MODEL?&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;vbYesNo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Drawing Selection&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;dwgQuery&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;vbYes&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPartDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Document&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;Define IDW Template File Location&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oDrawingDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kDrawingDocument&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;C:\Vault_Work\PROJECTS\iLogic Parts-inprogress\iLogic Part Generators\Rectangular Transition Chute Generator\Template.idw&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;True&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oDrawingDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Sheets&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;Define 2d view bottom left corner points for four views&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint2&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint3&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;CreatePoint2d&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingViews&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AddBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPartDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint1&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kFrontViewOrientation&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kHiddenLineDrawingViewStyle&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;, KTANGENTEDGESON)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView2&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AddProjectedView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kHiddenLine&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingViewStyle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView3&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AddProjectedView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint3&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kHiddenLineDr&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;awingViewStyle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;^ (It seems as though the code will not copy proporly, please advise if you need further explaination)*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At lines 29 and 30, I am getting an error message stating the following: "Comma,')', or a valid expression continuation expected"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As well, I would like to add the following options to the view but I'm unsure where I would put the coding. To what I believe, I simply add a comma and enter the command inside the bracket for the view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;View Representation = "Default"&lt;/P&gt;&lt;P&gt;Level of Detail = "MASTER iLogic Assembly"&lt;/P&gt;&lt;P&gt;Line Style = "As Parts"&lt;/P&gt;&lt;P&gt;Hidden Line Calculation = "All Bodies"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your Help&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:05:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3377949#M137399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T14:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3377979#M137400</link>
      <description>&lt;P&gt;Mitch,&lt;BR /&gt;&amp;nbsp;The format of your code was lost in the process of pasting it to this forum.&amp;nbsp; Can you copy the rule text into Notepad, save it as a text file, and attach the text file on this forum?&amp;nbsp; That's a good way to preserve the text.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3377979#M137400</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-03-20T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378129#M137401</link>
      <description>&lt;P&gt;The error is with your formatting, so we really need to see how your code is formatted in order to help.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:20:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378129#M137401</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-03-20T15:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378135#M137402</link>
      <description>&lt;P&gt;Sorry, I had posted the attachment 30min ago but for some reason it didn't go through&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378135#M137402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378161#M137403</link>
      <description>&lt;PRE&gt;oDrawingDoc = ThisApplication.Add.kDrawingDocument("C:\Vault_Work\PROJECTS\iLogic Parts-inprogress\iLogic Part Generators\Rectangular Transition Chute Generator\Template.idw", True)&lt;/PRE&gt;&lt;P&gt;This isn't correct. You can't call an enumerator as a method. kDrawingDocument is an enumerator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oDrawingDoc = ThisApplication.Documents.Add("C:\Vault_Work\PROJECTS\iLogic Parts-inprogress\iLogic Part Generators\Rectangular Transition Chute Generator\Template.idw", True)&lt;/PRE&gt;&lt;P&gt;You don't have to include the enum (kDrawingDocument) because you already declared oDrawingDoc as a DrawingDocument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disclaimer: I might be completely wrong and not know what I'm tlaking baout.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:35:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378161#M137403</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-03-20T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378167#M137404</link>
      <description>&lt;P&gt;There's a few more errors.&amp;nbsp; Here's a modified version of your code that should work.&lt;BR /&gt;It's hard to develop new API code in iLogic.&amp;nbsp;&amp;nbsp;A good approach&amp;nbsp;is to&amp;nbsp;create it in VBA (or even an external VB.NET program) first and then convert it to iLogic.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:38:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378167#M137404</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-03-20T15:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378169#M137405</link>
      <description>&lt;P&gt;Don't worry, I won't hold anything against you for the Disclamier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your Correction Made the code highlighted, which I assume means that it is formatted better. But this change did not add or remove any errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:38:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378169#M137405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378185#M137406</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the bulk of this code provided by another user and modified it to fit my needs so far, although it still needs a bit of work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe you've made changes to the oView2 and oView3 lines, as when I past your lines in, and comment mine out it works..... But I've closley looked at the 2 lines and don't notice any difference besides the "s" in DrawingViews..... This confuses me, as when I place the "s" into my code&amp;nbsp;and use my original lines, the code does not work. Am I missing a change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As well, back to my original question regarding the various options of the view I wish to select. I'm assuming I simply add the correct "enum" inside the bracket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:51:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378185#M137406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378203#M137407</link>
      <description>&lt;P&gt;Mitch,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Here's&amp;nbsp;another error in your original code:&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;oView2&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AddProjectedView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kHiddenLine&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingViewStyle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oView3&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oSheet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;DrawingView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AddProjectedView&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oBaseView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oPoint3&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;kHiddenLineDr&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;awingViewStyle&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;Notice the question mark characters embedded in the enum constant names.&amp;nbsp; Those were probably introduced by copying and pasting to or from this forum.&amp;nbsp; I recommend posting code in text files.&lt;BR /&gt;If you do have to copy code from this forum, paste it first Notepad.&amp;nbsp; Invalid characters should show up as ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;Can you restate your original question about view options?&amp;nbsp; I did a quick scan of this thread, but I'm not sure what it is.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:01:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378203#M137407</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-03-20T16:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378269#M137408</link>
      <description>&lt;P&gt;There's a very big difference between a plural and singular object. When something is plural (such as DrawingViews) it referes to what's called a collection object which is in this example every view on the sheet or in the drawing. When something is singular (such as DrawingView) it refers to a specific view on a specific sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coding is very very touchy. Everything is case sensitive and any little typo or omission will cause it to fail. This is why Mike recommended writing code in the API or in visual studio, becuase you get better error correcting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should also get in the habit of using the object browser accessible through IV's API. iLogic follows a very similar object model and for the most part the methods and objects match up between the two.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:38:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378269#M137408</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-03-20T16:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378321#M137409</link>
      <description>&lt;P&gt;I have looked through the Object Browser and made a few things work by following it's steps but I'm still getting used to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the options I wish to set while placing the view Mike:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.......................&lt;/P&gt;&lt;P&gt;As well, I would like to add the following options to the view but I'm unsure where I would put the coding. To what I believe, I simply add a comma and enter the command inside the bracket for the view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;View Representation = "Default"&lt;/P&gt;&lt;P&gt;Level of Detail = "MASTER iLogic Assembly"&lt;/P&gt;&lt;P&gt;Line Style = "As Parts"&lt;/P&gt;&lt;P&gt;Hidden Line Calculation = "All Bodies"&lt;/P&gt;&lt;P&gt;........................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 17:09:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378321#M137409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T17:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378331#M137410</link>
      <description>&lt;P&gt;This is the obkect browser entry for AddProjectedView. You can't add any additional arguments (options) beyond what is indicated. You're currently using every argument that AddProjectedView can take. So, in layman's terms: it's not that easy.&amp;nbsp; Hopefully, now that I did the easy part and told you what you can't do, Mike can chime in and tell you what you can do. I don't have any experience with creating views.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Function AddProjectedView(ParentView As DrawingView, Position As Point2d, ViewStyle As DrawingViewStyleEnum, [Scale]) As DrawingView&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Member of Inventor.DrawingViews&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Creates a projected drawing view&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 17:15:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378331#M137410</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-03-20T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Coding to Create Automated Drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378343#M137411</link>
      <description>&lt;P&gt;Yes, I noticed that message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Function AddProjectedView(ParentView As DrawingView, Position As Point2d, ViewStyle As DrawingViewStyleEnum, [Scale]) As DrawingView&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Member of Inventor.DrawingViews &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Creates a projected drawing view&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I was fiddling around and trying to make the code work. Only reason I had suggested inside the brackets is do the the original copying of the code. The original user had left something like this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;......AddProjectedView(DrawingView, Point2d, DrawingViewStyleEnum, [Scale])&amp;nbsp;&amp;nbsp;', KTANGENTEDGESON)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the ending enum commented out, so I assumed this meant you could add the enum inside the bracket if you wish to do so&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 17:23:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-coding-to-create-automated-drawing/m-p/3378343#M137411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T17:23:56Z</dc:date>
    </item>
  </channel>
</rss>

