Replace a feature with the Instance Name in the family table for a generic feature in the CAD environment.
There is a second method also called "Replace" with different parameters. See the other versions for more details
Parameters
model (string) - the model/container name to look inside (with extension)
feature (string) - the feature to look for to do the replace on
ToInstanceName (string) - the instance name in the family table to switch to (no extension)
Return Value
none
Remarks
This version of Replace simply switches to different family table versions of a generic component.
Examples
CAD.Comp.Replace("Model","28", Q("Head Type") )
' switch to the instance name in the control "Head Type" for featuire 28 on model "Model"