Object Types

This reference contains all object types that are available for the EPLAN 21 API.

ID

Object Type

Description

0

EPL_OBJECTTYPE_UNKNOWN

is returned in case of error

1

EPL_OBJECTTYPE_PROJECT

represents the Project object

2

EPL_OBJECTTYPE_PAGE

represents a page

3

EPL_OBJECTTYPE_DEVICETAG

represents the Device tag object

4

EPL_OBJECTTYPE_INSTANCE

represents the instance of an object

5

EPL_OBJECTTYPE_PROPERTY

represents a set property

6

EPL_OBJECTTYPE_ITERATOR

represents a set property

7

EPL_OBJECTTYPE_COMPONENT_PART

8

EPL_OBJECTTYPE_PLC_IN_MANAGER

do not use any longer

9

EPL_OBJECTTYPE_SYMBOLFILE

represents a symbol file

10

EPL_OBJECTTYPE_FORM

represents a form of a working set, a project or a macro

11

EPL_OBJECTTYPE_PLOTFRAME

represents a plot frame

12

EPL_OBJECTTYPE_SYMBOL

represents a plot frame

13

EPL_OBJECTTYPE_PART

represents the Part object

14

EPL_OBJECTTYPE_POTENTIAL

represents a potential list

15

EPL_OBJECTTYPE_CONNECTIONPOINT

represents a connection point of a device or a component

16

EPL_OBJECTTYPE_NODE

represents an equi potential node in a project

17

EPL_OBJECTTYPE_LOCATION

represents locations and sublocations on a graphics page

18

EPL_OBJECTTYPE_DIALOG

represents a dialog

19

EPL_OBJECTTYPE_DIALOGCONTROL

20

EPL_OBJECTTYPE_FORMAT

represents a format string

21

EPL_OBJECTTYPE_FORMATENTRY

represents an entry in a format string

22

EPL_OBJECTTYPE_PROPERTYDEF

represents a property definition

23

EPL_OBJECTTYPE_LAYER

represents a layer of a graphics page

24

EPL_OBJECTTYPE_CONNECTION

represents the Wire object

25

EPL_OBJECTTYPE_MACRO

represents the Macro object

26

EPL_OBJECTTYPE_PROPERTYLIST

represents a property list

27

EPL_OBJECTTYPE_POTENTIALDEF

represents a potential definition in a project or a macro

28

EPL_OBJECTTYPE_PUMANAGER

represents the property user manager

29

EPL_OBJECTTYPE_COMMAND

represents an API command

30

EPL_OBJECTTYPE_ROLE

represents a valid user group

31

EPL_OBJECTTYPE_CIRCUIT

32

EPL_OBJECTTYPE_CABLETYPE

33

EPL_OBJECTTYPE_CABLETYPELIST

34

EPL_OBJECTTYPE_NETWIRE

35

EPL_OBJECTTYPE_PARTSYMBOL

36

EPL_OBJECTTYPE_ACTUALTERMINAL

37

EPL_OBJECTTYPE_GROUP

represents a group

38

EPL_OBJECTTYPE_DATABASE

represents the Database object

39

EPL_OBJECTTYPE_CABLE

represents a cable

40

EPL_OBJECTTYPE_INTERRUPTIONPOINT

represents a interruption-point

 

EPL_OBJECTTYPE_UNKNOWN

Object type 0 (unknown object) is returned in case of error.


 

EPL_OBJECTTYPE_DATABASE

Object type 38 represents the Database object. This object type is the parent object (parent) for the following iterators:


 

EPL_OBJECTTYPE_PART

Object type 13 represents the Part object. This object type is the parent for the following iterators:


 

EPL_OBJECTTYPE_CIRCUIT

This object type (31) is the parent object of:


 

EPL_OBJECTTYPE_COMPONENT_PART

Object type 7 is the parent for the following iterators:


 

EPL_OBJECTTYPE_PARTSYMBOL

Object type 35 represents the part symbols.


 

EPL_OBJECTTYPE_CONNECTIONPOINT

Object type 15 represents a connection point of a device or a component.


 

EPL_OBJECTTYPE_CONNECTION

Object type 24 represents the Wire object.


 

EPL_OBJECTTYPE_DEVICETAG

Object type 3 represents the Device tag object. This object type is the parent for the following iterators:


 

EPL_OBJECTTYPE_FORMAT

Object type 20 represents a format string. This object type is the parent for the following iterator:


 

EPL_OBJECTTYPE_FORMATENTRY

Object type 21 represents an entry in a format string.


 

EPL_OBJECTTYPE_FORM

Object type 10 represents a form of a working set, a project or a macro. This means that the parent objects are:


EPL_OBJECTTYPE_FORM itself is the parent for the following iterators:


 

EPL_OBJECTTYPE_GROUP

Object type 37 represents a group. This object type is the parent for the following iterators:


 

EPL_OBJECTTYPE_INSTANCE

Object type 4 returns the instance of an object as object. It is the parent for the following iterators:


 

EPL_OBJECTTYPE_LAYER

Object type 23 represents a layer of a graphics page. This object type is the parent for the following iterators:


 

EPL_OBJECTTYPE_LOCATION

Object type 17 represents locations and sublocations on a graphics page. This object type functions as its own parent object and is a parent for the following iterators:


 

EPL_OBJECTTYPE_MACRO

Object type 25 represents the Macro object. It is the parent for a large number of iterators:


 

EPL_OBJECTTYPE_NODE

Object type 16 represents an equi potential node in a project. This object is the parent for the following iterators:


 

EPL_OBJECTTYPE_PAGE

Object type 2 represents a page. This object is the parent for the following iterators:


 

EPL_OBJECTTYPE_PLOTFRAME

Object type 11 represents a plot frame. It is the parent for the following iterators:


 

EPL_OBJECTTYPE_POTENTIAL

Object type 14 represents a potential list. This object is the parent for the following iterators:


 

EPL_OBJECTTYPE_POTENTIALDEF

Object type 27 represents a potential definition in a project or a macro. Correspondingly, it has the following parent objects:

Furthermore, EPL_OBJECTTYPE_POTENTIALDEF is the parent for the iterator:


 

EPL_OBJECTTYPE_PROJECT

Object type 1 represents the Project object. This object type is the parent for a large number of iterators:


 

EPL_OBJECTTYPE_PROPERTYDEF

Object type 22 represents a property definition. Accordingly, it has the parent objects:


 

EPL_OBJECTTYPE_PROPERTYLIST

Object type 26 represents a property list.


 

EPL_OBJECTTYPE_PUMANAGER

Object type 28 represents the property user manager.


 

EPL_OBJECTTYPE_PROPERTY

Object type 5 represents a determined property. The following parent objects are permitted:


 

EPL_OBJECTTYPE_ROLE

Object type 30 represents a valid user group.


 

EPL_OBJECTTYPE_SYMBOLFILE

Object type 9 represents a symbol file. It is the parent for the following iterators:


 

EPL_OBJECTTYPE_SYMBOL

Object type 12 represents a symbol. It is the parent for the following iterators:


 

EPL_OBJECTTYPE_ITERATOR

Object type 6 represents an iterator.


 

EPL_OBJECTTYPE_COMMAND

Object type 29 represents an API command.


 

EPL_OBJECTTYPE_DIALOG

Object type 18 represents a dialog.


 

EPL_OBJECTTYPE_DIALOGCONTROL

Object type 19.


 

EPL_OBJECTTYPE_CABLE

Object type 39 represents a cable. It is the parent for the following iterators:


 

EPL_OBJECTTYPE_INTERRUPTIONPOINT

Object type 40 represents a interruption-point.


 

EPL_OBJECTTYPE_CABLETYPE

Object type 32.


 

EPL_OBJECTTYPE_CABLETYPELIST

Object type 33.


 

EPL_OBJECTTYPE_NETWIRE

Object type 34.


 

EPL_OBJECTTYPE_ACTUALTERMINAL

Object type 36.


 

EPL_OBJECTTYPE_PLC_IN_MANAGER

Please do not use object type 8 any longer.