Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Editing interface labels

DSPuzzlesDSPuzzles Member Posts: 17 EDU
edited May 2018 in Community Support
I am writing a rather complex FeatureScript feature that takes in a length as an input, stored in definition.length. Depending on a few options (enums), I would like the label of this input to either read "Edge length", or "Short edge length", or "Long edge length", while still storing the value in definition.length.

I know I can simply make 3 different length parameter inputs and then, with the aid of an if statement, set a variable "length" equal to the relevant one, but I am doing this to avoid overly complicated feature preconditions with several different inputs that essentially refer to the same thing. All I really want to do is change the label. Is this possible?

Thank you for your time!

Best Answer

Answers

  • DSPuzzlesDSPuzzles Member Posts: 17 EDU
    Hi @Disousa

    This is not possible as of now.  Sorry for the inconvenience. 
    It's ok, FeatureScript is a great thing to have regardless. One of the main reasons I use OnShape.
Sign In or Register to comment.