Delete a feature in the CAD environment.
Parameters
model (string) - the model name (no extension) to look inside
feature (string) - the feature to look for to delete
Return Value
none
Remarks
Delete will remove the feature from the model tree and 3D environment completely.
Examples
if CAD.Comp.Exists("Model","28") then 'see if the feature 28 exists in the model
CAD.Comp.Delete("Model","28") ' delete the feature.
CAD.Asm.Regenerate("Model") ' regenerate the model to show the change in the environment
else
' do something here based on the model+feature not already being present
end if