RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Toposolid

Toposolid.Simplify

Method
Description:
Simplifies the toposolid by reducing the number of inner vertices to the given percentage.
Remarks:
At low percentages, the inner vertices may not be reduced to the exact percentage to keep a rough semblance of the original shape. Call this method again if you want to keep removing inner vertices.
Syntax
public void Simplify(
	double percentage
)
Parameters
Parameter Type Description
percentage Double The ratio of the number of inner vertices after simplify to the original number.
Return Value
Exceptions
Exception Condition
ArgumentException The input percentage should be greater than 0 and less than 1.
InvalidOperationException this operation failed.