WorkPoint.Delete Method
Parent Object: WorkPointDescription
Method that deletes the work point. Optionally the dependent objects will be deleted. This method will fail in the case where this object was created as a result of a derived part. The HasReferenceComponent property can be used to determine when this is the case.
Syntax
WorkPoint.Delete( [RetainDependents] As Boolean )Parameters
Name | Type | Description |
RetainDependents | Boolean | Optional input Boolean that specifies whether any dependent objects should also be deleted. If True, no dependent objects will be deleted. This is an optional argument whose default value is False. |