Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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
DSPuzzles
Member Posts: 17 EDU
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!
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!
Tagged:
0
Best Answer
-
Jake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,646Jake Rosenfeld - Modeling Team5
Answers
This is not possible as of now. Sorry for the inconvenience.