RevitAPIExtensions 2015.0.1

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

Install-Package RevitAPIExtensions -Version 2015.0.1
dotnet add package RevitAPIExtensions --version 2015.0.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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-&gt;Nuget Package Manager-&gt;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>();
        }
    }
}

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-&gt;Nuget Package Manager-&gt;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>();
        }
    }
}

Release Notes

Initial Release

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2015.0.1 269 6/7/2018