IEstimateVersion.UpdateSets (Boolean, IEnumerable<String>, Boolean, Boolean) Method
Function UpdateSets( _
ByVal entireEstimate As Boolean, _
Optional ByVal restrictToDatabases As IEnumerable(Of String) = Nothing, _
Optional ByVal dontUpdateEmptyFields As Boolean = True, _
Optional ByVal removeBoqReferences As Boolean = False _
) As IWorkbook
This language is not supported or no code example is available.
Parameters
- entireEstimate
- bool
Required. If set to true, then the sets in the entire estimate are to be updated. Otherwise, if false, the sets from the current selection in minutes are to be updated.
- restrictToDatabases
- IEnumerable<string>
Optional. The list of the set databases from which the sets will be updated; sets from the other databases will be skipped. The check is only made at the highest level (sets within sets are not checked). The default value is null reference (Nothing in Visual Basic).
- dontUpdateEmptyFields
- bool
Optional. If set to true, then empty fields will not be updated. The Quantity field is never updated. The default value is true.
- removeBoqReferences
- bool
Optional. If set to true, then BoQ references from the articles of the updated sets are destroyed (removed). The info about these sets is stored in the returned workbook. If set to false, then sets having BoQ references from their articles will not be updated. The info about these sets is stored in the returned workbook. The default value is false.
Return Value
IWorkbookA workbook which contains info about all sets which are skipped. The reason of skipping is included as well. If null reference (Nothing in Visual Basic) is returned, this means that all sets were updated.
Exception type | Condition |
---|---|
A problem occurred. |