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 | nullNothingnullptr→DetailCurve | 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 | nullNothingnullptr→DetailCurveArray | 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 | nullNothingnullptr→Dimension | 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 | nullNothingnullptr→Dimension | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→FamilyInstance | 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 | nullNothingnullptr→ModelCurve | 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 | nullNothingnullptr→ModelCurveArray | 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 | nullNothingnullptr→Group | If creation was successful then an instance to the new group is returned, otherwise . |