I have been able to import a raster image onto a datum plane manually by using the NX GUI. I did this and recorded the journal which I transcribed into C# for use as a .dll. When I run all the same steps, I get an error, code 3520110. This error is thrown at the step where I am identifying the corner points of the image. I am 90% sure the issue is in how the image is aligned. In other words, my rectangle doesn't match up with the image orientation and so it is looking for pixels that aren't there. I have set a reference alignment vector to be the (bottom to top) y axis of my image but it doesn't seem to have an effect. Any thoughts?
↧