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)...
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
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...
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...
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...
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.
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...
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.
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...
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
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.
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!
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...
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]
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