<p>Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.</p></p><strong>First time visiting? Here are some places to start:</strong></p><ol style="list-style:inherit;margin-left:25px;"><li>Looking for a certain topic? Check out the <a href="https://forum.onshape.com/categories">categories filter</a> or use Search (upper right).</li><li>Need support? <a href="https://forum.onshape.com/post/question/community-support">Ask a question</a> to our <a href="https://forum.onshape.com/categories/community-support">Community Support</a> category.</li><li>Please submit support tickets for bugs but you can request improvements in the <a href="https://forum.onshape.com/categories/product-feedback">Product Feedback category</a>.</li><li>Be respectful, on topic and if you see a problem, Flag it.</li></ol><p>If you would like to contact our Community Manager personally, feel free to <a href="https://forum.onshape.com/profile/6/LouGallo">send a private message</a> or <a href="mailto:lgallo@onshape.com">an email</a>.
</p>

Error with "Variables" in sketch

mitchel_palmer
mitchel_palmer Member Posts: 20 ✭✭
Hi there,

i cant seem to get my variable to work in this sketch. can anyone help?

*i have just saved the file with a numeric value 
https://cad.onshape.com/documents/dfd463c329baadcb71cf923a/w/7641a894ea47965649c0d62c/e/a4d1fb8632ab60571edbb2a6

note i have no problems with using variables in the top plane - see the last sketch at the bottom.

any ideas why i cant use the variable here as indicate?

thanks in advance

mitch


Best Answer

Answers

  • konstantin_shiriazdanov
    konstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    variable defenition should be done before the feature you want to use variable in, it is just like with any another feature
  • mitchel_palmer
    mitchel_palmer Member Posts: 20 ✭✭
    oh i see, so there is no global variable manager like Solidworks?
  • konstantin_shiriazdanov
    konstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    yes, thought if you define all the variable on the top of the feature tree they all will be avaliable in any feature after that