RevitAPIExtensions 2015.0.1

dotnet add package RevitAPIExtensions --version 2015.0.1
NuGet\Install-Package RevitAPIExtensions -Version 2015.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RevitAPIExtensions" Version="2015.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RevitAPIExtensions --version 2015.0.1
#r "nuget: RevitAPIExtensions, 2015.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RevitAPIExtensions as a Cake Addin
#addin nuget:?package=RevitAPIExtensions&version=2015.0.1

// Install RevitAPIExtensions as a Cake Tool
#tool nuget:?package=RevitAPIExtensions&version=2015.0.1

Revit API Extensions

A library of extension methods added to classes of the Autodesk Revit API

https://www.nuget.org/packages/RevitAPIExtensions/

https://bitbucket.org/somddg/revit-api-extensions/src/master/

Installation

The Revit API Extensions can be installed from Nuget through the Visual Studio Nuget Package Manager.

  1. Open Tools->Nuget Package Manager->Manage Nuget Packages for Solution
  2. Open the Browse tab
  3. Search for "RevitAPIExtensions"
  4. Select the latest version for the current target release of the Revit API
  5. Select the desired Visual studio project(s) to install to.
  6. Click Install to add the extensions library ​

Usage

using Autodesk.Revit.DB;

//1. Add the RevitAPIExtensions name space
using RevitAPIExtensions;

namespace RevitAPIExtensions
{
    internal class MyClass
    {
        public void MyMethod()
        {
            Parameter param = null;

            //2. Start using the extension methods on Revit API Classes
            var boolValue = param.AsBool();
            var elemValue = param.AsElement();
            var wallelem = param.AsElement<Wall>();
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2015.0.1 1,197 6/7/2018

Initial Release