Feature by expression
Feature by expression
(OP)
Hi All!
I am currently doing a few parts and wanting to control them all by a single expression, so far i am managing but i have come across a problem i cant solve.
I have part that when over 60mm it has four holes that are threaded 25mm, when under 60mm it the threaded holes just go straight through. This means that depending on the size there is either 2 or 4 holes, is there an expression anything like this
If ( 'part' >= 60 )
Then ( 25 )
Else if (p4 < 60 )
Then (DO NOT DO IT!)
I assumed the word 'false' would work but thats a 'syntax error'
Any help appreciated,
Thanks
I am currently doing a few parts and wanting to control them all by a single expression, so far i am managing but i have come across a problem i cant solve.
I have part that when over 60mm it has four holes that are threaded 25mm, when under 60mm it the threaded holes just go straight through. This means that depending on the size there is either 2 or 4 holes, is there an expression anything like this
If ( 'part' >= 60 )
Then ( 25 )
Else if (p4 < 60 )
Then (DO NOT DO IT!)
I assumed the word 'false' would work but thats a 'syntax error'
Any help appreciated,
Thanks





RE: Feature by expression
It will do just what you need.
After you check it out then come back here and ask more questions if you have them.
RE: Feature by expression
RE: Feature by expression
Thanks very much jerry1432
RE: Feature by expression
Suppress by expression creates an expression where it is either 1 or 0. 1 can turn the feature on and 0 can turn it off, or it can be the other way around.
Suppress by expression will create an expression, usually last in your expression list, that will be either a 1 or 9 . . . more later
RE: Feature by expression
I will try to make a sample part similar to what you described above.
It really isn't too bad.
RE: Feature by expression
is 25mm the depth of the tap ?