Application
The Application Creation object is used to create new instances of utility objects.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.Creation.Application
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class Application : APIObject
The Application type exposes the following members.
Properties
Name
Description
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Methods
Name
Description
Public Method
Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
NewAreaCreationData
Creates an object which wraps the arguments of Area for batch creation.
Public Method
NewBoundingBoxUV.
Creates an empty two-dimensional rectangle.
Public Method
NewBoundingBoxUV(Double, Double, Double, Double)
Creates a two-dimensional rectangle with supplied values.
Public Method
NewBoundingBoxXYZ
Creates a three-dimensional rectangular box.
Public Method
NewCategorySet
Creates a new instance of a set specifically for holding category objects.
Public Method
Code Example
NewColor
Returns a new color object.
Public Method
NewCombinableElementArray
Returns an array that can hold combinable element objects.
Public Method
NewCurveArrArray
Creates an empty array that can store geometric curve loops.
Public Method
NewCurveArray
Creates an empty array that can store geometric curves.
Public Method
NewCurveLoopsProfile
Creates a new CurveLoopsProfile object.
Public Method
NewDoubleArray
Creates a new instance of a double array.
Public Method
NewDWFExportOptions
Creates DWF Export options.
Public Method
NewDWFXExportOptions
Creates DWFX Export options.
Public Method
NewElementId
Creates a new Autodesk::Revit::DB::ElementId^ object.
Public Method
NewElementSet
Creates a new instance of a set specifically for holding elements.
Public Method
NewFaceArray
Creates a new instance of a face array.
Public Method
NewFamilyInstanceCreationData(FamilySymbol, IList.XYZ.)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(Face, Line, FamilySymbol)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(XYZ, FamilySymbol, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(Curve, FamilySymbol, Level, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(Face, XYZ, XYZ, FamilySymbol)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(XYZ, FamilySymbol, Element, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(XYZ, FamilySymbol, Level, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(XYZ, FamilySymbol, Element, Level, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilyInstanceCreationData(XYZ, FamilySymbol, XYZ, Element, StructuralType)
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Public Method
NewFamilySymbolProfile
Creates a new FamilySymbolProfile object.
Public Method
NewFBXExportOptions
Creates 3D-Studio Max (FBX) Export options.
Public Method
NewGBXMLImportOptions
Creates Green-Building XML Import options.
Public Method
Code Example
NewGeometryOptions
Creates an object to specify user preferences in parsing of geometry.
Public Method
NewInstanceBinding.
Creates a new empty instance binding object.
Public Method
NewInstanceBinding(CategorySet)
Creates a new instance binding object containing the categories passed as a parameter.
Public Method
NewIntersectionResultArray
Creates a new instance of an IntersectionResult array.
Public Method
NewPointOnEdge
Create a PointOnEdge object which is used to define the placement of a ReferencePoint.
Public Method
NewPointOnEdgeEdgeIntersection
Construct a PointOnEdgeEdgeIntersection object which is used to define the placement of a ReferencePoint given two references to edge.
Public Method
NewPointOnEdgeFaceIntersection
Construct a PointOnEdgeFaceIntersection object which is used to define the placement of a ReferencePoint given a references to edge and a reference to face.
Public Method
NewPointOnFace
Construct a PointOnFace object which is used to define the placement of a ReferencePoint given a reference and a location on the face.
Public Method
NewPointOnPlane
Construct a PointOnPlane object which is used to define the placement of a ReferencePoint from its property values.
Public Method
NewPointRelativeToPoint
Create a PointRelativeToPoint object, which is used to define the placement of a ReferencePoint relative to a host point.
Public Method
NewProjectPosition
Creates a new project position object.
Public Method
NewReferenceArray
Creates a new instance of a reference array.
Public Method
NewReferencePointArray
Creates an empty array that can store ReferencePoint objects.
Public Method
NewSpaceSet
Creates a new instance of a space set.
Public Method
NewTypeBinding.
Creates a new empty type binding object.
Public Method
NewTypeBinding(CategorySet)
Creates a new type binding object containing the categories passed as a parameter.
Public Method
NewUV.
Creates a UV object at the origin.
Public Method
NewUV(UV)
Creates a UV object by copying the supplied UV object.
Public Method
NewUV(Double, Double)
Creates a UV object representing coordinates in 2-space with supplied values.
Public Method
NewVertexIndexPair
Creates a new VertexIndexPair object.
Public Method
NewVertexIndexPairArray
Returns an array that can hold VertexIndexPair objects.
Public Method
NewViewSet
Creates a new instance of a View set.
Public Method
NewXYZ.
Creates a XYZ object at the origin.
Public Method
NewXYZ(XYZ)
Creates a XYZ object by copying the supplied XYZ object.
Public Method
NewXYZ(Double, Double, Double)
Creates a XYZ object representing coordinates in 3-space with supplied values.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
General purpose objects can be generated by this creation object. Creating objects via this object ensures that they will be correctly constructed and will reside in the Autodesk Revit memory space.