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.

icons

maciek
maciek OS Professional Posts: 35 PRO
edited March 2025 in FeatureScript

Hi,

I'm trying to add icon, but nothing works. I even copied icon, folder and then imported icon from this feature script document (below) and still nothing.

https://cad.onshape.com/documents/7543d74a1c21c7b27ebab24c/w/7e90f19b067cd13f155a004d/e/dc7fa4149845322defe70d01?_gl=1di1gn6_upMQ.._gaMTQyODczMDY2LjE3NDMwODkwOTM._ga_DZZ0XQS0VB*MTc0MzA4OTA5Mi4xLjAuMTc0MzA4OTA5Mi4wLjAuMA..#_ga=2.33185790.13376841.1743089093-142873066.1743089093

Comments

  • _anton
    _anton Member, Onshape Employees Posts: 544 image

    You're trying to add an icon to your custom feature? Icons are specified thusly: https://cad.onshape.com/FsDoc/uispec.html#icons

  • maciek
    maciek OS Professional Posts: 35 PRO

    yes, I want it to show in my toolbar.

  • S1mon
    S1mon Member Posts: 4,373 PRO

    Custom icons do not work on Enterprise 😡. Perhaps that's the issue?

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • MichaelPascoe
    MichaelPascoe Member Posts: 2,930 PRO

    @maciek please share a link to your feature and we'll take a look.


    RENDERCAD
    rendercad.ai - Photorealistic product rendering.

    ▚▞▚▞▚▞▚▞▚
    ________________________________________________________________________
  • maciek
    maciek OS Professional Posts: 35 PRO

    I found it. I didn't have ""Icon" : icon::BLOB_DATA," expression in annotation with feature name. Thanks