help with variables syntax

andrei_stoica
andrei_stoica Member Posts: 10 ✭

hi! I need to calculate a length of pipe with various bends, I have created a variables table, but I run into a problem:

neither of these syntaxes works:

2x(#brat_orizontal)+2x(#LAC35M16)+2x(#DH)+2x(#LAC90M16)+(#LCI)

(2x(#brat_orizontal))+(2x(#LAC35M16))+(2x(#DH))+(2x(#LAC90M16))+(#LCI)

[2x(#brat_orizontal)]+[2x(#LAC35M16)]+[2x(#DH)]+[2x(#LAC90M16)]+(#LCI)

can someone help me with this? thank you, in advance

syntax_err.jpg

Best Answer

  • EvanReese
    EvanReese Member, Mentor Posts: 3,099 PRO
    Answer ✓

    use * not x for multiplication. Post back if that doesn't fix it.

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com

Answers

  • EvanReese
    EvanReese Member, Mentor Posts: 3,099 PRO
    Answer ✓

    use * not x for multiplication. Post back if that doesn't fix it.

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • andrei_stoica
    andrei_stoica Member Posts: 10 ✭

    thank you! it will surely work - at the moment it seems I have some problems using OnShape, seems like connectivity issues (and I am on 1GB fibre optic) - basically nothing works, maybe in the next few days it will resume working