So I’m learning how to do the baq zones. I’m going through the ICE customization guide and it says to make a calculated field with like this (double quotes)
As written in the help
“C:\DL\zone[LIKE:Part.Partnum].bmp”
I modified mine to this
“N:\Eng[Like:Part.Partnum].tif”
I tried just the way they typed it, modified for my file structure, but of course, it doesn’t work with the double quotes, and the token doesn’t seem to work either. It obviously fails the syntax test, and won’t return anything with the BAQ itself. Does anyone have a better guide to make this work? or can see what I am doing wrong?
I can get the baq zone to work fine with just a grid of information, (I set up a part where used that will be helpful), but I was interested in trying to get the images to work, as this might be helpful.
Brandon,
Your file path string should be single quotes for sure. Also I’ve always had better luck with shared folders or unc file paths for that. See screen shots below.
I’ll give that a shot. The customization guide doesn’t have the table criteria like you’ve shown here, although it automatically filters by the first column, so I’m not sure if I need it, but I’ll throw it in there and see if it makes a difference.
In C#, if you preface a string with the ‘@’ symbol, then it won’t process escape characters. Might night be helpful here but it has been nifty in other places.
So this is what I get when when I try to make it work. How do I get this to display an image? I have to missing a step somewhere, but I don’t see anything in the customization guide.
@Chris_Conn I tried double \'s but that didn’t make a difference.
Yup. that’s how the grid shows up in my fail that I showed previously. I can get it to show a grid of information, which I will use in a couple of spots, but I’m would like to get the images to work as well.
it’s the .tif that it doesn’t like. I changed the file type to png and re-saved a sample print from .tif to png. Now it works. Not that great though, you can’t zoom out, and if you click on the image is throws an exception.
Probably not worth the work for this example. We have a lot of ways to look up a print, from right click open with print, some VB scripts in windows that you can highlight and control+L to open a print, to solidworks. But it’s nice to know how it works in case I run across something in the future that I do think it’s helpful for.