2027 Class Back to 2027
C

ItemFactoryBase

Version comparison

Members across versions

22 members across 9 versions · 1 added later · 14 changed

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M NewAlignment(View, Reference, Reference)
same same same same same same same same same
M NewDetailCurve(View, Curve)
same same same same same changed same same same
M NewDetailCurveArray(View, CurveArray)
same same same same same changed same same same
M NewDimension(View, Line, ReferenceArray)
same same same same same changed same same same
M NewDimension(View, Line, ReferenceArray, DimensionType)
same same same same same changed same same same
M NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
same same same same same changed same same same
M NewFamilyInstance(Reference, Line, FamilySymbol)
same same same same same changed same same same
M NewFamilyInstance(Face, Line, FamilySymbol)
same same same same same changed same same same
M NewFamilyInstance(XYZ, FamilySymbol, View)
same same same same same same same same same
M NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
same same same same same changed same same same
M NewFamilyInstance(XYZ, FamilySymbol, StructuralType)
same same same same same same same same same
M NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
same same same same same changed same same same
M NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
same same same same same changed same same same
M NewFamilyInstance(Line, FamilySymbol, View)
same same same same same same same same same
M NewFamilyInstance(XYZ, FamilySymbol, Level, StructuralType)
not yet introduced not yet introduced not yet introduced not yet introduced added changed same same same
M NewFamilyInstances2(List<FamilyInstanceCreationData>)
same same same same same same same same same
M NewGroup(ICollection<ElementId>)
same same same same same same same same same
M NewModelCurve(Curve, SketchPlane)
same same same same same changed same same same
M NewModelCurveArray(CurveArray, SketchPlane)
same same same same same changed same same same
M NewReferencePlane(XYZ, XYZ, XYZ, View)
same same same same same same same same same
M NewReferencePlane2(XYZ, XYZ, XYZ, View)
same same same same same same same same same
M PlaceGroup(XYZ, GroupType)
same same same same same changed same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
Identical to 2027: 2025, 2025.3, 2026
2027 current

Changes in 2020 vs 2027 1 missing 13 changed

Flip API Versions →

Missing in 2020 (only available in 2027)

Changed members

ItemFactoryBase.NewDetailCurve(View, Curve)
view View The view in which the detail curve is to be visible.
geometryCurve Curve The internal geometry curve for detail curve. It should be a bound curve.
→ returns nullNothingnullptrDetailCurve If successful a new detail curve element. Otherwise .
ItemFactoryBase.NewDetailCurveArray(View, CurveArray)
view View The view in which the detail curves are to be visible.
geometryCurveArray CurveArray An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.
→ returns nullNothingnullptrDetailCurveArray If successful an array of new detail curve elements. Otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6B823545_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6EC65EAB_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
dimensionType DimensionType The dimension style to be used for the dimension.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
face Face A face of a geometry object.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, Line, FamilySymbol)
reference Reference A reference to a face.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, Line, FamilySymbol)
face Face A face of a geometry object.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
referenceDirection XYZ A vector that dictates the direction of certain family instances.
host Element A host object into which the instance will be embedded
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element The object into which the FamilyInstance is to be inserted, often known as the host.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
reference Reference A reference to a face.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewModelCurve(Curve, SketchPlane)
geometryCurve Curve The internal geometry curve for model line.
sketchPlane SketchPlane The sketch plane this new model line resides in.
→ returns nullNothingnullptrModelCurve If successful a new model line element. Otherwise .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns nullNothingnullptrModelCurveArray If successful an array of new model line elements. Otherwise .
ItemFactoryBase.PlaceGroup(XYZ, GroupType)
location XYZ The physical location where the group is to be placed.
groupType GroupType A GroupType object that represents the type of group that is to be placed.
→ returns nullNothingnullptrGroup If creation was successful then an instance to the new group is returned, otherwise .

Changes in 2021 vs 2027 1 missing 13 changed

Flip API Versions →

Missing in 2021 (only available in 2027)

Changed members

ItemFactoryBase.NewDetailCurve(View, Curve)
view View The view in which the detail curve is to be visible.
geometryCurve Curve The internal geometry curve for detail curve. It should be a bound curve.
→ returns nullNothingnullptrDetailCurve If successful a new detail curve element. Otherwise .
ItemFactoryBase.NewDetailCurveArray(View, CurveArray)
view View The view in which the detail curves are to be visible.
geometryCurveArray CurveArray An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.
→ returns nullNothingnullptrDetailCurveArray If successful an array of new detail curve elements. Otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6B823545_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6EC65EAB_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
dimensionType DimensionType The dimension style to be used for the dimension.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
face Face A face of a geometry object.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, Line, FamilySymbol)
reference Reference A reference to a face.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, Line, FamilySymbol)
face Face A face of a geometry object.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
referenceDirection XYZ A vector that dictates the direction of certain family instances.
host Element A host object into which the instance will be embedded
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element The object into which the FamilyInstance is to be inserted, often known as the host.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
reference Reference A reference to a face.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewModelCurve(Curve, SketchPlane)
geometryCurve Curve The internal geometry curve for model line.
sketchPlane SketchPlane The sketch plane this new model line resides in.
→ returns nullNothingnullptrModelCurve If successful a new model line element. Otherwise .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns nullNothingnullptrModelCurveArray If successful an array of new model line elements. Otherwise .
ItemFactoryBase.PlaceGroup(XYZ, GroupType)
location XYZ The physical location where the group is to be placed.
groupType GroupType A GroupType object that represents the type of group that is to be placed.
→ returns nullNothingnullptrGroup If creation was successful then an instance to the new group is returned, otherwise .

Changes in 2022 vs 2027 1 missing 13 changed

Flip API Versions →

Missing in 2022 (only available in 2027)

Changed members

ItemFactoryBase.NewDetailCurve(View, Curve)
view View The view in which the detail curve is to be visible.
geometryCurve Curve The internal geometry curve for detail curve. It should be a bound curve.
→ returns nullNothingnullptrDetailCurve If successful a new detail curve element. Otherwise .
ItemFactoryBase.NewDetailCurveArray(View, CurveArray)
view View The view in which the detail curves are to be visible.
geometryCurveArray CurveArray An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.
→ returns nullNothingnullptrDetailCurveArray If successful an array of new detail curve elements. Otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6B823545_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6EC65EAB_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
dimensionType DimensionType The dimension style to be used for the dimension.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
face Face A face of a geometry object.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, Line, FamilySymbol)
reference Reference A reference to a face.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, Line, FamilySymbol)
face Face A face of a geometry object.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
referenceDirection XYZ A vector that dictates the direction of certain family instances.
host Element A host object into which the instance will be embedded
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element The object into which the FamilyInstance is to be inserted, often known as the host.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
reference Reference A reference to a face.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewModelCurve(Curve, SketchPlane)
geometryCurve Curve The internal geometry curve for model line.
sketchPlane SketchPlane The sketch plane this new model line resides in.
→ returns nullNothingnullptrModelCurve If successful a new model line element. Otherwise .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns nullNothingnullptrModelCurveArray If successful an array of new model line elements. Otherwise .
ItemFactoryBase.PlaceGroup(XYZ, GroupType)
location XYZ The physical location where the group is to be placed.
groupType GroupType A GroupType object that represents the type of group that is to be placed.
→ returns nullNothingnullptrGroup If creation was successful then an instance to the new group is returned, otherwise .

Changes in 2023 vs 2027 1 missing 13 changed

Flip API Versions →

Missing in 2023 (only available in 2027)

Changed members

ItemFactoryBase.NewDetailCurve(View, Curve)
view View The view in which the detail curve is to be visible.
geometryCurve Curve The internal geometry curve for detail curve. It should be a bound curve.
→ returns nullNothingnullptrDetailCurve If successful a new detail curve element. Otherwise .
ItemFactoryBase.NewDetailCurveArray(View, CurveArray)
view View The view in which the detail curves are to be visible.
geometryCurveArray CurveArray An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.
→ returns nullNothingnullptrDetailCurveArray If successful an array of new detail curve elements. Otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6B823545_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6EC65EAB_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
dimensionType DimensionType The dimension style to be used for the dimension.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
face Face A face of a geometry object.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, Line, FamilySymbol)
reference Reference A reference to a face.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, Line, FamilySymbol)
face Face A face of a geometry object.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
referenceDirection XYZ A vector that dictates the direction of certain family instances.
host Element A host object into which the instance will be embedded
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element The object into which the FamilyInstance is to be inserted, often known as the host.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
reference Reference A reference to a face.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewModelCurve(Curve, SketchPlane)
geometryCurve Curve The internal geometry curve for model line.
sketchPlane SketchPlane The sketch plane this new model line resides in.
→ returns nullNothingnullptrModelCurve If successful a new model line element. Otherwise .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns nullNothingnullptrModelCurveArray If successful an array of new model line elements. Otherwise .
ItemFactoryBase.PlaceGroup(XYZ, GroupType)
location XYZ The physical location where the group is to be placed.
groupType GroupType A GroupType object that represents the type of group that is to be placed.
→ returns nullNothingnullptrGroup If creation was successful then an instance to the new group is returned, otherwise .

Changes in 2024 vs 2027 14 changed

Flip API Versions →

Changed members

ItemFactoryBase.NewDetailCurve(View, Curve)
view View The view in which the detail curve is to be visible.
geometryCurve Curve The internal geometry curve for detail curve. It should be a bound curve.
→ returns nullNothingnullptrDetailCurve If successful a new detail curve element. Otherwise .
ItemFactoryBase.NewDetailCurveArray(View, CurveArray)
view View The view in which the detail curves are to be visible.
geometryCurveArray CurveArray An array containing the internal geometry curves for detail lines. The curve in array should be bound curve.
→ returns nullNothingnullptrDetailCurveArray If successful an array of new detail curve elements. Otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6B823545_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible. The view must be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST6EC65EAB_1"></span></span> if the document is in <span class="noLink">[!:Autodesk::Revit::DB::SketchEditScope]</span>.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
dimensionType DimensionType The dimension style to be used for the dimension.
→ returns nullNothingnullptrDimension If successful a new dimension object, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, XYZ, XYZ, FamilySymbol)
face Face A face of a geometry object.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, Line, FamilySymbol)
reference Reference A reference to a face.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(Face, Line, FamilySymbol)
face Face A face of a geometry object.
position Line A line on the face defining where the symbol is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, XYZ, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
referenceDirection XYZ A vector that dictates the direction of certain family instances.
host Element A host object into which the instance will be embedded
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Element, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element The object into which the FamilyInstance is to be inserted, often known as the host.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewFamilyInstance(Reference, XYZ, XYZ, FamilySymbol)
reference Reference A reference to a face.
location XYZ Point on the face where the instance is to be placed.
referenceDirection XYZ A vector that defines the direction of the family instance. Note that this direction defines the rotation of the instance on the face, and thus cannot be parallel to the face normal.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted. Note that this symbol must represent a family whose <a href="7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05.htm">FamilyPlacementType</a> is WorkPlaneBased.
→ returns nullNothingnullptrFamilyInstance An instance of the new object if creation was successful, otherwise .
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Level, StructuralType)
location XYZ The physical location where the instance is to be placed.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
level Level The level onto which the FamilyInstance is to be placed.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .
ItemFactoryBase.NewModelCurve(Curve, SketchPlane)
geometryCurve Curve The internal geometry curve for model line.
sketchPlane SketchPlane The sketch plane this new model line resides in.
→ returns nullNothingnullptrModelCurve If successful a new model line element. Otherwise .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns nullNothingnullptrModelCurveArray If successful an array of new model line elements. Otherwise .
ItemFactoryBase.PlaceGroup(XYZ, GroupType)
location XYZ The physical location where the group is to be placed.
groupType GroupType A GroupType object that represents the type of group that is to be placed.
→ returns nullNothingnullptrGroup If creation was successful then an instance to the new group is returned, otherwise .