Prestress - Cable Geometry with Structural Line

Hi everyone.
I am new with Teddy, and I need help…
The problem I am facing now is to define prestress force in the cable if the cable geometry is defined with a structural line (Grasshopper).

Cable geometry:
SLN - GRP 31 SNO 31 DRX 0.000000 0.000000 -1.000000 STYP C
SLNB X1 160.00000000 0.00000000 18.00000000 X2 156.84210667 0.00000000 16.27709216

Loading:
+PROG SOFILOAD URS:28
HEAD
UNIT 5
ECHO ACT Full
ACT P
LC 21 TYPE NONE TITL ‘P1’ ; CABL 31 TYPE VX PA 1500
LC 22 TYPE NONE TITL ‘P2’ ; CABL 31 TYPE VX PA 1500
LC 23 TYPE NONE TITL ‘P3’ ; CABL 32 TYPE VX PA 300
END

I become Error like:
+++++ error no. 2016 in program SL_IA_CABL ; input line: 9
No CABLE element found within 31 31 0

I would be thankful for any help.
All best

  • LC 23 TYPE NONE TITL ‘P3’ ; CABL 32 TYPE VX PA 300
    There is no cable 32/group 32 in the geometry part (unless you aren’t showing everything)
  • SLN - GRP 31 SNO 31 DRX 0.000000 0.000000 -1.000000 STYP C
    Your cable element is in group 31, the element(s) should have the numbers 310 001 (and up) if the standard 10 000 group divisor is used

This should do it:
LC 21 TYPE NONE TITL ‘P1’ ; CABL FROM GRP TO 31 TYPE VX PA 1500

Thank you for a quick answer.
All best!