Click or drag to resize
SoDBRenameGlobalField Method

Renames the global field named oldName.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static void RenameGlobalField(
	string oldName,
	string newName
)

Parameters

oldName
Type: SystemString
newName
Type: SystemString
Remarks

Renaming a global field to an empty name ("") deletes it. If there is already a global field with the new name, that field will be deleted (the OIV.Inventor.SoDB.GetGlobalField(System.String) method can be used to guard against this). See OIV.Inventor.SoDB.CreateGlobalField(System.String, System.Type).

See Also