2022 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 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 NewDiameterDimension(View, Reference, XYZ) Dimension Creates a new diameter dimension object using the default dimension type.
M NewExtrusionForm(Boolean, ReferenceArray, XYZ) Form Create new Form element by Extrude operation, and add it into the Autodesk Revit family document.
M NewExtrusion(Boolean, CurveArrArray, SketchPlane, Double) Extrusion Add a new Extrusion instance into the Autodesk Revit family document.
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 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 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 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, CurveArray, SketchPlane, SweepProfile, Int32, ProfilePlaneLocation) Sweep Adds a new sweep form to the family document, using a path of curve elements.
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 NewSweptBlendForm(Boolean, ReferenceArray, ReferenceArrayArray) Form Create new Form element by swept blend operation, and add it into the Autodesk Revit family document.
M NewSweptBlend(Boolean, Curve, SketchPlane, SweepProfile, SweepProfile) SweptBlend Add a new swept blend into the family document, using a curve as the path.
M NewSweptBlend(Boolean, Reference, SweepProfile, SweepProfile) SweptBlend Adds a new swept blend into the family document, using a selected reference as the path.
M NewSymbolicCurve(Curve, SketchPlane) SymbolicCurve Create a symbolic curve in an Autodesk Revit family document.
M Dispose() None Causes the object to release immediately any resources it may be utilizing. APIObject
M NewAlignment(View, Reference, Reference) Dimension Add a new locked alignment into the Autodesk Revit document. ItemFactoryBase
M NewDetailCurveArray(View, CurveArray) nullNothingnullptr Creates an array of new detail curve elements. ItemFactoryBase
M NewDetailCurve(View, Curve) nullNothingnullptr Creates a new detail curve element. ItemFactoryBase
M NewDimension(View, Line, ReferenceArray) nullNothingnullptr Creates a new linear dimension object using the default dimension style. ItemFactoryBase
M NewDimension(View, Line, ReferenceArray, DimensionType) nullNothingnullptr Creates a new linear dimension object using the specified dimension style. ItemFactoryBase
M NewFamilyInstance(Face, Line, FamilySymbol) nullNothingnullptr 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. ItemFactoryBase
M NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol) nullNothingnullptr Inserts a new instance of a family onto a face of an existing element, using a location, reference direction, and a type/symbol. 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. ItemFactoryBase
M NewFamilyInstance(Reference, Line, FamilySymbol) nullNothingnullptr 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. ItemFactoryBase
M NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol) nullNothingnullptr 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. ItemFactoryBase
M NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType) nullNothingnullptr Inserts a new instance of a family into the document, using a location, type/symbol, and the host element. ItemFactoryBase
M NewFamilyInstance(XYZ, FamilySymbol, StructuralType) FamilyInstance Inserts a new instance of a family into the document, using a location and a type/symbol. 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. ItemFactoryBase
M NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType) nullNothingnullptr Inserts a new instance of a family into the document, using a location, type/symbol, the host element and a reference direction. ItemFactoryBase
M NewFamilyInstances2(List<FamilyInstanceCreationData>) ICollection<ElementId> Creates Family instances within the document. ItemFactoryBase
M NewGroup(ICollection<ElementId>) Group Creates a new type of group. ItemFactoryBase
M NewModelCurveArray(CurveArray, SketchPlane) nullNothingnullptr Creates an array of new model line elements. ItemFactoryBase
M NewModelCurve(Curve, SketchPlane) nullNothingnullptr Creates a new model line element. ItemFactoryBase
M NewReferencePlane2(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane. ItemFactoryBase
M NewReferencePlane(XYZ, XYZ, XYZ, View) ReferencePlane Creates a new instance of ReferencePlane. ItemFactoryBase
M PlaceGroup(XYZ, GroupType) nullNothingnullptr Place an instance of a Model Group into the Autodesk Revit document, using a location and a group type. ItemFactoryBase
Name Return Type Description Inherited From
P IsReadOnly bool Identifies if the object is read-only or modifiable. APIObject