Check to see if a Component exists in the CAD environment.

Parameters

model (string) - the model name (no extension) to look inside

feature (string) - the feature to look for

Return Value

TRUE/FALSE

Remarks

Use this to check to see if a feature/component exists when unsure.

Examples

if CAD.Comp.Exists("Model","28") then        'see if the feature 28 exists in the model
    ' do something here based on the model already existing
else
    ' do something here based on the model not already being present
end if