Eplan Platform API
Eplan.EplApi.DataModel.Planning Namespace / PCTLoop Class
Members Example

In This Topic
    PCTLoop Class
    In This Topic
    TODO
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.StorableObject
          Eplan.EplApi.DataModel.Planning.PlanningSegment
             Eplan.EplApi.DataModel.Planning.PCTLoop

    Syntax
    Example
    The names of PCT-Loops are composed of 4 properties. To change the name- change the 4 properties.
    SegmentDefinition oSegmentDefinition = m_oTestProject.GetSegmentDefinition("Eplan.PCT.Loop");
    PCTLoop oPCTLoop  = PCTLoop.Create(oSegmentDefinition) as PCTLoop;
    
    oPCTLoop.Properties.DMPLAOBJECT_PCT_IDENTIFIER = "C";   //Technical facility
    oPCTLoop.Properties.DMPLAOBJECT_PCT_MEASURAND = "T";   //Measurand           
    oPCTLoop.Properties.DMPLAOBJECT_PCT_FUNCTION = "IR";  //Processing function
    oPCTLoop.Properties.DMPLAOBJECT_PCT_NUMBER = "100";  //Number
    //oPCLoop.Name == "CTIR 100"                        //Full designation (name)
    
    
    Public Constructors
     NameDescription
    Public ConstructorDefault constructor.  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns Eplan.EplApi.DataModel.ArticleReferences that are referenced by PlanningSegment. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyCheck if the PlanningSegment can have Eplan.EplApi.DataModel.Articles. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns all children of this object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns an array of objects cross-referenced with this object (i.e. having the same name - in case of functions - or otherwise associated) (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyReturns the project as number. The number is unique for all open projects in one session. The number changes when the project is closed and opened again. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyReturns array of functions and 3d functions assigned to this object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyDetermines whether the article reference data can be changed for this object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertySet or checks if device of this function is fixed. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public Property

    Determines if the the StorableObject is locked.

    The StorableObject is locked when it was explicitly or implicitly locked.

    (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyDetermines if StorableObject is read-only (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public Property

    Determines if the the StorableObject is transient.

    The StorableObject is transient when it was created by default constructor and:

    it is a Eplan.EplApi.DataModel.Page and it was not assigned a Eplan.EplApi.DataModel.Project,

    it is a Eplan.EplApi.DataModel.Placement or any class derived from it and was not assigned a Eplan.EplApi.DataModel.Page.

    (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyDetermines if StorableObject is correct database object and is not deleted. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyReturns set of local templates assigned to this object or to its segment template. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyMacro file with window or page macros, used when placing the macro. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns the name of planning segment. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns the object identifier as number. The number is unique for all objects of this type. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyReturns collection of all pages assigned to the planning segment. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyGets or Sets parent object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns array of PLC inputs and outputs for this planning object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns the project the StorableObject belongs to. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyEPLAN properties of the PCTLoop object.  
    Public PropertyReturns the SegmentDefinition of the PlanningObject. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns placed representation of this planning segment. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertySegment template assigned to this object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyNumber used to sort elements in current branch of planning tree. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns set of templates from articles assigned to this object or to its segment template. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public PropertyReturns the type of the object as number. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public PropertyCheck if object is currently write protected or sets Manual write protection (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds a new Eplan.EplApi.DataModel.ArticleReference to the PlanningSegment. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodAdd new local template based on function definition. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodOverloaded. Creates copy of existing PLC inputs or outputs for this planning object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodReturns Eplan.EplApi.DataModel.FunctionBasePropertyList. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodDestructor for deterministic finalization of PCTLoop object. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodOperator of comparison implementation. Checks if two StorableObjects refer to the same object in the project. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodServes as the default hash function. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodReturns object type name. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodChecks if a specific write protection kind was set. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodTries to lock current object in database for exclusive access. Throws Eplan.EplApi.Base.LockingException on failure. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodTemporarily disables write protection. Note that current write protection (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodPlaces the segment onto the given page, in the given location. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodPlaces a macro on a given page. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodRemoves object from PlanningSegment with all its children. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodRemoves the ArticleReference from the PlanningSegment (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodRemoves a local template from this object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodRemoves existing PLC input or output from this planning object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodRestores information stored in template to planning object. (Inherited from Eplan.EplApi.DataModel.Planning.PlanningSegment)
    Public MethodTries to lock current object. If object is Eplan.EplApi.DataModel.Placement - it's page will be locked as well; Eplan.EplApi.DataModel.E3D.Placement3D locks it's installation space; Eplan.EplApi.DataModel.Function locks all it's connections and connection definition points; Eplan.EplApi.DataModel.Page locks all placements from this page. Throws Eplan.EplApi.Base.LockingException on failure. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Public MethodReturns this object as string identifier. (Inherited from Eplan.EplApi.DataModel.StorableObject)
    Top
    See Also