Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
While in route you can’t delete multiple work features in Included Geometry, and you need to select and delete each one individually. This is very time consuming, and we need to be able to use delete on selected items.
Sub DeleteWorkfeatures()
Dim oDoc As AssemblyDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oItem As Object
For Each oItem In oDoc.SelectSet
oItem.Delete
Next
oDoc.Update
End Sub
Hi Adrian,
Short VBA Code to delete all Items which are selected, be careful no check if thats a workfeature and so on. Only a quick and dirty solution.