Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / ContextPropertyPlacement3D Class / Create Method / Create(ViewPart,AnyPropertyId) Method
Eplan.EplApi.DataModel.ViewPart object that property value will be displayed.
Eplan.EplApi.DataModel.AnyPropertyId identifier of property to display.

In This Topic
    Create(ViewPart,AnyPropertyId) Method
    In This Topic
    Creates the ContextPropertyPlacement3D object.
    Syntax

    Parameters

    objSource
    Eplan.EplApi.DataModel.ViewPart object that property value will be displayed.
    idOfProperty
    Eplan.EplApi.DataModel.AnyPropertyId identifier of property to display.
    Exceptions
    ExceptionDescription
    Thrown when oParent or oAnyPropertyId is null.
    Thrown when the ContextPropertyPlacement3D cannot be created.
    Thrown when the ContextPropertyPlacement3D has already been created.
    Remarks
    Method sets value of parents property UseLocalPropertyPlacements to true if it's set to false.
    See Also