Void Mesh.CleanPartOrBody(IEnumerable dataModelObjects)
Clear generated data for parts and/or bodies provided.
Examples
# Assume and DataModelObject reference is for a Part/Body
# All calls below are valid:
Model.Mesh.CleanPartOrBody(Tree.ActiveObjects)
Model.Mesh.CleanPartOrBody([ 55, 56, 78 ]) # These are Part/Body Object IDs
Model.Mesh.CleanPartOrBody([ (42,45), 89 ]) # (42,45) is sequence of Object IDs: 42,43,44,45
Model.Mesh.CleanPartOrBody([ DataModel.GetObjectById(55), 56, 78, (42,45) ]) # You can mix DataModelObjects, IDs, and Tuples
Parameters
-
dataModelObjects
Type: IEnumerable
List Parts, Bodies, Object IDs (of Parts or Bodies), and/or Object ID ranges (represented by Python Tuples) whose data will be cleared.