API Help
Eplan.EplApi.HEServices Namespace / Edit Class / OpenPageWithDeviceName Method
Full link file name of the project.
Name of a function.

OpenPageWithDeviceName Method
Opens the page which contains a given function. The function is selected in the graphic editor.
Syntax
public void OpenPageWithDeviceName( 
   string strFullLinkFileName,
   string strDeviceName
)

Parameters

strFullLinkFileName
Full link file name of the project.
strDeviceName
Name of a function.
Exceptions
ExceptionDescription
Is thrown in case of invalid \parameters.
The graphics editor interface could not be created.
Remarks
The given function can be a main function (motor,...), a device with index (plug, PLC connection,...) or an interruption point. Only the first found function will be selected. The method does not work if a function has graphic or external representation type.
See Also