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.
Is there a function in FeatureScript can perform operation `suppress`?
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_steur814 Member Posts: 232 PRO
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.2
Answers
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.
Thanks @jelte_steur814
👍️