IMsDisplaySettings.DisplayTermsAs

Syntax

DisplayTermsAs: MsDisplayAttribute;

Description

The DisplayTermsAs property determines parameters of object displaying.

Example

Executing the example requires that the repository contains a modeling container with the MODEL_SPACE identifier containing a model with the MODEL_1 identifier.

Add links to the Metabase and Ms system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    ModelSpaceDesc: IMetabaseObjectDescriptor;
    Model: IMsModel;
    fTransform: IMsFormulaTransform;
    dSett: IMsDisplaySettings;
Begin
    mb := MetabaseClass.Active;
    ModelSpaceDesc := mb.ItemById("MODEL_SPACE");
    Model := mb.ItemByIdNamespace("MODEL_1",ModelSpaceDesc.Key).Edit As IMsModel;
    fTransform := Model.Transform;
    dSett := fTransform.DisplaySettings;
    dSett.DisplayTermsAs:= MsDisplayAttribute.Id;
    (Model As IMetabaseObject).Save;
End Sub;

After executing the example the Display Identifiers display mode is set for the model parameters.

See also:

IMsDisplaySettings