Csaba Solyom
Mechanical
- Sep 22, 2016
- 14
Hello,
I'm currently using the UFDisp.CreateImage function to export some basic screenshots of components, and noticed it says DEPRECATED on the NXOpen .NET Reference Guide (Link to documentation).
We are using NX1919 and NX2027, and in both of these versions this function still works correctly. I just don't know whether it will keep working in any future version, as I can't find documentation about this deprecation (in what NX version, and what is the replacement).
Can anyone give me ideas, what is a good replacement method for this function (in case we'll need to do that in the future)?
Code snippet:
Thanks,
Csaba
I'm currently using the UFDisp.CreateImage function to export some basic screenshots of components, and noticed it says DEPRECATED on the NXOpen .NET Reference Guide (Link to documentation).
We are using NX1919 and NX2027, and in both of these versions this function still works correctly. I just don't know whether it will keep working in any future version, as I can't find documentation about this deprecation (in what NX version, and what is the replacement).
Can anyone give me ideas, what is a good replacement method for this function (in case we'll need to do that in the future)?
Code snippet:
Code:
theUFSession.Disp.CreateImage("C:\\Testfolder\\test\\testimage.png",UFDisp.ImageFormat.Png,UFDisp.BackgroundColor.White);
Thanks,
Csaba