Share

FabricationNetworkChangeService.ChangeSize Method

Changes the size of the selection of fabrication parts.


Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public FabricationNetworkChangeServiceResult ChangeSize(
	ISet<ElementId> selection,
	ISet<FabricationPartSizeMap> fabricationPartSizeMaps
)

Parameters

selection  ISet<ElementId>
The set of element identifiers of fabrication parts to change the size for.
fabricationPartSizeMaps  ISet<FabricationPartSizeMap>
The map containing the original sizes for the straights to the new sizes.

Return Value

FabricationNetworkChangeServiceResult

Exceptions

ExceptionCondition
ArgumentException The selection contains invalid elements to change. -or- The fabrication size map is empty.
ArgumentNullException A non-optional argument was null
InvalidOperationException No fabrication configuration is loaded.

Remarks

After this method has been invoked, call:

See Also

Reference

Was this information helpful?