API Help
Eplan.EplApi.DataModel.Graphics Namespace / PropertyPlacement Class / RelationIndex Property

RelationIndex Property
Gets/Sets RelationIndex of PropertyPlacement.
Syntax
public short RelationIndex {get; set;}

Property Value

RelationIndex of Property placement.
Exceptions
ExceptionDescription
Thrown when property cannot be set/get.
Thrown when the PropertyPlacement object has not been initialized.
Thrown when the object handle that property value will be displayed is invalid.
Remarks
RelationIndex is used when Relation property is set to RelationType associated with Articles (Article, MainFunctionArticle etc.). It allows to choose index of Article from which property will be displayed. RelationIndex corresponds to the Row number in Parts tab in Function Properties dialog in GUI. Setter does not check if the given RelationIndex value is valid for the object. If given value is not valid PropertyPlacement text will be empty.
See Also