2025 Class
Changes 4
C

ItemFactoryBase

Description:
The ItemFactoryBase object is used to create new instances of elements within the Autodesk Revit document.
Remarks:
The ItemFactoryBase object is a utility object that is used to create new instances of elements within the Autodesk Revit document. This class holds common methods used in both project documents and family documents.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.Creation.ItemFactoryBase
      Autodesk.Revit.Creation.Document
      Autodesk.Revit.Creation.FamilyItemFactory
public class ItemFactoryBase : APIObject
Name Return Type Description Inherited From
M Dispose() None Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M NewAlignment(View, Reference, Reference) Dimension Add a new locked alignment into the Autodesk Revit document.
M NewDetailCurve(View, Curve) DetailCurve Creates a new detail curve element.
M NewDetailCurveArray(View, CurveArray) DetailCurveArray Creates an array of new detail curve elements.
M NewDimension(View, Line, ReferenceArray) Dimension Creates a new linear dimension object using the default dimension style.
M NewDimension(View, Line, ReferenceArray, DimensionType) Dimension Creates a new linear dimension object using the specified dimension style.
M NewFamilyInstance(Face, Line, FamilySymbol) FamilyInstance Inserts a new instance of a family onto a face of an existing element, using a line on that face for its position, and a type/symbol.
M NewFamilyInstance(Line, FamilySymbol, View) FamilyInstance Add a line based detail family instance into the Autodesk Revit document, using an line and a view where the instance should be placed.
M NewFamilyInstance(Reference, Line, FamilySymbol) FamilyInstance Inserts a new instance of a family onto a face referenced by the input Reference instance, using a line on that face for its position, and a type/symbol.
M NewFamilyInstance(XYZ, FamilySymbol, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location and a type/symbol.
M NewFamilyInstance(XYZ, FamilySymbol, View) FamilyInstance Add a new family instance into the Autodesk Revit document, using an origin and a view where the instance should be placed.
M NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol) FamilyInstance Inserts a new instance of a family onto a face of an existing element, using a location, reference direction, and a type/symbol.
M NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol) FamilyInstance Inserts a new instance of a family onto a face referenced by the input Reference instance, using a location, reference direction, and a type/symbol.
M NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location, type/symbol, and the host element.
M NewFamilyInstance(XYZ, FamilySymbol, Level, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location, type/symbol, and the level.
M NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location, type/symbol, the host element and a reference direction.
M NewFamilyInstances2(List<FamilyInstanceCreationData>) ICollection<ElementId> Creates Family instances within the document.
M NewGroup(ICollection<ElementId>) Group Creates a new type of group.
M NewModelCurve(Curve, SketchPlane) ModelCurve Creates a new model line element.
M NewModelCurveArray(CurveArray, SketchPlane) ModelCurveArray Creates an array of new model line elements.
M NewReferencePlane(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane.
M NewReferencePlane2(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane.
M PlaceGroup(XYZ, GroupType) Group Place an instance of a Model Group into the Autodesk Revit document, using a location and a group type.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsReadOnly bool Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject