API Help
Eplan.EplApi.DataModel.Graphics Namespace / PropertyPlacement Class / Create Method / Create(SymbolReference,AnyPropertyId,RelationType,Int32) Method
Eplan.EplApi.DataModel.SymbolReference object that's referenced object property value will be displayed.
Eplan.EplApi.DataModel.AnyPropertyId identifier of property to display.
PropertyPlacement.RelationTypeRelation type. One of possible relations: Main function article, main function article reference etc.
Article reference position of related object.

In This Topic
    Create(SymbolReference,AnyPropertyId,RelationType,Int32) Method
    In This Topic
    Creates the PropertyPlacement object related to parent.
    Syntax

    Parameters

    pParent
    Eplan.EplApi.DataModel.SymbolReference object that's referenced object property value will be displayed.
    propId
    Eplan.EplApi.DataModel.AnyPropertyId identifier of property to display.
    eRel
    PropertyPlacement.RelationTypeRelation type. One of possible relations: Main function article, main function article reference etc.
    iRelIndex
    Article reference position of related object.
    Exceptions
    ExceptionDescription
    Thrown when parent is null.
    Thrown when the PropertyPlacement cannot be created.
    Thrown when the PropertyPlacement has already been created.
    Remarks
    Method sets value of object related to parents property UseLocalPropertyPlacements to true if it's set to false and the selected scheme to 'User-defined'.
    See Also