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.

Triangular error icon in custom feature that is running correctly

Jed_YeiserJed_Yeiser Member Posts: 37 PRO
edited September 26 in FeatureScript

Hey there,

I've written a custom feature to rename bodies. The feature is working as intended, but often (sadly, not always) when I change features above this feature in the feature, I get this icon:

The feature is still processing data correctly - the correct bodies are being assigned the correct names, the correct strings in body names are being replaced, etc. There are no notices Featurescript notices that give me an indication of what's going wrong.

The code for the feature is located here. As best I can tell, the feature 'thinks' some queries are incorrect (even though they're working correctly). I can clear the error out by triggering editing logic - so I'm willing to bet that the issue stems from there.

Any insight into this error and ways to resolve it would be hugely appreciated!

Thanks!

-j

Comments

  • Caden_ArmstrongCaden_Armstrong Member Posts: 194 PRO

    My guess is that the query you assign in editing logic is not robust.
    But I'm not able to replicate the error with your code.
    What steps are you taking to cause this?

    www.smartbenchsoftware.com --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
  • Jed_YeiserJed_Yeiser Member Posts: 37 PRO

    Hey Caden,

    I get this error when I use a new .csv import file for a new design/size. I'll share a document with you that's configured. You can trigger the error by switching the configuration (which in turn starts with a new size/csv file).

    Thanks!

Sign In or Register to comment.