FamilyItemFactory
Description:
The Family Item Factory object is used to create new instances of elements within the Autodesk Revit Family.
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.
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
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.Creation.ItemFactoryBase
Autodesk.Revit.Creation.FamilyItemFactory
public class FamilyItemFactory : ItemFactoryBase
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| NewAngularDimension(View, Arc, Reference, Reference) | Dimension | Creates a new angular dimension object using the default dimension type. | |
| NewAngularDimension(View, Arc, Reference, Reference, DimensionType) | Dimension | Creates a new angular dimension object using the specified dimension type. | |
| NewArcLengthDimension(View, Arc, Reference, Reference, Reference) | Dimension | Creates a new arc length dimension object using the default dimension type. | |
| NewArcLengthDimension(View, Arc, Reference, Reference, Reference, DimensionType) | Dimension | Creates a new arc length dimension object using the specified dimension type. | |
| NewBlend(Boolean, CurveArray, CurveArray, SketchPlane) | Blend | Add a new Blend instance into the Autodesk Revit family document. | |
| NewControl(ControlShape, View, XYZ) | Control | Add a new control into the Autodesk Revit family document. | |
| NewCurveByPoints(ReferencePointArray) | CurveByPoints | Create a 3d curve through two or more points in an Autodesk Revit family document. | |
| NewDiameterDimension(View, Reference, XYZ) | Dimension | Creates a new diameter dimension object using the default dimension type. | |
| NewExtrusionForm(Boolean, ReferenceArray, XYZ) | Form | Create new Form element by Extrude operation, and add it into the Autodesk Revit family document. | |
| NewExtrusion(Boolean, CurveArrArray, SketchPlane, Double) | Extrusion | Add a new Extrusion instance into the Autodesk Revit family document. | |
| 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. | |
| 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. | |
| NewLinearDimension(View, Line, ReferenceArray) | Dimension | Generate a new linear dimension object using the default dimension type. | |
| NewLinearDimension(View, Line, ReferenceArray, DimensionType) | Dimension | Creates a new linear dimension object using the specified dimension type. | |
| NewLoftForm(Boolean, ReferenceArrayArray) | Form | Create new Form element by Loft operation, and add it into the Autodesk Revit family document. | |
| NewModelText(String, ModelTextType, SketchPlane, XYZ, HorizontalAlign, Double) | ModelText | Create a model text in the Autodesk Revit family document. | |
| NewOpening(Element, CurveArray) | Opening | Create an opening to cut the wall or ceiling. | |
| NewRadialDimension(View, Reference, XYZ) | Dimension | Creates a new radial dimension object using the default dimension type. | |
| NewRadialDimension(View, Reference, XYZ, DimensionType) | Dimension | Generate a new radial dimension object using a specified dimension type. | |
| NewReferencePoint(PointElementReference) | ReferencePoint | Create a reference point on an existing reference in an Autodesk Revit family document. | |
| NewReferencePoint(Transform) | ReferencePoint | Create a reference point at a given location and with a given coordinate system in an Autodesk Revit family document. | |
| NewReferencePoint(XYZ) | ReferencePoint | Create a reference point at a given location in an Autodesk Revit family document. | |
| NewRevolution(Boolean, CurveArrArray, SketchPlane, Line, Double, Double) | Revolution | Add a new Revolution instance into the Autodesk Revit family document. | |
| NewRevolveForms(Boolean, ReferenceArray, Reference, Double, Double) | FormArray | Create new Form elements by revolve operation, and add them into the Autodesk Revit family document. | |
| NewSweep(Boolean, CurveArray, SketchPlane, SweepProfile, Int32, ProfilePlaneLocation) | Sweep | Adds a new sweep form to the family document, using a path of curve elements. | |
| 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. | |
| NewSweptBlendForm(Boolean, ReferenceArray, ReferenceArrayArray) | Form | Create new Form element by swept blend operation, and add it into the Autodesk Revit family document. | |
| NewSweptBlend(Boolean, Curve, SketchPlane, SweepProfile, SweepProfile) | SweptBlend | Add a new swept blend into the family document, using a curve as the path. | |
| NewSweptBlend(Boolean, Reference, SweepProfile, SweepProfile) | SweptBlend | Adds a new swept blend into the family document, using a selected reference as the path. | |
| NewSymbolicCurve(Curve, SketchPlane) | SymbolicCurve | Create a symbolic curve in an Autodesk Revit family document. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| NewAlignment(View, Reference, Reference) | Dimension | Add a new locked alignment into the Autodesk Revit document. | ItemFactoryBase |
| NewDetailCurveArray(View, CurveArray) | nullNothingnullptr | Creates an array of new detail curve elements. | ItemFactoryBase |
| NewDetailCurve(View, Curve) | nullNothingnullptr | Creates a new detail curve element. | ItemFactoryBase |
| NewDimension(View, Line, ReferenceArray) | nullNothingnullptr | Creates a new linear dimension object using the default dimension style. | ItemFactoryBase |
| NewDimension(View, Line, ReferenceArray, DimensionType) | nullNothingnullptr | Creates a new linear dimension object using the specified dimension style. | ItemFactoryBase |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| NewFamilyInstance(XYZ, FamilySymbol, Level, StructuralType) | nullNothingnullptr | Inserts a new instance of a family into the document, using a location, type/symbol, and the level. | ItemFactoryBase |
| NewFamilyInstance(XYZ, FamilySymbol, StructuralType) | FamilyInstance | Inserts a new instance of a family into the document, using a location and a type/symbol. | ItemFactoryBase |
| 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 |
| 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 |
| NewFamilyInstances2(List<FamilyInstanceCreationData>) | ICollection<ElementId> | Creates Family instances within the document. | ItemFactoryBase |
| NewGroup(ICollection<ElementId>) | Group | Creates a new type of group. | ItemFactoryBase |
| NewModelCurveArray(CurveArray, SketchPlane) | nullNothingnullptr | Creates an array of new model line elements. | ItemFactoryBase |
| NewModelCurve(Curve, SketchPlane) | nullNothingnullptr | Creates a new model line element. | ItemFactoryBase |
| NewReferencePlane2(XYZ, XYZ, XYZ, View) | ReferencePlane | Creates a new instance of ReferencePlane. | ItemFactoryBase |
| NewReferencePlane(XYZ, XYZ, XYZ, View) | ReferencePlane | Creates a new instance of ReferencePlane. | ItemFactoryBase |
| 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 |
|---|---|---|---|
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |