Invert FeatureScript Query
ken_kaiser
Member Posts: 6 ✭
There are a few times where it is easier to select a part by excluding other parts.
Is there a way to invert the selection, I tried !query, but it isn't boolean. I've tried to find a list of subqueries, I can't find them in one place, but I went through the Standard Library.
Keywords I've tried: opposite, inverse, logical operator
*Update* Found it, I hope this saves some else not being able to find it. CAD terms vs programmer terms.
qSubtraction(query1, query2);
A query for entities which match
Is there a way to invert the selection, I tried !query, but it isn't boolean. I've tried to find a list of subqueries, I can't find them in one place, but I went through the Standard Library.
Keywords I've tried: opposite, inverse, logical operator
*Update* Found it, I hope this saves some else not being able to find it. CAD terms vs programmer terms.
qSubtraction(query1, query2);
A query for entities which match
query1, but do not match query2.
Tagged:
1
Comments
-
How did you apply the function to the actual script?0
-
Un saludo,
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común1

