Its a friday morning and I was out last night so this is probably not the best method but it will work, I have added some sample code below as an example
Assign an array to the measured dimensions of your angles
Assign a variable to the max dimension of the array
Assign a variable to the min dimension of the array
Assign a variable to the max minus the min value,
Use an IF statement to write OUT OF TOLERANCE to your report if the difference is greater than 1
Use an ELSE statement to write IN TOLERANCE to your report if the difference is less than 1
Thanks jon_dav_uk;
that did what i needed it to do.
not to be a pain in the a$$ but is it possable to have the comment in red if it is greater than 1 deg.?
I don't think so, but you could create a generic feature with the variable in it. You can do the same with keyed in dimension.
You also could use a COMMENT/OPER. That would put a comment window up telling the operator it was out. Many ways to deal with this, basically personal preference.
When in doubt, post code. A second set of eyes might see something you missed.
sigpic
I want to grab the negative tolerance from a dimension and assign the value to a variable. I can get all other dimension variables, but the negative...
Hi - Want use variables to measure several different parts using (1) program. In Quindos I would call a Procedure that had all the part dimensions as...
Comment