Add a Model Item or Feature to a Layer in a model.

Parameters

model (string) - the model name

Layer (string) - The name of the Layer to use

Item (string) - The ID Number or Unique Name of the Feature or Mode lItem to Add.

Return Value

none

Remarks

Not all items can be added to layers. Calling this on an invalid item will cause an error.

Examples

CAD.Solid.AddItemToLayer("Model.prt", "Holes_Layer", "24")   ' adds feature 24 to the layer