2027 Class
Changes 0
C

FamilyItemFactory

Description:
The Family Item Factory object is used to create new instances of elements within the Autodesk Revit Family.
Remarks:
The Family Item Factory object is a utility object that is used to create new instances of elements within the Autodesk Revit Family Document. This object should be used to create elements instead of using New. This object ensures that the elements created are added to the family document correctly.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.Creation.ItemFactoryBase
      Autodesk.Revit.Creation.FamilyItemFactory
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewAngularDimension(View, Arc, Reference, Reference) Dimension Creates a new angular dimension object using the default dimension type.
M NewAngularDimension(View, Arc, Reference, Reference, DimensionType) Dimension Creates a new angular dimension object using the specified dimension type.
M NewArcLengthDimension(View, Arc, Reference, Reference, Reference) Dimension Creates a new arc length dimension object using the default dimension type.
M NewArcLengthDimension(View, Arc, Reference, Reference, Reference, DimensionType) Dimension Creates a new arc length dimension object using the specified dimension type.
M NewBlend(Boolean, CurveArray, CurveArray, SketchPlane) Blend Add a new Blend instance into the Autodesk Revit family document.
M NewControl(ControlShape, View, XYZ) Control Add a new control into the Autodesk Revit family document.
M NewCurveByPoints(ReferencePointArray) CurveByPoints Create a 3d curve through two or more points in an Autodesk Revit family document.
M NewDetailCurve(View, Curve) DetailCurve Creates a new detail curve element. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewDetailCurveArray(View, CurveArray) DetailCurveArray Creates an array of new detail curve elements. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewDiameterDimension(View, Reference, XYZ) Dimension Creates a new diameter dimension object using the default dimension type.
M NewDimension(View, Line, ReferenceArray) Dimension Creates a new linear dimension object using the default dimension style. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewDimension(View, Line, ReferenceArray, DimensionType) Dimension Creates a new linear dimension object using the specified dimension style. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewExtrusion(Boolean, CurveArrArray, SketchPlane, Double) Extrusion Add a new Extrusion instance into the Autodesk Revit family document.
M NewExtrusionForm(Boolean, ReferenceArray, XYZ) Form Create new Form element by Extrude operation, and add it into the Autodesk Revit family document.
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewFamilyInstance(XYZ, FamilySymbol, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location and a type/symbol. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
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. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewFamilyInstances2(List<FamilyInstanceCreationData>) ICollection<ElementId> Creates Family instances within the document. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewFormByCap(Boolean, ReferenceArray) Form Create new Form element by cap operation (to create a single-surface form), and add it into the Autodesk Revit family document.
M NewFormByThickenSingleSurface(Boolean, Form, XYZ) Form Create a new Form element by thickening a single-surface form, and add it into the Autodesk Revit family document.
M NewGroup(ICollection<ElementId>) Group Creates a new type of group. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewLinearDimension(View, Line, ReferenceArray) Dimension Generate a new linear dimension object using the default dimension type.
M NewLinearDimension(View, Line, ReferenceArray, DimensionType) Dimension Creates a new linear dimension object using the specified dimension type.
M NewLoftForm(Boolean, ReferenceArrayArray) Form Create new Form element by Loft operation, and add it into the Autodesk Revit family document.
M NewModelCurve(Curve, SketchPlane) ModelCurve Creates a new model line element. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewModelCurveArray(CurveArray, SketchPlane) ModelCurveArray Creates an array of new model line elements. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewModelText(String, ModelTextType, SketchPlane, XYZ, HorizontalAlign, Double) ModelText Create a model text in the Autodesk Revit family document.
M NewOpening(Element, CurveArray) Opening Create an opening to cut the wall or ceiling.
M NewRadialDimension(View, Reference, XYZ) Dimension Creates a new radial dimension object using the default dimension type.
M NewRadialDimension(View, Reference, XYZ, DimensionType) Dimension Generate a new radial dimension object using a specified dimension type.
M NewReferencePlane(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewReferencePlane2(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane. (Inherited from ItemFactoryBase ) ItemFactoryBase
M NewReferencePoint(PointElementReference) ReferencePoint Create a reference point on an existing reference in an Autodesk Revit family document.
M NewReferencePoint(Transform) ReferencePoint Create a reference point at a given location and with a given coordinate system in an Autodesk Revit family document.
M NewReferencePoint(XYZ) ReferencePoint Create a reference point at a given location in an Autodesk Revit family document.
M NewRevolution(Boolean, CurveArrArray, SketchPlane, Line, Double, Double) Revolution Add a new Revolution instance into the Autodesk Revit family document.
M NewRevolveForms(Boolean, ReferenceArray, Reference, Double, Double) FormArray Create new Form elements by revolve operation, and add them into the Autodesk Revit family document.
M NewSweep(Boolean, ReferenceArray, SweepProfile, Int32, ProfilePlaneLocation) Sweep Adds a new sweep form into the family document, using an array of selected references as a 3D path.
M NewSweep(Boolean, CurveArray, SketchPlane, SweepProfile, Int32, ProfilePlaneLocation) Sweep Adds a new sweep form to the family document, using a path of curve elements.
M NewSweptBlend(Boolean, Reference, SweepProfile, SweepProfile) SweptBlend Adds a new swept blend into the family document, using a selected reference as the path.
M NewSweptBlend(Boolean, Curve, SketchPlane, SweepProfile, SweepProfile) SweptBlend Add a new swept blend into the family document, using a curve as the path.
M NewSweptBlendForm(Boolean, ReferenceArray, ReferenceArrayArray) Form Create new Form element by swept blend operation, and add it into the Autodesk Revit family document.
M NewSymbolicCurve(Curve, SketchPlane) SymbolicCurve Create a symbolic curve in an Autodesk Revit family document.
M PlaceGroup(XYZ, GroupType) Group Place an instance of a Model Group into the Autodesk Revit document, using a location and a group type. (Inherited from ItemFactoryBase ) ItemFactoryBase
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