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.

Make part with conditional transparency?

vanowmvanowm Member Posts: 30

Hello.

Is there a way make a part transparent based on configuration (aka add a checkbox to make a part transparent or not)? (via appearance or transparency feature)

Thank you.

Comments

  • Alex_KempenAlex_Kempen Member Posts: 250 EDU
    edited May 3

    FeatureScript's setProperty with PropertyType.COLOR can set both the RGB and alpha (opacity) of a part, although that workflow will of course be for part studios only.

    Software Developer at Epic Systems
    FRC Design Mentor - Team 1306 BadgerBots


  • EvanReeseEvanReese Member, Mentor Posts: 2,349 ✭✭✭✭✭

    Here's an example using my Part Color feature.

    https://cad.onshape.com/documents/27db832908e005a57fa4a4b8/w/aba6a8a54c161e503412d8f4/e/8851a175a2ca12aff6660282

    May-04-2025 07-59-52.gif
    Evan Reese
    Independent Onshape Consultant
  • vanowmvanowm Member Posts: 30

    Since this was asked in drawing section of the forum, not featurescript section, would you please provide little more details how to achieve this?

  • EvanReeseEvanReese Member, Mentor Posts: 2,349 ✭✭✭✭✭

    You don't need to know featurescript for my solution. Just use the Part Color feature and configure the alpha value.

    Evan Reese
    Independent Onshape Consultant
Sign In or Register to comment.