SheetMetalComponentDefinition.DeleteObjects Method
Parent Object: SheetMetalComponentDefinitionDescription
Method that deletes a collection of objects that belong to the part.
Syntax
SheetMetalComponentDefinition.DeleteObjects( Objects As ObjectCollection, [RetainConsumedSketches] As Boolean, [RetainDepFeatsAndSketches] As Boolean, [RetainDepWorkFeats] As Boolean )Parameters
Name | Type | Description |
Objects | ObjectCollection | Collection of objects to delete from the part. Valid objects are part features, work features, sketches and 3d sketches. |
RetainConsumedSketches | Boolean | Optional input Boolean indicating if consumed sketches within the feature should be deleted. If the feature being deleted is not a sketch based feature this argument is ignored. This is an optional argument whose default value is False. |
RetainDepFeatsAndSketches | Boolean | Optional input Boolean that specifies if dependent features and sketches should be deleted. If there are no such dependents this argument is ignored. This is an optional argument whose default value is False. |
RetainDepWorkFeats | Boolean | Optional input Boolean that specifies if dependent work features should be deleted. If there are no dependent work features this argument is ignored. This is an optional argument whose default value is False. |