Skip to main content

Document

Less than 1 minute

some methods and algorithms based on Document class encapsulation

Tips

The following documentation only provides function prototypes, if you have any questions please check the Documentation

GetElement (ElementId)

Gets an element of the specified type based on the element ID

RevitSugar.DB.DocumentExtensions.GetElement<T>(Autodesk.Revit.DB.Document,Autodesk.Revit.DB.ElementId)

GetElement (Int)

Gets an element of the specified type based on the integer value of the element ID

RevitSugar.DB.DocumentExtensions.GetElement<T>(Autodesk.Revit.DB.Document,System.Int32)

GetElement (String)

Gets an element of the specified type based on the element GUID

RevitSugar.DB.DocumentExtensions.GetElement<T>(Autodesk.Revit.DB.Document,System.String)

GetElement (Reference)

Gets an element of the specified type by reference

RevitSugar.DB.DocumentExtensions.GetElement<T>(Autodesk.Revit.DB.Document,Autodesk.Revit.DB.Reference)