SetLayerNameByName

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

SetLayerNameByName

public void SetLayerNameByName(String oldName,String newName)

 

Description:

 Set the layer name by layer name

 

Parameter:

 oldName: The old layer name

 newName: The layer name that you want to set

 

Example:

 private void button1_Click(object sender, System.EventArgs e)

 {

         myCAD1.SetLayerNameByName("oldLayer","newLayer");

 }

 

See also:

 SetLayerNameById