Cables(String,String,String,String,Boolean,Boolean,Int32,Int32,Boolean) Method
In This Topic
Creates cables in the given project. The functionality includes three steps: creating cables, cable numbering, cable selection.
Syntax
public void Cables(
string ,
string ,
string ,
string ,
bool ,
bool ,
int ,
int ,
bool
)
public:
void Cables(
String^ ,
String^ ,
String^ ,
String^ ,
bool ,
bool ,
int ,
int ,
bool
)
Parameters
- strFullLinkFileName
- Full link file name of the project in which cables will be generated.
- strCreateSchemaName
- Name of the scheme for generating cables.
- strNumberingSchemaName
- Name of the scheme for cable numbering.
- strAutoSelSchemaName
- Name of the scheme for automatic cable selection.
- bRegenrateConnections
- If set to true, connections are updated in advance to cable generation.
- bKeepOldNames
- If set to true, existing cable names are not changed.
- nStartValue
- Start value of the device tag counter.
- nStepValue
- Step width, by which the DT counter is increased.
- bOnlyAutomaticCables
- If set to true, the cable selection will only be done for automatically created cables.
Exceptions
Exception | Description |
ArgumentException | Thrown in case of
invalid arguments,
for example a wrong
scheme. |
ApplicationException | An internal interface
necessary for
generating cables
could not be created. |
Eplan.EplApi.Base.BaseException | An error occurred
during cable
generation. Please
refer to the
exception message. |
See Also