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.
[FIX] FS Beam
emagdalenaC2i
Member, Developers, Channel partner Posts: 863 ✭✭✭✭✭
Hi @NeilCooke
There is a small bug in the Beam FeatureScript
To fix it, just replace in the "Beam Feature" tab the line 105:
There is a small bug in the Beam FeatureScript
To fix it, just replace in the "Beam Feature" tab the line 105:
if (!definition.setCustomName)to
elseThis is the code I use:
<div>if (definition.profileType == ProfileType.CUSTOM)</div><div>{</div><div> annotation { "Name" : "Override", "UIHint" : "REMEMBER_PREVIOUS_VALUE" }</div><div> definition.setCustomName is boolean;</div><div> if (definition.setCustomName)</div><div> {</div><div> annotation { "Name" : "Name", "Default" : "Custom Profile", "UIHint" : "REMEMBER_PREVIOUS_VALUE" }</div><div> definition.customName is string;</div><div> }</div><div>}</div><div>else</div><div>{</div><div> annotation { "Name" : "Standard", "Default" : false, "UIHint" : "REMEMBER_PREVIOUS_VALUE" }</div><div> definition.nameStandard is boolean;</div><div><br></div><div> annotation { "Name" : "Profile", "Default" : true, "UIHint" : "REMEMBER_PREVIOUS_VALUE" }</div><div> definition.nameProfile is boolean;</div><div>}</div>
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
0
Comments
I used:
Feature versioned - thanks for finding this.
https://www.youtube.com/watch?v=tn3-0H63RfQ
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