Show contents 

Ms > Examples > Adjustment of Global Display Parameters for Objects in the Modeling Container

Adjustment of Global Display Parameters for Objects in the Modeling Container

This example describes the mechanism of setting global parameters of displaying objects in all modeling containers of the current repository.

Add a link to the Ms system assembly.

Sub UserProc;
Var
    GlobalSett: IMsGlobalSettings;
Begin
    GlobalSett := New MsGlobalSettings.Create As IMsGlobalSettings;
    GlobalSett.DisplayTermsAs := MsDisplayAttribute.Id;
End Sub UserProc;

After executing the example, in the current repository in all modeling containers, the identifiers of objects are displayed for them.

See also:

Examples

IMsGlobalSettings