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.

Is there a function in FeatureScript can perform operation `suppress`?

jiahao_lee103jiahao_lee103 Member Posts: 14 EDU

Hello everyone, my question is:
Take chamfer as an example. Its operation is on some edges or faces. However, after the operation, the operated faces or edges will disappear, making it impossible for me to trace their information through transientId.

In the main drawing page of onshape, the chamfer operation can be suppressed by supress so that the edges operated by chamfer are displayed, but can this suppression operation be completed in the feature script? (I want to trace the edge or face information operated by chamfer by suppressing this operation in the feature script)

Best Answer

  • jelte_steur814jelte_steur814 Member Posts: 232 PRO
    edited December 5 Answer ✓

    A (custom) feature cannot influence another feature. so the simple answer is no.

    don't know why you'd want to trace the information of an edge that doesn't exist any more.
    But obviously it's feasible to take the faces adjacent the chamfer face, (re)extend/untrim those and (re)create an intersection curve internally in the FS to get the geometric information of the lost edges. Don't know how robust this will be for what you're looking for, but just my thoughts.

Answers

  • jelte_steur814jelte_steur814 Member Posts: 232 PRO
    edited December 5 Answer ✓

    A (custom) feature cannot influence another feature. so the simple answer is no.

    don't know why you'd want to trace the information of an edge that doesn't exist any more.
    But obviously it's feasible to take the faces adjacent the chamfer face, (re)extend/untrim those and (re)create an intersection curve internally in the FS to get the geometric information of the lost edges. Don't know how robust this will be for what you're looking for, but just my thoughts.

  • jiahao_lee103jiahao_lee103 Member Posts: 14 EDU
  • jelte_steur814jelte_steur814 Member Posts: 232 PRO

    👍️

Sign In or Register to comment.