M

NewDimension

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024
2023 current
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">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</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 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. The view must be <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</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 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. The view must be <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</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 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. The view must be <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</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 DimensionnullNothingnullptr If successful a new dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .