Jump to content

Ignore a Feature/Characteristic


---
 Share

Recommended Posts

I have a two part family program, using PCM. One is a sub-assembly, the other a final assembly (a press fit cannulated cap). When measuring the sub-assembly, I don't need to measure the 2d line that gets measured in the assembly. How do I use either PCM, or a conditional statement to ignore this feature when the sub-assembly is being measured?
Link to comment
Share on other sites

That's an option, but I'm using PCM to switch back and forth between models/ops. Ideally, I'd like to stick with that approach.
I know there's a simple way to use a conditional formula to ignore the feature, but don't know what that is.
Link to comment
Share on other sites

Well, basically you put in a comparison term that evaluates as "false" when the assembly is measured. What to compare is up to you, it has to be something distinct that differs between the two variants, for example a protocol header field.
Let's assume you have a header field named u_field1 that contains "SUB" for the sub-assembly and "FINAL" for the final asssembly. Then the condition could be:
getRecordHead("u_field1")<>"SUB"
Note: If you really use a header field, make sure to avoid typos or case mismatch, otherwise the above statement may fail. This is best achieved if you define the header field as a dropdown list with fixed entries.
Link to comment
Share on other sites

 Share

×
×
  • Create New...