Quantcast
Channel: RevitNetAddinWizard & NavisworksNetAddinWizard
Viewing all articles
Browse latest Browse all 872

Revit .NET API: Plane.Plane(XYZ norm, XYZ origin) vs. Plane.CreateByNormalAndOrigin(XYZ norm, XYZ origin)

$
0
0

Revit .NET API 2017 introduces the Plane.CreateByNormalAndOrigin(XYZ norm, XYZ origin)  static method, which seems to replace the old Plane.Plane(XYZ norm, XYZ origin) .

Except for its name being so long this time (supposing its a benefit for API names), no any other benefits or changes at all. Oh!

Does it look a trend to do things like this? What about thousands of other similar methods then?

For example:

NewFamilyInstance Method (XYZ, FamilySymbol, Element, Level, StructuralType)

publicFamilyInstanceNewFamilyInstance(XYZlocation,FamilySymbolsymbol,Elementhost,Levellevel,StructuralTypestructuralType
)

Will it become CreateFamilyInstanceByLocationFamilySymbolHostLevelAndStructuralType(...) some day? Oh, My Dear!

Revit  .NET Addin Wizard can help create Revit .NET projects (both C# and VB.NET) reliably in a few seconds with a lot of good options such as Revit version and flavor selection, default external application and command creations, a default ribbon button creation, the default manifest file (.Addin) creation and deployment, debugging setting, and so on. Please try it and you will be happy.


Viewing all articles
Browse latest Browse all 872

Trending Articles