×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX Open question about "GetPreviewImage()"

NX Open question about "GetPreviewImage()"

NX Open question about "GetPreviewImage()"

(OP)
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

RE: NX Open question about "GetPreviewImage()"

It appears that the .GetPreviewImage method will currently only return the modeling image.

Quote (.net API reference)

Note: this will return the modeling preview image only.

www.nxjournaling.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources