Optimizes the length fabrication straight parts.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2016
Syntax
Visual Basic |
---|
Public Shared Function OptimizeLengths ( _
document As Document, _
partIds As ISet(Of ElementId) _
) As ISet(Of ElementId) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document.
- partIds
- Type: System.Collections.Generic..::..ISet<(Of <(<'ElementId>)>)>
The identifiers of the fabrication parts in a selected fabrication part run.
Return Value
New and modified fabrication part ids in the optimize
Exceptions
See Also