Properties |
Methods |
Collection of links to the coupled problem.
The Links collection contains all the Link objects, describing the coupling link from the problem to another problem. The Links collection is accessible by the Links property of the Problem object. The Links collection provides methods to adding new Link objects to the collection and to removing from it. It also provides a property showing if any type of coupling link is allowed for the problem.
The Links collection provides the following properties and methods:
Retrieves the Link object from the collection by its
index.
| |
Count property as long
|
Returns the number of Link objects in the collection. |
Returns the parent Problem object that contains the links. | |
Add (linkType as QfLinkTypes, |
Adds a new coupling link to the problem links collection. When adding a new link you specify the type of new link, and the name of the problem file that the link refers to. Unlike the type, targetName can be changed later.
|
AddEx (linkType as QfLinkTypes, |
Does the same as the Add method. |
Remove (index as Variant)
|
Removes the coupling link denoted by the index parameters.
|
LinkAllowed property as Boolean
|
Returns True if the problem can contain links to other problems. |
Please see the code example in the How To: Work with a Problem topic.