2022 Class Back to 2022
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 (2022).
Identical to 2022: 2020, 2021, 2023
2022 current

Changes in 2025 vs 2022 1 added 13 changed

Flip API Versions →

Added in 2025 (new since 2022)

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 DetailCurvenullNothingnullptr If successful a new detail curve element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 DetailCurveArraynullNothingnullptr If successful an array of new detail curve elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible.
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 DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 ModelCurvenullNothingnullptr If successful a new model line element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns ModelCurveArraynullNothingnullptr If successful an array of new model line elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 GroupnullNothingnullptr If creation was successful then an instance to the new group is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .

Changes in 2025.3 vs 2022 1 added 13 changed

Flip API Versions →

Added in 2025.3 (new since 2022)

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 DetailCurvenullNothingnullptr If successful a new detail curve element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 DetailCurveArraynullNothingnullptr If successful an array of new detail curve elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible.
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 DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 ModelCurvenullNothingnullptr If successful a new model line element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns ModelCurveArraynullNothingnullptr If successful an array of new model line elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 GroupnullNothingnullptr If creation was successful then an instance to the new group is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .

Changes in 2026 vs 2022 1 added 13 changed

Flip API Versions →

Added in 2026 (new since 2022)

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 DetailCurvenullNothingnullptr If successful a new detail curve element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 DetailCurveArraynullNothingnullptr If successful an array of new detail curve elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible.
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 DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 ModelCurvenullNothingnullptr If successful a new model line element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns ModelCurveArraynullNothingnullptr If successful an array of new model line elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 GroupnullNothingnullptr If creation was successful then an instance to the new group is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .

Changes in 2027 vs 2022 1 added 13 changed

Flip API Versions →

Added in 2027 (new since 2022)

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 DetailCurvenullNothingnullptr If successful a new detail curve element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 DetailCurveArraynullNothingnullptr If successful an array of new detail curve elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray)
view View The view in which the dimension is to be visible.
line Line The line drawn for the dimension.
references ReferenceArray An array of geometric references to which the dimension is to be bound.
→ returns DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)
view View The view in which the dimension is to be visible.
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 DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased or CurveBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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="/2022/7fcd2fda-21c3-9b9b-8ef3-ae2e53e02a05">FamilyPlacementType</a> is WorkPlaneBased.
→ returns FamilyInstancenullNothingnullptr An instance of the new object if creation was successful, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 ModelCurvenullNothingnullptr If successful a new model line element. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
ItemFactoryBase.NewModelCurveArray(CurveArray, SketchPlane)
geometryCurveArray CurveArray An array containing the internal geometry curves for model lines.
sketchPlane SketchPlane
→ returns ModelCurveArraynullNothingnullptr If successful an array of new model line elements. Otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
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 GroupnullNothingnullptr If creation was successful then an instance to the new group is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .