Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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. krz177

    Pre/Post menu actions (API)

    I settled on just making a new menu to trigger the functionality I'm coding. The project kind of ballooned with more functionality that is better served by the user running separate functions that is not longer tied to when the user prints. Thanks for the suggestion anyway.
  2. krz177

    NX Journal - Windows Forms - Selecting Objects

    The winforms dialogs are by default modal, so they wont allow you to do anything in the attached application unless closed out. Instead of calling showDialog(), you should be able to call just show() which will call the winform as modeless allowing selection within the NX application. I haven't...
  3. krz177

    Pre/Post menu actions (API)

    So I don't know how I didn't see this one before but there is a printNotfiy event handler which I missed in the documentation. Have to see if I can have it be able to trigger before actually printing the document but we will see, looks promising from the documentation.
  4. krz177

    Pre/Post menu actions (API)

    I am trying to find a way to bind a custom dll to an existing button in Solidworks. Basically when the user hits the print button, I want that action to trigger my code to run first, then once execution is completed, continue on with the normal print function. I am used to having this...
  5. krz177

    NXOpen curvecollector

    Solved my problem, looped through the selectedObjects of the curveCollector, assigned to an array of regular nxopen.objects and was able to manipulate from there for what I need.
  6. krz177

    NXOpen curvecollector

    Run into a problem with using the curve collector in the snap block based dialog. When prompted to select a curve and I select one, a linked composite curve appears in the part navigator of the workpart as desired. As soon as I hit OK on the dialog the linked composite curve feature disappears...
  7. krz177

    Duplex Printing

    I have tried that through the printer properties, That is how I came to realization that NX issues each sheet as a separate print job and not one. I had also thought there might have been and option under under a printbuilder (nxopen) using some options in sourcebuilder, but i came up empty.
  8. krz177

    Duplex Printing

    Is there any option in NX to enable duplex printing? My situation is if I have 2 drawing sheets in a part file, I want it to print double sided. From what I've been able to find it looks as though my options are either using a print initialization file, a postscript setup or export as a appended...
  9. krz177

    Get Precise Outline in NXOpen

    I've tried looking for this before myself. All I came across was the following in the old user functions; UF_CURVE_create_shadow_outline UF_CURVE_create_silhouette Not exactly precise outline but might work for your needs.
  10. krz177

    file association

    You can also go into the command line and type the following; assoc .prt #this will show you its association ftype UGpartfile= (your program directory) \UGII\ugsrouter.exe #this will set to whatever version of NX you want to load from ftype UGpartfile #this will verify the path Registry will...
  11. krz177

    How to select multiple files to open in NX Open window????

    This is straight from Microsoft, just set the .multiselect property of the dialog to "true" Link to the documentation below. Me.OpenFileDialog1.Multiselect = True MSDN
  12. krz177

    NXOpen Cycling through text on a drawing sheet

    You could always cycle through the object tags filtering results and only return those tags of objects that are drafting notes. From there you can reference those tags to what I assume search the contents of the notes. 'use this to cycle through object tags ufs.Obj.CycleObjsInPart 'then ask...
  13. krz177

    NX open program running on viewer?

    Yes, as soon as "getsession" is called it errors out and stops working. This is the log file at that point */ NX License Error: License server system does not support this feature. [ -18 ] at NXOpen.Utilities.BaseSession.InitLicense at NXOpen.Session.GetSession()...
  14. krz177

    NX open program running on viewer?

    I have wrote a program that sets the assembly load options to specific folders for a particular set of jobs and then opens the selected assembly with these options. The program works great on my box but it was meant to run on the viewer. All of the functions I am using are available in gateway...

Part and Inventory Search