How to avoid cyclic dependencies in formulas

Tekla Structures
Muokattu: 6 Jou 2022
2024
Tekla Structures

How to avoid cyclic dependencies in formulas

Be careful not to create cyclic dependencies between variables, or else the custom component will not work correctly. A cyclic dependency chain contains formulas that make a variable eventually dependent on itself.

In the following example, variable P1 becomes dependent on itself, through variables P2 and P3:

Cyclic dependencies may also occur when binding handles to other objects or when using magnetic construction planes. When you create new formulas, bindings, or magnetic construction planes, Tekla Structures checks if they create cyclic dependency chains in a custom component. If that happens, a warning message "Caution. Operation created cycle." is displayed.

Tekla Structures also writes the message "Cycle detected in parametric solver" into the session history log file and lists the objects involved in the cyclic dependency, to help you find and remove the cyclic dependency. If you do not remove it, the custom component will not work correctly.

Oliko tästä apua?
Edellinen
Seuraava