Simplifies the toposolid by reducing the number of inner vertices to the given percentage.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public void Simplify( double percentage )
Parameters
- percentage Double
- The ratio of the number of inner vertices after simplify to the original number.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The input percentage should be greater than 0 and less than 1. |
InvalidOperationException | this operation failed. |