Eplan Platform API
Eplan.EplApi.HEServices Namespace / CableService Class / AutoCableSelection Method / AutoCableSelection(Project,String,Boolean) Method
Project for which the cable selection is done.
scheme name for the automatic cable selection.
If set to true, the selection is only done for automatically generated cables.

In This Topic
    AutoCableSelection(Project,String,Boolean) Method
    In This Topic
    Commits an automatic cable selection in the project.
    Syntax

    Parameters

    oProject
    Project for which the cable selection is done.
    strAutoSelSchemeName
    scheme name for the automatic cable selection.
    bOnlyAutomaticCables
    If set to true, the selection is only done for automatically generated cables.
    Exceptions
    ExceptionDescription
    invalid parameters found, e.g. the scheme was invalid.
    \Internal interface for generating cables could not be created.
    Error during cable selection.
    Remarks
    If the given user scheme (strAutoSelSchemeName) does not exist, an ArgumentException is thrown. If the parameter strAutoSelSchemeName is set to an empty string, the last-used scheme will be used which is currently set in GUI.
    See Also