CreateTerminalDevice(Project,String,String,String,String,Boolean) Method
In This Topic
Creates new terminals for a new or existing DT according to a particular numbering pattern. The terminals are generated from the function templates of the selected part, with the numbering pattern defining the terminal designations. The first terminal generated becomes the main terminal per device and receives the selected part.
Syntax
public bool CreateTerminalDevice(
Project ,
string ,
string ,
string ,
string ,
bool
)
public:
bool CreateTerminalDevice(
Project^ ,
String^ ,
String^ ,
String^ ,
String^ ,
bool
)
Parameters
| Parameter Name | Description |
|---|
| oProject | The project in which the new terminals will be. |
| strFullDeviceTag | This parameter determines the DT of the new terminals. |
| strPartNumber | The article's part number. |
| strPartVariant | The article's variant. |
| strNumberingPattern | Numbering pattern. |
| bNumberByLevels | If set to true, the terminals are numbered by level. |
Exceptions
See Also