API Help
Eplan.EplApi.HEServices Namespace / CableService Class / CreateAutoCable Method / CreateAutoCable(String,String,Boolean) Method
Full link file name of the project in which cables will be generated.
Name of the scheme used for generating cables.
If set to true, connections are generated prior to cable generation.

CreateAutoCable(String,String,Boolean) Method
Automatically generate cables in the given project.
Syntax

Parameters

strFullLinkFileName
Full link file name of the project in which cables will be generated.
strCreateSchemeName
Name of the scheme used for generating cables.
bRegenrateConnections
If set to true, connections are generated prior to cable generation.
Exceptions
ExceptionDescription
Invalid parameters found.
\Internal interface necessary for cable generation could not be created.
Cable generation has reported an error. Please read the exception message.
An error occurred when used scheme name doesn't exist
Remarks
If the user scheme given in strCreateSchemeName does not exist, an ArgumentException will be thrown. If you pass an empty string to strCreateSchemeName, the last-used scheme will be used which is currently set in GUI.
See Also