ItemFactoryBase
Description:
The ItemFactoryBase object is used to create new instances of elements within the Autodesk Revit document.
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.
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
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 |
|---|---|---|---|
| NewAlignment(View, Reference, Reference) | Dimension | Add a new locked alignment into the Autodesk Revit document. | |
| NewDetailCurveArray(View, CurveArray) | nullNothingnullptr | Creates an array of new detail curve elements. | |
| NewDetailCurve(View, Curve) | nullNothingnullptr | Creates a new detail curve element. | |
| NewDimension(View, Line, ReferenceArray) | nullNothingnullptr | Creates a new linear dimension object using the default dimension style. | |
| NewDimension(View, Line, ReferenceArray, DimensionType) | nullNothingnullptr | Creates a new linear dimension object using the specified dimension style. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| NewFamilyInstance(XYZ, FamilySymbol, StructuralType) | FamilyInstance | Inserts a new instance of a family into the document, using a location and a type/symbol. | |
| 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. | |
| 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. | |
| NewFamilyInstances2(List<FamilyInstanceCreationData>) | ICollection<ElementId> | Creates Family instances within the document. | |
| NewGroup(ICollection<ElementId>) | Group | Creates a new type of group. | |
| NewModelCurveArray(CurveArray, SketchPlane) | nullNothingnullptr | Creates an array of new model line elements. | |
| NewModelCurve(Curve, SketchPlane) | nullNothingnullptr | Creates a new model line element. | |
| NewReferencePlane2(XYZ, XYZ, XYZ, View) | ReferencePlane | Creates a new instance of ReferencePlane. | |
| NewReferencePlane(XYZ, XYZ, XYZ, View) | ReferencePlane | Creates a new instance of ReferencePlane. | |
| PlaceGroup(XYZ, GroupType) | nullNothingnullptr | Place an instance of a Model Group into the Autodesk Revit document, using a location and a group type. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |