This example describes the mechanism of setting global parameters of displaying objects in all modeling containers of the current repository.
Sub Main;
Var
GlobalSett: IMsGlobalSettings;
Begin
GlobalSett := New MsGlobalSettings.Create As IMsGlobalSettings;
GlobalSett.DisplayTermsAs := MsDisplayAttribute.Id;
End Sub Main;
After executing the example, in the current repository in all modeling containers, the identifiers of objects are displayed for them.
See also: