Eplan Platform API
Eplan.EplApi.DataModel Namespace / MacroEntryPropertyList Class
Members Example

In This Topic
    MacroEntryPropertyList Class
    In This Topic
    This class represents a collection of properties of MacroEntry class. Please also check the base classes for other properties that are available for MacroEntry objects: PlacementPropertyList, StorableObjectPropertyList
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.UniversalPropertyList
          Eplan.EplApi.DataModel.StorableObjectPropertyList
             Eplan.EplApi.DataModel.PlacementPropertyList
                Eplan.EplApi.DataModel.MacroEntryPropertyList

    Syntax
    [DefaultMember("Property")]
    public class MacroEntryPropertyList : PlacementPropertyList 
    [DefaultMember("Property")]
    public ref class MacroEntryPropertyList : public PlacementPropertyList 
    Remarks

    It uses the [] operator in order to access its elements (stored properties).

    Property list is a container for property values and just like them can be persistent (also called online) or transient (also called offline). If a property list is persistent, this means that it is associated with the properties of some StorableObject or other property list. If any property is added, changed or removed from the property list in this case, the result is also visible in the related objects. Whether a property list is persistent or transient is determined at the time of its creation and cannot be changed.

    Example
    This example shows the different usage of persistent property lists and transient property lists:
    // Creation of a persistent property list
    FunctionPropertyList oPersistentPropertyList1 = oFunction.Properties;
    oPersistentPropertyList1.FUNC_COMMENT = "Comment";
    // Now, oFunction.Properties.FUNC_COMMENT is equals "Comment"
    
    FunctionPropertyList oPersistentPropertyList2 = new FunctionPropertyList(oFunction);
    oPersistentPropertyList2.FUNC_COMMENT = "Test";
    // Now, oFunction.Properties.FUNC_COMMENT equals "Test"
    
    // Creation of a transient property list
    FunctionPropertyList oTransientPropertyList = new FunctionPropertyList();
    oTransientPropertyList.FUNC_COMMENT = "Test comment";
    oFunction.Properties.FUNC_COMMENT = oTransientPropertyList.FUNC_COMMENT;
    oTransientPropertyList.FUNC_COMMENT = "Transient comment";
    // Now, oTransientPropertyList.FUNC_COMMENT equals "Test comment"
    
    
    Public Constructors
     NameDescription
    Public ConstructorConstructor  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns array of property ids. Returns array of AnyPropertyId objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyReturns array of PropertyValue objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyOverloaded. Modification date (change tracking) # 19032. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Revision marker (change tracking) # 19030. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Revision marker format (change tracking) # 19031. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Modification time (change tracking) # 19034. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Creator (change tracking) # 19033. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Revision change marker (from property comparison) # 10153. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyOverloaded. Revision marker (from property comparison) # 10152. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Public PropertyMacro: Company standard # 23017.  
    Public PropertyMacro: Directory # 23015.  
    Public PropertyMacro: Inserted by # 23006.  
    Public PropertyMacro: Also insert macro box # 23013.  
    Public PropertyMacro: File name # 23001.  
    Public PropertyMacro: Description # 23004.  
    Public PropertyMacro: Source / reference # 23003.  
    Public PropertyMacro: Version # 23002.  
    Public PropertyMacro: Name # 23009.  
    Public PropertyMacro: Standard # 23016.  
    Public PropertyMacro: Representation type # 23007.  
    Public PropertyMacro: Source project # 23005.  
    Public PropertyMacro: Type # 23010.  
    Public PropertyMacro: Type of usage # 23011.  
    Public PropertyMacro: Take connection point designations into account # 23014.  
    Public PropertyMacro: Protected group # 23012.  
    Public PropertyMacro: Variant # 23008.  
    Public PropertyMacro: Modification date # 23019.  
    Public PropertyMacro: Eplan version # 23018.  
    Public PropertyStorableObject to which this property list is connected. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyOverloaded. Method used by operator[] in order to access indexed properties.  
    Public PropertyOverloaded. Object identification # 2000. (Inherited from Eplan.EplApi.DataModel.StorableObjectPropertyList)
    Public PropertyOverloaded. Change protection (hierarchical) # 3015. (Inherited from Eplan.EplApi.DataModel.PlacementPropertyList)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Copies properties to other property list. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public MethodDestructor for deterministic finalization of MacroEntryPropertyList object. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public MethodOverloaded. Checks property existence for used obiect.  
    Public MethodInternal method. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Top
    See Also