Method SimplifyShape
SimplifyShape(ElementId, double, bool, bool, bool, bool, bool, double, bool, bool, double)
Method to simplify a shape
Declaration
[OperationContract]
[AvailableSinceVersion(7, 20, 205, 0)]
void SimplifyShape(ElementId inElementId, double inLinearTolerance, bool inPreserveTangencies, bool inMerges, bool inOptimize, bool inUseRepairEdgesTolerance, bool inOptimizeBlendFaces, double inRepairEdgesTolerance, bool inKeepSplitHoles, bool inMergesPlanarFaces, double inAngularTolerance)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Shape to simplify |
| double | inLinearTolerance | linear tolerance |
| bool | inPreserveTangencies | whether to use preserve tangencies option |
| bool | inMerges | whether to use merge option |
| bool | inOptimize | whether to use optimize option |
| bool | inUseRepairEdgesTolerance | whether to use repair edges option |
| bool | inOptimizeBlendFaces | whether to use optimize blend faces option |
| double | inRepairEdgesTolerance | repair edge tolerance |
| bool | inKeepSplitHoles | whether to use keep split holes option |
| bool | inMergesPlanarFaces | whether to use merge planar faces option |
| double | inAngularTolerance | angular tolerance |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.20