Editing interface labels

DSPuzzles
DSPuzzles 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

  • DSPuzzles
    DSPuzzles 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.