Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. NXProf

    Error in NX 7.5 Parts List quantities

    Hello NX experts, We are having difficulties with the Parts List when updating the attribute information from our assemblies, in which numerous drawings are being affected. The issue is that when the parts lists are updated, sometimes the exact same parts will separate onto two different rows...
  2. NXProf

    Recurring e-mail message in Outlook

    Thank you very much xwb for the Voting options code, which is working well! Have a wonderful weekend!
  3. NXProf

    Recurring e-mail message in Outlook

    Thank you MacGyverS2000 for the tip. And thank you so much xwb for your code, which worked well! Any ideas on how to have the automatic e-mail to include the Yes/No Vote option as if sending the e-mail as a normal e-mail? Thank you again!
  4. NXProf

    Recurring e-mail message in Outlook

    Hello, I have a really simple question. I'm attempting to create a reoccurring e-mail message in Outlook, in which I've located the following link, which works well: https://support.microsoft.com/en-us/help/239087/how-to-create-a-recurring-e-mail-message-in-outlook. But my question is "How...
  5. NXProf

    "NXOpen.NXException.Invalid file name" error message

    cowski, your revised code worked like a charm! Thank you very much for your incredible guidance, code, and suggestions which I cannot thank you enough! I'll definitely have to purchase another .NET book since the one I have (even though it is good) lacks many of the moderate to advance...
  6. NXProf

    "NXOpen.NXException.Invalid file name" error message

    Thank you cowski for your tremendous help, sound advice, and educating me to lists as well as the Microsoft link on ReDim Statements. Tomorrow, I'll let you know how it works out. Thank you again! Regards, NX Prof
  7. NXProf

    "NXOpen.NXException.Invalid file name" error message

    Thank you cowski. But what I am considering is that there will always exist one more sheet in each file. Please see the example below, where the actual number of sheets = 5 and the first sheet “INFO” is to be ignored for the final output: totalNumberOfSheets = 4 The sheet names are: “INFO”...
  8. NXProf

    "NXOpen.NXException.Invalid file name" error message

    Thank you cowski for your response. I merged your code, which provided me with a journal message "1020005: Invalid file name". The code (stripped down) I am currently using is as follows: ' NX 7.5.5.4 ' Option Strict Off Imports System Imports System.IO Imports System.Collections Imports...
  9. NXProf

    "NXOpen.NXException.Invalid file name" error message

    Hello, I've completed VB code that properly creates html files from drawing sheets, in which it throws out an error message after creating the files and states the following: "NXOpen.NXException.Invalid file name at NXOpen.Builder.Commit() at NXJournal.Main() in...
  10. NXProf

    VB Code: BOM comaprison of 2 Assembly REVs

    Thank you Mike, Khimani, and Mukundh each for your advice. But since I am unfamiliar with PLMXML, a workflow process, and C/C++, I will have to place this one on hold until another solution may be possible with VB code. Thanks again. Regards, NX Prof
  11. NXProf

    VB code to run a batch file from NX

    Thank you Joe and apekas very much for your excellent advise and solution, which worked well!!! The files were not only being saved to a different folder, but a different drive too. The only small issue I have to see if I can correct is as follows: on about half of the test runs of the VB...
  12. NXProf

    VB code to run a batch file from NX

    Joe, I finally had a chance to try out your code. Although it found the proper .bat file and started running, the cmd.exe dialog box stated "The system cannot find the path specified" for the .hpgl files that the .bat file was to convert into separate .tiff files, then combining all tif files...
  13. NXProf

    VB Code: BOM comaprison of 2 Assembly REVs

    Thank you Mike for your response. But I have been performing my BOM comparisons just as you've described. In order to save time and effort, I would like to develop a short VB program, which would run through Teamcenter, that would do the following: 1 - prompt the user for the assembly model...
  14. NXProf

    VB code to run a batch file from NX

    Thank you very much Joe! I'll have to try out your code when I return to work on Tues. and let you know how it runs. Have a great weekend! NX Prof
  15. NXProf

    VB code to run a batch file from NX

    Hello, I'm attempting to initiate a .bat file from NX with VB code, in which I've Googled searched and tried several bits of code, but without success. Can someone please help guide me on the right track? Later, I will embed this section of code into a larger program without shelling out to...
  16. NXProf

    Simple Question: Can VB run in Teamcenter?

    Hello Eng-Tips forum, Can you please tell me if a VB program can run in Teamcenter (not within the NX environment, but just Teamcenter)? Thank you for your answer ahead of time. Regards, NX Prof
  17. NXProf

    VB Code: BOM comaprison of 2 Assembly REVs

    Hello, I'd like to create a VB program that runs in Teamcenter 9.1 and creates a comparison between the current REV and the previous REV from the Product Structure Editor (PSE). The program would have the comparison in a multi-level fashion, while displaying the BOM expanded to the lowest...
  18. NXProf

    VB/NX System.NullReferenceException Object reference not set to an instance

    Thank you so very much cowski!!! The examples of the Array and List commands where spot on! So far, I tested my code with your suggested modifications of the "ReDim Preserve myValues(counter)," and it ran perfectly with no errors. I looked further into possibly using the List function, which...
  19. NXProf

    VB/NX System.NullReferenceException Object reference not set to an instance

    Hello, Has anyone received the System.NullReferenceException: Object reference not set to an instance of an object at NXJournal.Main() error message when attempting to perform an array operation? I've declared a counter and an array number variable with the following: Dim yCoordIndexCounter As...
  20. NXProf

    linking ugopen to visual studio

    Thank you very much cowski for your boiler plate code, driver files, and locations of them. Over the next few days at work, I'll have to see if I can get my template created to work along with having VB forms linked to the code, which is where I'm always stumped. Afterwards, I'll let you know...

Part and Inventory Search