Click or drag to resize

Object3DManagerReplaceName Method (ListString, ListString)

Replace Node Name

Namespace:  VIZCore3DX.NET.Manager
Assembly:  VIZCore3DX.NET (in VIZCore3DX.NET.dll) Version: 1.1.25.1030 (1.1.25.1030)
Syntax
C#
public void ReplaceName(
	List<string> oldValues,
	List<string> newValues
)

Parameters

oldValues
Type: System.Collections.GenericListString
Old Value
newValues
Type: System.Collections.GenericListString
New Value
Examples
C#
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

private void Example()
{
    if (vizcore3dx.Model.IsOpen() == false) return;

    List<string> oldValues = new List<string>();
    oldValues.Add("1195");
    oldValues.Add("EQUI");
    List<string> newValues = new List<string>();
    newValues.Add("2025");
    newValues.Add("EQUIPMENT");

    vizcore3dx.Object3D.ReplaceName(oldName, newName);
}
See Also