Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS 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: *

  • Users: lugan2
  • Content: Threads
  • Order by date
  1. 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)...
  2. 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...
  3. 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...
  4. 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
  5. 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!
  6. 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...
  7. lugan2

    save part components selectively using open api

    Hi all How to use NX C++API to save part's components selectively. For example, I have components A, B, C created in one program routine. And I want to save A and C, but not B. How to implement it? Can we use UF_PART_close/UF_PART_open to do it? When I want to save one component, do...
  8. lugan2

    linking ugopen to visual studio

    Hi all Is there a documentation about how to configure visual studio when it tries to link with ugopen? I am currently using visual studio 2012. when I try to build a simple program using uf functions (only had two functions been called from uf.h, i.e., UF_initialize and UF_terminate), it...
  9. lugan2

    make a edge from a curve based on the start and end parameter

    Hi all Does anyone know which command should I use to make an edge on the curve between parameters p1 (start) and p2 (end), using OpenNX API? I want to add several trimmed edges to form a polygon. Many Thanks!
  10. lugan2

    the boolean operation error in UF

    Hi all I want to subtract a object(maybe a hole) from another object using UF_MODL_subtract_bodies. However, when I save the result part, the program fails and the gdb gives segmental fault. The code is list in below. It seems that the program fails when the subtracted part is inside of the...
  11. lugan2

    Bug in the OPEN C UF function for substraction?

    HI all; I tried to create two 3D objects using OPEN C UF function, one using the revolve operation and the other using extrude operation. And then subtract one with the other. This operation gives me segmentation fault. Does anyone know why? I tried union method(using UF_POSITIVE) and...
  12. lugan2

    convert curve to edge

    Hi All Please could anyone tell me how to convert a NXOpen::Curve object to a NXOpen::Edge object using NX API? The reason I am asking is that I want to build two polygons using the curves and do the polygon intersection/union in 2D. I guess the steps will be...
  13. lugan2

    How to get a point information from a curve/line

    Hello all I don't know if I post the thread in the right forum place? If not, please any suggest me where should I post it to? Thanks My intention is to use NX Open API to do 2D engine drawing at this moment. For example, I want to use the primitives, such as, lines and arcs to build a 2D...

Part and Inventory Search