Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Revit API - Materials
Rating: 4.6 out of 5(4 ratings)
20 students

Revit API - Materials

How to work with Materials when programming the Revit API
Created byHarry Mattison
Last updated 3/2019
English

What you'll learn

  • How to use the Revit API to work with Materials

Course content

1 section7 lectures59m total length
  • How to change value of parameters of materials in revit api3:29

    Discover how to change material parameters in the Revit API by using a filtered element collector and class filter, then start a transaction and use lookup parameter to set manufacturer.

  • Set Material Color11:23

    Learn to use the rivet api to get and set material parameters, run a transaction, inspect materials with rivet look up, and set colors via material cast with rgb values.

  • What materials are used & not used in a Revit project?9:10

    Learn to determine and purge unused materials in a Revit project with a macro, counting materials in use vs not in use and safely rolling back transactions.

  • How to get area and volume of materials8:12

    Calculate material area and volume in the Revit API by using get material area and get material volume methods on walls, floors, and rooms, then aggregate results in dictionaries.

  • Material Assets6:19
  • Set material asset color and rotation12:17
  • Find the image file used by a material9:03

    Note that many classes used in this sample are in the Autodesk.Revit.DB.Visual namespace, so add this line at the top of your file.

    using Autodesk.Revit.DB.Visual;   

Requirements

  • C# programming & basic understanding of Revit API

Description

This course will help you learn how to perform common operations with Materials in the Revit API. There is a lot of data about materials that exists in Revit's database that is not easily accessible from the Revit User Interface, so the API can be a great help in collecting this data. Please add comments on the course to suggest additional Materials topics that you would like covered.

Who this course is for:

  • Revit API developers who want to learn more about the Materials API