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.
Annotation Default value from other Annotation
emagdalenaC2i
Member, Developers, Channel partner Posts: 863 ✭✭✭✭✭
It is possible to assign as default value of an annotation the value assigned in other annotation?
annotation { "Name" : "Tipo de soldadura", "UIHint" : ["REMEMBER_PREVIOUS_VALUE", "SHOW_LABEL"] }
definition.weldType is WeldType;
annotation { "Name" : "Lado opuesto", "UIHint" : "REMEMBER_PREVIOUS_VALUE", "Default" : false }
definition.buttOtherSide is boolean;
if (definition.buttOtherSide)
{
annotation { "Name" : "Tipo de soldadura", "UIHint" : ["REMEMBER_PREVIOUS_VALUE", "SHOW_LABEL"], "Default" : definition.weldType }
definition.weldType2 is WeldType;
}
}
Un saludo,
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
1
Comments
Thanks
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
You are welcome to collaborate https://github.com/mbartlett21/weld-featurescript
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común