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. lugan2

    insert node in treelist at specific position

    Hi Ufsure Thanks for the reply. Yes, this solved the problem. Many thanks! Gan
  2. lugan2

    insert node in treelist at specific position

    Dear all I am trying to insert a node into a TreeListMenu. It can successfully add nodes into a tree, at different level - using parent and child relationship. The function I am using is: this->tree_control0->InsertNode(CurrentNOde, ParentNode, NULL, Tree::NodeInsertOptionAlwaysFirst)...
  3. lugan2

    create a menu display various data entries without using UI STYLER?

    Ok Grahm, thanks for the reply, very clear now. So would still hope that in the feature UG may provide more API functions to interface with the dialog and other widgets. Many thanks! Gan
  4. lugan2

    create a menu display various data entries without using UI STYLER?

    Hi grinch, Thanks for the reply. So I guess the answer is NO then? I was hoping that UG Open must have developed some APIs to interface with these menu-display widgets. I will wait a bit longer to see if anyone else can offer some suggestion. Otherwise, I have to find the...
  5. lugan2

    create a menu display various data entries without using UI STYLER?

    Hello all I am aware that the normal way of creating a customized menu in UG is through UI Styler. That is: 1)define the frame and data entry items in the UI styler interface; 2)creating dlg/dlx file as the result; 3)modify the .men file to call the menu at startup stage; and...
  6. lugan2

    Java sample code, getsession doesn't work (Ubuntu)

    thanks for the reply Graham. I managed to solve the problem. I didn't update the bash file so leads to the problem. Now it works. Thanks!
  7. lugan2

    Java sample code, getsession doesn't work (Ubuntu)

    Hello, I was trying to use the UG sample testing Java code, InterOP.java, please see the attached code. It compiles fine, but doesn't return the session's handler. (doesn't go through line 28, and throws a catch. the 'theUfSession' returns NULL); Does anyone know how to solve it? It is due to...
  8. lugan2

    save data into iges

    the theSession object has valid values, and I tried: NXOpen::IgesCreator *igesCreator1=theSession->DexManager->CreateIgesCreator(); this was my suspect, but the compiler gives me error message: base operand of '->' is not a pointer.
  9. lugan2

    save data into iges

    hello cowski yes, I have tried to save my geometry using: UF_initialisze(); UF_PART_new(); UF_terminate(); and it works fine which can generate the .prt file directly. For the program above, the compiler gives no complain, the error(segmentation fault) only comes in when it...
  10. lugan2

    save data into iges

    i read the journal file back to nx and it doesn't allow me to run it. I think it is not a run-able one by missing some definitions such as program execution entrance. I don't know. I am not familiar with nx/nxopen, but just trying to call some nx functions in my program.
  11. lugan2

    save data into iges

    Dear all thanks very much for the reply. I have tried to record a journal file and use that as a reference to write c++ code to covert prt file to igs. Blow is the c++ file I have tried: //------------------ UF_initialize(); // Initialize the NX Open C++ API environment...
  12. lugan2

    save data into iges

    hello all Is there a NXOPen/UF function allows me to save the geometry into igs file format, rather than a part file (using UF_PART)save() fnction)? many thanks Gan
  13. lugan2

    UF_OBJ_set_name case insensitive?

    thank you for the reply. Although the case-sensitive names still can be useful at some applications, especially when it is interfacing with other third part software.
  14. lugan2

    UF_OBJ_set_name case insensitive?

    Hello all could anyone tell me is there a function in UF to set the primitive entity's name in CASE-SENSITIVE manner? I tried UF_OBJ_set_name, it sets the name as ALL CAPITAL letters. Many thanks!
  15. lugan2

    uf created spline display problem in nx gateway UI

    Oh, ok, that makes sense! Thanks!
  16. lugan2

    uf created spline display problem in nx gateway UI

    Hi all I created a three degree spline through points through ugopen: UF_CURVE_create_spline_thru_pts(). The strange thing is when the result being displayed in the NX Gateway, it is showed as a awkward line segment joints (see Fig.1-splinewrong)? And when I click the fit button on the tool...
  17. lugan2

    the boolean operation error in UF

    Haha, Yes, I suppose I shouldn't neglect the 'lengthy' documentation/release notes they provided.... Anyway, this should be ringing my bell is a similar problem happens again[bigsmile]
  18. lugan2

    linking ugopen to visual studio

    If you want, I can post the vs c++ project files online.
  19. lugan2

    linking ugopen to visual studio

    Sorry, I only used VS C++ to implement my program, and I don't use vb.
  20. lugan2

    the boolean operation error in UF

    Hi Bleaker. Yes, exactly, exactly! It actually worked on the MSVS platform. I think it was due to the c++ compiler compatibility issue. Many thanks! Gan

Part and Inventory Search