Suppress (Hide) 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 suppress
Return Value
none
Remarks
Suppress will hide the feature from the model tree and 3D environment completely.
If the feature is already suppressed it will not do anything.
This is the reverse action to "Resume".
Examples
if CAD.Comp.Exists("Model","28") then 'see if the feature 28 exists in the model
CAD.Comp.Suppress("Model","28") ' hide 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