Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Open question about "GetPreviewImage()"

Status
Not open for further replies.

lklo

Industrial
Joined
Nov 24, 2010
Messages
226
Location
DK
hi -

I have builded a program (NXOpen API , VB.net) , that find and open drawing specifications from current workpart.
When there are more than one specification ,they will be displayed in a listbox ,and the user can pick one of them ,and then the drawingpart opens ,and switch to Drafting Application after OK button is pressed.

Everything Works fine - even if the drawingfile's not is loaded ,when the program is launched .

But I would like to enhance the program ,so it could display the drafting-parts previewimage, when the displayed Items is picked in the listbox.

I have tried to test the command GetPreviewImage() , but as far as I can figure it out ,this command only allows the parts model preview.

But does someone here on Eng/Tips know a command, so it should be possible to "catch" the preview from a drawing file , (the same image as when NX standard FileOpen is used ,or the image in the History Bar).

Another way way to catch the preview could be to "ask" for the drawingspecification's preview in Teamcenter - could this be a option?

lklo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top