<?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 VIEW TYPES in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539110#M63274</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Dear Ron, Christian and Aksaks,&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;Thank you for your query and suggestions.&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;Ron, can you please confirm whether the suggestions resolve your need?&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;It looks and sounds to me as if they should.&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;Thank you.&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;Ron, you raised a new independent ADN case for this topic, &lt;U&gt;&lt;STRONG&gt;12126616&lt;/STRONG&gt;&lt;/U&gt; [Revit API help to create/modify a View //Type// by name (from which views to place on sheets can be created.)].&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;That is not necessary. Normally, as an ADN member, any thread you raise here in the forum should be automatically escalated to an ADN case if it remains unanswered for a certain amount of time. No idea why it failed in your case. Probably there is some mixup with different logins or email addresses or something.&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;You can escalate a thread to an ADN case manually as well (or I can, at least). I did so now for this thread, generating &lt;U&gt;&lt;STRONG&gt;12132187&lt;/STRONG&gt;&lt;/U&gt; [Create VIEW TYPES], so that the association between the thread and the ADN case is clear and visible to all. I closed the case 12126616 as a duplicate of that. I hope that makes sense.&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;@Anonymous﻿, you can simply attach any files you like when editing your reply to a forum thread:&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 class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="revit_api_forum_attachment2.png" style="width: 150px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269442i7B8BD49F1439FD4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="revit_api_forum_attachment2.png" alt="revit_api_forum_attachment2.png" /&gt;&lt;/span&gt;﻿&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;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&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;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2016 13:18:51 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2016-09-02T13:18:51Z</dc:date>
    <item>
      <title>Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6532255#M63266</link>
      <description>&lt;P&gt;Is there a way to create/remove view types through the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify what I mean- &amp;nbsp;manual process in Revit is here: &lt;A title="Create a view type" href="https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Revit-DocumentPresent/files/GUID-76A5C57C-E719-41CE-AF42-97B7772B6A45-htm.html" target="_blank"&gt;(Create a view type)&lt;/A&gt;&lt;/P&gt;&lt;P class="shortdesc"&gt;You can create view types for plans, elevations, sections, 3D views, drafting views, legends, and schedules.&lt;/P&gt;&lt;DIV class="example"&gt;&lt;OL&gt;&lt;LI&gt;Open a view for which you want to create a view type, or click the view name in the Project Browser.&lt;/LI&gt;&lt;LI&gt;In the Properties palette, click Edit Type.&lt;/LI&gt;&lt;LI&gt;In the Type Properties dialog, click Duplicate.&lt;/LI&gt;&lt;LI&gt;Enter a name for the new view type and click OK.&lt;/LI&gt;&lt;LI&gt;In the Type Properties dialog for the new view type, specify a value for each Graphics parameter.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I haven't found reference in the API yet- but just started searching. Seems to be scarce and I am a little concerned as you cannot get view types thorugh a transfer project standards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik﻿&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Aug 2016 20:17:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6532255#M63266</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-08-30T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6532536#M63267</link>
      <description>&lt;P&gt;I think you can. How about this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ElementId viewTypeId = FindViewTypes(level.Document, viewType).First().Id;&lt;/P&gt;&lt;P&gt;ViewPlan view = ViewPlan.Create(level.Document, viewTypeId, level.Id);&lt;BR /&gt;view.ViewName = viewName;&lt;/P&gt;&lt;P&gt;return view;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ViewType can be:&amp;nbsp;ViewType.EngineeringPlan, there are some predefined:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;public static IEnumerable&amp;lt;ViewFamilyType&amp;gt; FindViewTypes(Document doc, ViewType viewType)&lt;BR /&gt;{&lt;BR /&gt;IEnumerable&amp;lt;ViewFamilyType&amp;gt; ret = new FilteredElementCollector(doc)&lt;BR /&gt;.WherePasses(new ElementClassFilter(typeof(ViewFamilyType), false))&lt;BR /&gt;.Cast&amp;lt;ViewFamilyType&amp;gt;();&lt;/P&gt;&lt;P&gt;switch (viewType)&lt;BR /&gt;{&lt;BR /&gt;case ViewType.AreaPlan:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.AreaPlan);&lt;BR /&gt;case ViewType.CeilingPlan:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.CeilingPlan);&lt;BR /&gt;case ViewType.ColumnSchedule:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.GraphicalColumnSchedule); //?&lt;BR /&gt;case ViewType.CostReport:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.CostReport);&lt;BR /&gt;case ViewType.Detail:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Detail);&lt;BR /&gt;case ViewType.DraftingView:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Drafting);&lt;BR /&gt;case ViewType.DrawingSheet:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Sheet);&lt;BR /&gt;case ViewType.Elevation:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Elevation);&lt;BR /&gt;case ViewType.EngineeringPlan:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.StructuralPlan); //?&lt;BR /&gt;case ViewType.FloorPlan:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.FloorPlan);&lt;BR /&gt;//case ViewType.Internal:&lt;BR /&gt;// return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Internal); //???&lt;BR /&gt;case ViewType.Legend:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Legend);&lt;BR /&gt;case ViewType.LoadsReport:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.LoadsReport);&lt;BR /&gt;case ViewType.PanelSchedule:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.PanelSchedule);&lt;BR /&gt;case ViewType.PresureLossReport:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.PressureLossReport);&lt;BR /&gt;case ViewType.Rendering:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.ImageView); //?&lt;BR /&gt;//case ViewType.Report:&lt;BR /&gt;// return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Report); //???&lt;BR /&gt;case ViewType.Schedule:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Schedule);&lt;BR /&gt;case ViewType.Section:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Section);&lt;BR /&gt;case ViewType.ThreeD:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.ThreeDimensional);&lt;BR /&gt;case ViewType.Undefined:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Invalid); //?&lt;BR /&gt;case ViewType.Walkthrough:&lt;BR /&gt;return ret.Where(e =&amp;gt; e.ViewFamily == ViewFamily.Walkthrough);&lt;BR /&gt;default:&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if we are heading the right direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 22:47:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6532536#M63267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T22:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6534655#M63268</link>
      <description>&lt;P&gt;That covers the use of a view type to create a new view...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to basically View&lt;SPAN&gt;.ViewFamily.NEW "Architectural SiteView" to create a new PLAN.VIEW TYPE of&amp;nbsp;"Architectural SiteView" or whatever the case may be.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is huge for managing the views in project browser, establishing templates for newly created views by types, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Haven't had a chance to poke around&amp;nbsp;in the API yet and explore to see what is available bu the help files don't help on this one : )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 17:26:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6534655#M63268</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-08-31T17:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6535398#M63269</link>
      <description>&lt;P&gt;Looking for Revit API help to create/modify a View //Type// name (from which views to place on sheets can be created). Not create a view from a view type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tough to spell this one out : )&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 22:30:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6535398#M63269</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-08-31T22:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6535429#M63270</link>
      <description>&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this what we talk about:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Revit-DocumentPresent/files/GUID-76A5C57C-E719-41CE-AF42-97B7772B6A45-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Revit-DocumentPresent/files/GUID-76A5C57C-E719-41CE-AF42-97B7772B6A45-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ViewType is an Enum and I don't think you can add to this. The above is just duplicating a view and you can set some custom parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;View v = doc.ActiveView;
ViewDuplicateOption opt = new ViewDuplicateOption();
ElementId viewId = v.Duplicate(opt);
View new_v = doc.GetElement(viewId) as View;&lt;/PRE&gt;&lt;P&gt;Let me know if we got any further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 22:43:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6535429#M63270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-31T22:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6537930#M63271</link>
      <description>&lt;P&gt;Perhaps you are thinking about something like what the attached images show? The first is of an add-in that tries to do the bulk of the tasks for creating views. This one creates floor plans and ceiling plans for standard MEP disciplines and adds view parameter values for two view parameters. It also can apply a view template. The second image show a add-in for deleting. They both work curiously in a flash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viewmaker" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269210i396B3F023DFDECAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ViewMakerA.PNG" alt="ViewMakerA.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ViewMatic" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269213i2957C7600D5506D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="ViewMatic.PNG" alt="ViewMatic.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 22:45:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6537930#M63271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-01T22:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6538099#M63272</link>
      <description>&lt;P&gt;Yeah it it is not looking good..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached the equivalent manual process: (PDF IS EASIER TO READ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="API Create View Type.png" style="width: 464px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269230iD32738ED4E27472E/image-size/large?v=v2&amp;amp;px=999" role="button" title="API Create View Type.png" alt="API Create View Type.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 01:22:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6538099#M63272</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-09-02T01:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6538212#M63273</link>
      <description>&lt;P&gt;Necessity is the mother of invention. You are showing just five steps. I think I'm showing at least three more. Multiply that by the 270 views shown in the image. That's why we strive to get it all down to one button press. You are welcome to whatever I've got. Maybe 95% of all the various tasks you need to do are already figured out, perhaps not elegantly, but functional. &amp;nbsp;It is just a matter of transmission. I have yet to figure out how to attach a file to a post. How did you attach a PDF? I was thinking maybe I could disguise a zip file as an image file and then attach. It's probably breaking the rules.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 02:42:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6538212#M63273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T02:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539110#M63274</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Ron, Christian and Aksaks,&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;Thank you for your query and suggestions.&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;Ron, can you please confirm whether the suggestions resolve your need?&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;It looks and sounds to me as if they should.&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;Thank you.&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;Ron, you raised a new independent ADN case for this topic, &lt;U&gt;&lt;STRONG&gt;12126616&lt;/STRONG&gt;&lt;/U&gt; [Revit API help to create/modify a View //Type// by name (from which views to place on sheets can be created.)].&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;That is not necessary. Normally, as an ADN member, any thread you raise here in the forum should be automatically escalated to an ADN case if it remains unanswered for a certain amount of time. No idea why it failed in your case. Probably there is some mixup with different logins or email addresses or something.&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;You can escalate a thread to an ADN case manually as well (or I can, at least). I did so now for this thread, generating &lt;U&gt;&lt;STRONG&gt;12132187&lt;/STRONG&gt;&lt;/U&gt; [Create VIEW TYPES], so that the association between the thread and the ADN case is clear and visible to all. I closed the case 12126616 as a duplicate of that. I hope that makes sense.&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;@Anonymous﻿, you can simply attach any files you like when editing your reply to a forum thread:&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 class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="revit_api_forum_attachment2.png" style="width: 150px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269442i7B8BD49F1439FD4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="revit_api_forum_attachment2.png" alt="revit_api_forum_attachment2.png" /&gt;&lt;/span&gt;﻿&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;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&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;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 13:18:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539110#M63274</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-02T13:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539519#M63275</link>
      <description>&lt;P&gt;@Anonymous﻿&amp;nbsp;No, Sorry. I am &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt; &lt;/EM&gt;creating views. &amp;nbsp;I am creating &lt;STRONG&gt;&amp;lt;View Types&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Views are created from &lt;STRONG&gt;&amp;lt;View Types&amp;gt;(&lt;/STRONG&gt;that part I can do : )- but I need the prior steps in the API to create VIEW TYPES. &lt;STRONG&gt;Explicitly,&amp;nbsp;I need &amp;nbsp;to know if the API can&amp;nbsp;replicate steps 4 and 5.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your app could create the view types once&amp;nbsp;the view types were established. I had this conversation about 4 years ago and the&amp;nbsp;it is difficult to convey- hence the PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may create resort to a screen cast if the PDF is not sufficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539519#M63275</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-09-02T15:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539581#M63276</link>
      <description>&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how about this as a start:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));
ViewFamilyType old_v = a.FirstOrDefault&amp;lt;Element&amp;gt;(e =&amp;gt; e.Name.Equals("Lala")) as ViewFamilyType;
ViewFamilyType new_v  = old_v.Duplicate("test") as ViewFamilyType;&lt;/PRE&gt;&lt;P&gt;Didn't test it, but the code looked good in VS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:56:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539581#M63276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539586#M63277</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik﻿&lt;/a&gt;&amp;nbsp;Apologies- things sat quiet for a few days, and I am trying to stay ahead of the issue : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies to all on this thread- It is difficult to convey what I am after : ) - hoping the updated diagram helps (Attached a more readable PDF of it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Explicitly&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt; I am looking to Replicate steps 4 and 5 in the API. Creating a &amp;lt;VIEW TYPE&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The solutions offered so far show how to create &amp;lt;VIEWS&amp;gt; from &amp;lt;VIEW TYPES&amp;gt;,&amp;nbsp;&lt;/STRONG&gt;But I need to create the &amp;lt;VIEW TYPES&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are probably the most underused feature of Revit as most people are unaware it is there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="API Create View Type.v2.png" style="width: 464px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/269503i927433F90628F2E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="API Create View Type.v2.png" alt="API Create View Type.v2.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:58:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539586#M63277</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-09-02T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539596#M63278</link>
      <description>&lt;P&gt;@Anonymous﻿&amp;nbsp;- That may be it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will have to check that out tonight and this weekend : )&lt;/P&gt;&lt;P&gt;Thnx!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:00:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539596#M63278</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-09-02T16:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539600#M63279</link>
      <description>&lt;P&gt;Christian's steps look reasonable to me regarding view type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are not talking about view templates, are you, Ron? We do have an open wish list item concerning those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't Christian's steps work for you?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:01:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539600#M63279</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-02T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539602#M63280</link>
      <description>&lt;P&gt;Hopefully. Have a good weekend.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:01:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539602#M63280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T16:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539608#M63281</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik﻿&lt;/a&gt;&amp;nbsp;Yes just saw that after my previous reply, looks very promising - may be exactly what I am after- with the class exposed I should be&amp;nbsp;able to manipulate that- hopefully assign new View Templates (Unless that is the wish list item : ( &amp;nbsp;and delete/purge as needed.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:04:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539608#M63281</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2016-09-02T16:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539617#M63282</link>
      <description>&lt;P&gt;Delete should be easy as you can use the ElementId:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));&lt;BR /&gt;ViewFamilyType old_v = a.FirstOrDefault&amp;lt;Element&amp;gt;(e =&amp;gt; e.Name.Equals("Lala")) as ViewFamilyType;
ViewFamilyType new_v  = old_v.Duplicate("test") as ViewFamilyType;
ICollection&amp;lt;ElementId&amp;gt; delIds = doc.Delete(old_v.Id);&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:07:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/6539617#M63282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11374107#M63283</link>
      <description>&lt;P&gt;Six years later returning to the same issue...&lt;/P&gt;&lt;P&gt;@Anonymous&amp;nbsp; - That didn't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Warning: CPythonEvaluator.EvaluatePythonScript operation failed.
SyntaxError : ('invalid syntax', ('&amp;lt;string&amp;gt;', 12, 26, 'FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));\n'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;py Code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;# Load the Python Standard and DesignScript Libraries
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# The inputs to this node will be stored as a list in the IN variables.
strVIEW_TYPE_Name  = IN[0]
strNew_VIEW_TYPE_Name = IN[1]

# Place your code below this line
FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));
ViewFamilyType old_v = a.FirstOrDefault&amp;lt;Element&amp;gt;(e =&amp;gt; e.Name.Equals(strVIEW_TYPE_Name)) as ViewFamilyType;
ViewFamilyType new_v  = old_v.Duplicate(strNew_VIEW_TYPE_Name) as ViewFamilyType;

# Assign your output to the OUT variable.
OUT = new_v &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subsequent PY version here that references this doc also didn't work:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mgfx.co.za/blog/building-architectural-design/revit-view-type-creation-using-excel-with-dynamo-and-python/" target="_blank"&gt;https://mgfx.co.za/blog/building-architectural-design/revit-view-type-creation-using-excel-with-dynamo-and-python/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 20:20:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11374107#M63283</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2022-08-22T20:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11382951#M63284</link>
      <description>&lt;P&gt;Hi, aren't you missing the RevitAPI reference?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:37:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11382951#M63284</guid>
      <dc:creator>svein.horve</dc:creator>
      <dc:date>2022-08-26T11:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create VIEW TYPES</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11383477#M63285</link>
      <description>&lt;P&gt;Nope : (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RonAllen_WareMalcombcom_0-1663265683610.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1116394i831B7E00A21F28AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RonAllen_WareMalcombcom_0-1663265683610.png" alt="RonAllen_WareMalcombcom_0-1663265683610.png" /&gt;&lt;/span&gt;&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;LI-CODE lang="general"&gt;# Load the Python Standard and DesignScript Libraries
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
# The inputs to this node will be stored as a list in the IN variables.
strVIEW_TYPE_Name  = IN[0]
strNew_VIEW_TYPE_Name = IN[1]

# Place your code below this line
FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));
ViewFamilyType old_v = a.FirstOrDefault&amp;lt;Element&amp;gt;(e =&amp;gt; e.Name.Equals(strVIEW_TYPE_Name)) as ViewFamilyType;
ViewFamilyType new_v  = old_v.Duplicate(strNew_VIEW_TYPE_Name) as ViewFamilyType;

# Assign your output to the OUT variable.
OUT = new_v &lt;/LI-CODE&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;LI-CODE lang="general"&gt;Warning: CPythonEvaluator.EvaluatePythonScript operation failed. 
SyntaxError : ('invalid syntax', ('&amp;lt;string&amp;gt;', 13, 26, 'FilteredElementCollector a = new FilteredElementCollector(doc).OfClass(typeof(ViewFamilyType));\n'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 18:14:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-view-types/m-p/11383477#M63285</guid>
      <dc:creator>GallowayUS_com_RonAllen1</dc:creator>
      <dc:date>2022-09-15T18:14:45Z</dc:date>
    </item>
  </channel>
</rss>

