<?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: Revit .Net API has function overloading, however Python doesn't support overloading in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398301#M17140</link>
    <description>Thank you &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8377999"&gt;@mhannonQ65N2&lt;/a&gt;. Do you know how to create a instance first then from the instance to call the instance method?&lt;BR /&gt;&lt;BR /&gt;I tried, but it said no public constructor so I can't call instance method.&lt;BR /&gt;&lt;BR /&gt;Actually, I still don't know how to use ItemFactoryBase.NewFamilyInstance this API still.&lt;BR /&gt;&lt;BR /&gt;I am still struggling to understand this. Though I have better understanding now and have more materials to look at in this stage but still feel not confident about this topic.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Sep 2022 19:01:23 GMT</pubDate>
    <dc:creator>chendong.jy</dc:creator>
    <dc:date>2022-09-02T19:01:23Z</dc:date>
    <item>
      <title>Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11385669#M17125</link>
      <description>&lt;P&gt;I am using this function -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2022/899076fd-73d2-5be0-8872-b8f389d4ba49.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;NewFamilyInstance Method (Line, FamilySymbol, View)&lt;/A&gt;. However, this function has overloading in API.&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="kRDct.png" style="width: 524px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1108921iD4ACD9DC679CB44A/image-size/large?v=v2&amp;amp;px=999" role="button" title="kRDct.png" alt="kRDct.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;The .net support function overloading, however Python doesn't support that. How can Revit Python API work in this case?&lt;/P&gt;&lt;P&gt;When I use one of these functions and pass the different parameters, how can this work properly?&lt;/P&gt;&lt;PRE&gt;fis = db.Collector(of_class='FamilyInstance')

start_point = XYZ(1, 0, 0)
end_point = XYZ(2, 0, 0)

line = Line.new(start_point, end_point)

views = db.Collector(of_class='View')
ItemFactoryBase.NewFamilyInstance(line, fis[1].Symbol, views[1])&lt;/PRE&gt;&lt;P&gt;The code above gave me the following error in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;RevitPythonShell&lt;/P&gt;&lt;P&gt;ItemFactoryBase.NewFamilyInstance(line, fis[1].Symbol, views[1])&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
TypeError: NewFamilyInstance() takes at least 4 arguments (3 given)&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Aug 2022 04:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11385669#M17125</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-28T04:56:18Z</dc:date>
    </item>
    <item>
      <title>Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11386377#M17126</link>
      <description>&lt;P&gt;Apparently, Python has methods to handle function overloads; I see some simply searching the Internet for "python .net overload":&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=python+.net+overload&amp;amp;atb=v314-1&amp;amp;ia=web" target="_blank"&gt;https://duckduckgo.com/?q=python+.net+overload&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't some of them be used to handle the Revit API methods? I would check out pyRevit, for instance, and the RevitPythonShell. They both support the entire Revit API, afaik, and they must support the&amp;nbsp;&lt;SPAN&gt;NewFamilyInstance overloads in order to achieve that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2022 19:59:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11386377#M17126</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-08-28T19:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11386896#M17127</link>
      <description>&lt;P&gt;I am not sure if it's implemented in Revit Python API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is Revit Python API is just a wrapper of .net framework.&amp;nbsp; It's not using any of tools like&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; pythonlangutil.overload &lt;SPAN class=""&gt;import&lt;/SPAN&gt; Overload, signature&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; typing &lt;SPAN class=""&gt;import&lt;/SPAN&gt; overload&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to achieve function overloading kind of things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does .net implement that by default? I don't know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could provide a example, I would really appreciate that. Based on my trial in Revit Python Shell, it didn't work that way.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 05:19:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11386896#M17127</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T05:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387441#M17128</link>
      <description>&lt;P&gt;Python isn't my language but I've not really encountered many people using it saying that they can't create FamilyInstances due to overloading. I think it would have come up prior to now. Perhaps you can wait here for a reply from someone with better knowledge of Python or see if it has come up elsewhere:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.theprovingground.org/revit-api-py-family" target="_blank" rel="noopener"&gt;RevitPythonShell: Families - THE PROVING GROUND&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that the signatures are not ambiguous in terms of the order of the types used in such. So although Python isn't a strongly typed language you are still in the end passing types to the Revit API in a set order. Would be an issue perhaps if some of the parameters were optional or you passed a base class where the distinction of a inherited class is required. I believe also that the issue with overloading in Python is likely more about the objects you author in Python since it isn't typed (although there are awkward mechanisms for that overloading). There has to be some disadvantage to writing less,.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My other observation is that you shouldn't be using ItemFactoryBase directly since it needs to be initialised with a Document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From link above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;familyInst = doc.FamilyCreate.NewFamilyInstance(loc, famsymb, Structure.StructuralType.NonStructural)
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 12:01:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387441#M17128</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2022-08-29T12:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387450#M17129</link>
      <description>&lt;P&gt;Yup, fully agree with Richard on all points. If you prefer to get a faster answer on Python-specific aspects, the experts in the (Python-based) Dynamo forum may be able to help you better and faster:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forum.dynamobim.com" target="_blank"&gt;https://forum.dynamobim.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:39:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387450#M17129</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-08-29T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387486#M17130</link>
      <description>&lt;P&gt;it looks like you are just taking the first item in a collection of all the elements and views in the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you know the family you are getting from the 1st element in the collector is a line based family?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And how do you know the view you are using is a suitable view. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I believe your view collector could actually be getting returning a view type instead of an actual view. &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:56:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11387486#M17130</guid>
      <dc:creator>sragan</dc:creator>
      <dc:date>2022-08-29T11:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388860#M17131</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/546841"&gt;@sragan&lt;/a&gt;&amp;nbsp;, you raised very good quesions and actually these questions are also what I 'd like to know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using json.dumps(fis[1]) to get all the object information but unfortunately, this fis[1] &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; JSON serializable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked into all the members and methods of this object - fis[1], but none of them seems to be able to answer this question - whether or not fis[1] is a line based family? How can I find out, I need your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second question, the view - views[1] - the second element of views array, I have checked it's Name property and ToString() method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is here,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt; views[&lt;SPAN&gt;1&lt;/SPAN&gt;].Name&lt;BR /&gt;&lt;SPAN&gt;'Level 0'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt; views[&lt;SPAN&gt;1&lt;/SPAN&gt;].&lt;SPAN&gt;ToString&lt;/SPAN&gt;()&lt;BR /&gt;&lt;SPAN&gt;'Autodesk.Revit.DB.ViewPlan'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't have a clue if it's a view type of an actual view. Please advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anything else you'd like to know please let me know. Much appricate.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:18:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388860#M17131</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T21:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388868#M17132</link>
      <description>Thank you for your advice, Jeremy.&lt;BR /&gt;&lt;BR /&gt;I will try and once I believe it's done in this thread here. Actually, it's quite helpful and I have got quite good information here already. Really appreciate.</description>
      <pubDate>Mon, 29 Aug 2022 21:21:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388868#M17132</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T21:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388890#M17133</link>
      <description>&lt;P&gt;I haven't used Python recently, and I'm not following the JSON comment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, with Revit, its very common to have to go through a collection and the name of every element until you find the one you want.&amp;nbsp; &amp;nbsp;With C#, this is accomplished with a "foreach" statement.&amp;nbsp; For example, this code finds a family symbol named data and places it in "familySymbolToFind":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;FilteredElementCollector familyCollector = new FilteredElementCollector(doc);
familyCollector.OfClass(typeof(FamilySymbol));
FamilySymbol familySymbolToFind = null;
foreach (FamilySymbol familySymbol in familyCollector)
{ 
if (familySymbol.Name == "Data")
{familySymbolToFind = familySymbol;
}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Its also common to use .WhereElementIsNotElementType() to return only actual family instances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, it looks like the overload that uses a line is only applicable to detail based families:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/insert-line-based-family/td-p/10263027" target="_blank"&gt;Solved: Insert line based family - Autodesk Community - Revit Products&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:35:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388890#M17133</guid>
      <dc:creator>sragan</dc:creator>
      <dc:date>2022-08-29T21:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388896#M17134</link>
      <description>Thank you for your help, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;I am not sure if this issue is caused by no equivalent function overloading in Python. This is a guess, hence I posted here to get help.&lt;BR /&gt;&lt;BR /&gt;I will keep looking for the answer and once I am clear, will post some results here.&lt;BR /&gt;&lt;BR /&gt;It's possible I am in a wrong way to use the FamilyInstance create function which caused this issue. I am very new to Revit API.&lt;BR /&gt;&lt;BR /&gt;And no offence, the example in Revit Documentation mostly is about how to query a result once you have got the object but very little information about how to create an object. Hence, I am struggling to find how it works and how to use the API.&lt;BR /&gt;&lt;BR /&gt;In this link, from a Python developer point of view,&lt;BR /&gt;&lt;A href="https://www.revitapidocs.com/2022/899076fd-73d2-5be0-8872-b8f389d4ba49.htm" target="_blank"&gt;https://www.revitapidocs.com/2022/899076fd-73d2-5be0-8872-b8f389d4ba49.htm&lt;/A&gt;&lt;BR /&gt;it's very natrual to initiatlize a ItemFactoryBase object first, then call it's method - NewFamilyInstance to create a line based family instane. Because, from the examples, no matter C# or Visual Basic, it didn't say the method is a static method, so initilise the object is very much based instinct of a developer. However, when I initilize ItemFactoryBase, the RevitPythonShell said, there is no public constructor.&lt;BR /&gt;&lt;BR /&gt;public FamilyInstance NewFamilyInstance(&lt;BR /&gt;Line line,&lt;BR /&gt;FamilySymbol symbol,&lt;BR /&gt;View specView&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;I struggled to find bits and pieces from Internet, finally, I have found this&lt;BR /&gt;&lt;A href="https://www.revitapidocs.com/2022/4f835512-a922-c7da-d389-3bdcb41a5660.htm" target="_blank"&gt;https://www.revitapidocs.com/2022/4f835512-a922-c7da-d389-3bdcb41a5660.htm&lt;/A&gt;,&lt;BR /&gt;Document class also have method with the same name with the same purpose ( I guess), but I don't know when and how to use both.&lt;BR /&gt;- NewFamilyInstance(Line, FamilySymbol, View)&lt;BR /&gt;&lt;BR /&gt;So, if I use this approach, RevitPythonShell won't give the complain about the parameter numbers. (It complained something else, fis[1] is not a line based family)&lt;BR /&gt;doc.Create.NewFamilyInstance(line.unwrap(), fis[1].Symbol, views[0])&lt;BR /&gt;&lt;BR /&gt;And thank you to point out this approach&lt;BR /&gt;- doc.FamilyCreate.NewFamilyInstance&lt;BR /&gt;I did try that, however, this method is used in FamilyEditor.&lt;BR /&gt;&lt;BR /&gt;However, Actually, I am trying to place a FamilyInstance in a Project rather than editing/creating a new FamilyInstance.&lt;BR /&gt;&lt;BR /&gt;Really appreciate your help and looking forwards for your feedback.</description>
      <pubDate>Mon, 29 Aug 2022 21:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388896#M17134</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T21:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388898#M17135</link>
      <description>Thank you &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/546841"&gt;@sragan&lt;/a&gt; , you raised very good quesions and actually these questions are also what I 'd like to know.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried using json.dumps(fis[1]) to get all the object information but unfortunately, this fis[1] is not JSON serializable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have looked into all the members and methods of this object - fis[1], but none of them seems to be able to answer this question - whether or not fis[1] is a line based family? How can I find out, I need your help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Second question, the view - views[1] - the second element of views array, I have checked it's Name property and ToString() method.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The result is here,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; views[1].Name&lt;BR /&gt;'Level 0'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; views[1].ToString()&lt;BR /&gt;'Autodesk.Revit.DB.ViewPlan'&lt;BR /&gt;&lt;BR /&gt;I don't have a clue if it's a view type of an actual view. Please advice.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anything else you'd like to know please let me know. Much appricate.</description>
      <pubDate>Mon, 29 Aug 2022 21:39:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388898#M17135</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388913#M17136</link>
      <description>In Javascript, to check all the info contained in an object is using JSON.stringify(obj1) so you will see all the properties value belonging to the obj.&lt;BR /&gt;&lt;BR /&gt;Normally, Python approach is using print(obj) if the __repr__ private method is implemented and exposed as much as possible that the information of this object contained. This object is not a dataclass so JSON serilize approach doesn't work.&lt;BR /&gt;&lt;BR /&gt;hmm... your code is very helpful, but it doesn't show how to verifiy this ojbect is a line based family or not.&lt;BR /&gt;Maybe which property of familySymbol I should check? Is there a condition I can use to filter and get the answer about if it's a line based family?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:48:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11388913#M17136</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-08-29T21:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11389580#M17137</link>
      <description>&lt;P&gt;Probably, most of your questions would be immediately answered if you would be willing to take a plunge into any of the numerous 'getting started with the Revit API' tutorials. Many of them are C# based, but for absolute beginners. Some are Python-based. Some work with the built-in Revit macro IDE, the integrated development environment, so you don't have to install anything whatsoever:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=revit+api+python+getting+started" target="_blank" rel="noopener"&gt;https://duckduckgo.com/?q=revit+api+python+getting+started&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main reason I make this suggestion is that there are a number of common standard procedures for identifying the objects and elements that you are searching for using a filtered element collector, and it would be useful for you to know about and understand them. First and forest, I am thinking of the Element .NET class name and the category. The class name will immediately inform you whether it is a type or instance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another point is that some aspects of the Revit API are very non-obvious for a seasoned programmer. An experienced Revit end user, on the other hand, will find it much easier to understand, since she knows the underlying BIM paradigm motivating the relationships and interactions between elements. In case you haven't taken a look yet, here are some hints:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 06:48:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11389580#M17137</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-08-30T06:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11389670#M17138</link>
      <description>&lt;P&gt;The link I provided from the heading entitled 'Placing a Single Family Instance' onwards covers both filtering for elements and placing a family instance or multiple family instances. Is this still missing something you require or not working when you switch to the overload you require?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;TypeError: NewFamilyInstance() takes at least 4 arguments (3 given)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is expecting Document also but the above is more an indication you are doing something larger wrong because you can see from the overloads in the API documentation that there are overloads with three arguments. A lot of Python users when starting out seem to make the mistake of using certain class objects directly in a static way which results in an argument number count error similar to the above. They should ask themselves what are the requirements of this class i.e. which Document is the FamilyInstance being placed in and how do I specify that? They may believe it will be placed in the active document automatically but that would be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;line = Line.new(start_point, end_point)&lt;/PRE&gt;&lt;P&gt;I believe the above is also wrong, there is no public constructor for Line, use Line.CreateBound.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should have noted that you would only use Document.&lt;STRONG&gt;Family&lt;/STRONG&gt;Create.NewFamilyInstance if you are placing the instance in a family document otherwise you would be using Document.Create.NewFamilyInstance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My limited use of Python made me aware that errors in Python sometimes go back further than the line noted. If you get the wrong object out from a line higher up it'll still get fed into the function on the line with the error (causing the error). In a strongly typed language such an issue would result in a more obvious to understand invalid cast exception (more local to the actual error you made). So you should also probably focus more on the whole thing rather than a specific line error. In a way you need to know more about the object model of the Revit API when using Python because of the lack of type safety. The error related to the 'Line.New' is a good example of that since you would not be able to access that ordinarily in VB.Net or C# so in Python you have to have that extra knowledge that there is no public 'New' on 'Line' class of any kind (unless the RPS/RPW is adding something here).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"is not a line based family" means you are on the right track and have got through to the API. Is the family you are adding a line based detail item?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 10:09:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11389670#M17138</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2022-08-30T10:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11391034#M17139</link>
      <description>&lt;P&gt;I looked through some detail family symbols with Revit Lookup and it seems like line based detail family symbols will have the built-in parameter&amp;nbsp;FAMILY_LINE_LENGTH_PARAM while non-line-based symbols will not. However, even though the family symbol has that parameter, HasValue will usually--or maybe even always--be false as each instance defines its own line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if symbol.get_parameter(BuiltInParameter.FAMILY_LINE_LENGTH_PARAM) != None
    # It's a line based family symbol&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, to elaborate a bit on what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;&amp;nbsp;has already said, NewFamilyInstance wasn't working because it was being called as a static method when it is actually an instance method. The reason it was saying&amp;nbsp;&lt;EM&gt;TypeError: NewFamilyInstance() takes at least 4 arguments (3 given)&lt;/EM&gt; is that in .NET every instance method has&amp;nbsp;the instance,&amp;nbsp;&lt;EM&gt;this&lt;/EM&gt;, as an implicit first argument. Instance methods are distinguished from static methods by the lack of the &lt;EM&gt;static&lt;/EM&gt; keyword. In python, the instance parameter, &lt;EM&gt;self&lt;/EM&gt;, is explicitly present in the signatures of instance methods.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 17:19:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11391034#M17139</guid>
      <dc:creator>mhannonQ65N2</dc:creator>
      <dc:date>2022-08-30T17:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398301#M17140</link>
      <description>Thank you &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8377999"&gt;@mhannonQ65N2&lt;/a&gt;. Do you know how to create a instance first then from the instance to call the instance method?&lt;BR /&gt;&lt;BR /&gt;I tried, but it said no public constructor so I can't call instance method.&lt;BR /&gt;&lt;BR /&gt;Actually, I still don't know how to use ItemFactoryBase.NewFamilyInstance this API still.&lt;BR /&gt;&lt;BR /&gt;I am still struggling to understand this. Though I have better understanding now and have more materials to look at in this stage but still feel not confident about this topic.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:01:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398301#M17140</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-09-02T19:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398326#M17141</link>
      <description>So the Line class I used here is not a Revit Line class but from RevitPythonWrapper.&lt;BR /&gt;line = Line.new(start_point, end_point)&lt;BR /&gt;&lt;BR /&gt;If we deep dive into the implementation of this rpw (RevitPythonWrapper) Line class, you will find this, it did use DB.Line.CreateBound, so rpw.Line.new is just a wrapper. So it's not the root cause.&lt;BR /&gt;&lt;BR /&gt;class Line(Curve):&lt;BR /&gt;&lt;BR /&gt;"""&lt;BR /&gt;DB.Line Wrapper&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; line = Line.new([-10,0], [10,0])&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; # or&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; line = Line.new(ExistingLineObject)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; line.create_detail()&lt;BR /&gt;&lt;BR /&gt;"""&lt;BR /&gt;_revit_object_class = DB.Line&lt;BR /&gt;&lt;BR /&gt;@classmethod&lt;BR /&gt;def new(cls, pt1, pt2):&lt;BR /&gt;"""&lt;BR /&gt;Args:&lt;BR /&gt;point1 (``point``): Point like object. See :any:`XYZ`&lt;BR /&gt;point2 (``point``): Point like object. See :any:`XYZ`&lt;BR /&gt;"""&lt;BR /&gt;pt1 = XYZ(pt1)&lt;BR /&gt;pt2 = XYZ(pt2)&lt;BR /&gt;line = DB.Line.CreateBound(pt1.unwrap(), pt2.unwrap())&lt;BR /&gt;return cls(line)&lt;BR /&gt;&lt;BR /&gt;I am a newbie about Revit model, I already have many years of Python experience.&lt;BR /&gt;&lt;BR /&gt;I understand it's a instance method not a class/static method, however, I am not able to create a instance because it said no public constructor.&lt;BR /&gt;&lt;BR /&gt;Actually your last question is also what I am trying to figure out.&lt;BR /&gt;&lt;BR /&gt;"Is the family you are adding a line based detail item?" I don't know how to tell if this is a line based detail item.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:16:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398326#M17141</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-09-02T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398338#M17142</link>
      <description>&lt;P&gt;It's like&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;&amp;nbsp;said; you don't create a new instance, you use your current document's instance.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;myDocument.Create.NewFamilyInstance(line, fis[1].Symbol, views[1])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for if it's a line based detail item, check it's Category to see if it's a detail item and check if it has the&amp;nbsp;FAMILY_LINE_LENGTH_PARAM built-in parameter to see if it's line-based.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398338#M17142</guid>
      <dc:creator>mhannonQ65N2</dc:creator>
      <dc:date>2022-09-02T19:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398367#M17143</link>
      <description>&lt;P&gt;Since it's not a line based family, I also tried using location based method (&lt;/P&gt;&lt;P&gt;NewFamilyInstance Method (XYZ, FamilySymbol, StructuralType)&lt;/P&gt;&lt;P&gt;)to create that family instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt; doc.Create.&lt;SPAN&gt;NewFamilyInstance&lt;/SPAN&gt;(start_point.&lt;SPAN&gt;unwrap&lt;/SPAN&gt;(), fis[&lt;SPAN&gt;1&lt;/SPAN&gt;].Symbol, DB.Structure.StructuralType.Column)&lt;BR /&gt;&lt;SPAN&gt;Traceback&lt;/SPAN&gt; (most recent call last):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;File &lt;SPAN&gt;"&amp;lt;stdin&amp;gt;"&lt;/SPAN&gt;, line &lt;SPAN&gt;1&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &amp;lt;module&amp;gt;&lt;BR /&gt;EnvironmentError: System.Runtime.InteropServices.&lt;SPAN&gt;SEHException&lt;/SPAN&gt; (&lt;SPAN&gt;0x80004005&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; External component has thrown an exception.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SubTransaction.&lt;SPAN&gt;start&lt;/SPAN&gt;(SubTransaction* )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Autodesk.Revit.Creation.ItemFactoryBase.&lt;SPAN&gt;NewFamilyInstance&lt;/SPAN&gt;(XYZ location, FamilySymbol symbol, StructuralType structuralType)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.FuncCallInstruction`&lt;SPAN&gt;5&lt;/SPAN&gt;.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.FuncCallInstruction`&lt;SPAN&gt;8&lt;/SPAN&gt;.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at IronPython.Compiler.Ast.CallExpression.Invoke3Instruction.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.&lt;SPAN&gt;Run&lt;/SPAN&gt;(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at IronPython.Compiler.PythonScriptCode.&lt;SPAN&gt;RunWorker&lt;/SPAN&gt;(CodeContext ctx)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at IronPython.Hosting.PythonCommandLine.&amp;lt;&amp;gt;c__DisplayClass27_0.&amp;lt;RunOneInteraction&amp;gt;&lt;SPAN&gt;b__0&lt;/SPAN&gt;()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above exception is raised.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah, it's so hard, so difficult to use and very limited information online.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:51:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398367#M17143</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-09-02T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Revit .Net API has function overloading, however Python doesn't support overloading</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398373#M17144</link>
      <description>&lt;P&gt;Also tried this API -&amp;nbsp;&lt;/P&gt;&lt;P&gt;NewFamilyInstance Method (XYZ, FamilySymbol, View)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;views = db.&lt;SPAN&gt;Collector&lt;/SPAN&gt;(of_class=&lt;SPAN&gt;'View'&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt; views[&lt;SPAN&gt;3&lt;/SPAN&gt;].Name&lt;BR /&gt;&lt;SPAN&gt;'Level 1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;doc.Create.NewFamilyInstance(start_point.unwrap(), fis[1].Symbol, views[3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exception : Autodesk.Revit.Exceptions.ArgumentException: Family cannot be placed as hosted on an input face reference, because its FamilyPlacementType is not ViewBased&lt;BR /&gt;Parameter name: symbol&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Autodesk.Revit.Creation.ItemFactoryBase.NewFamilyInstance(XYZ origin, FamilySymbol symbol, View specView)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.FuncCallInstruction`8.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at IronPython.Compiler.Ast.CallExpression.Invoke3Instruction.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Microsoft.Scripting.Hosting.ScriptSource.ExecuteAndWrap(ScriptScope scope, ObjectHandle&amp;amp; exception)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:51:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-net-api-has-function-overloading-however-python-doesn-t/m-p/11398373#M17144</guid>
      <dc:creator>chendong.jy</dc:creator>
      <dc:date>2022-09-02T19:51:04Z</dc:date>
    </item>
  </channel>
</rss>

