Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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: Zoes
  • Order by date
  1. Zoes

    Reactivate or Refocus NX Session with NX Open

    Thanks for the reply. I really wanted to see if that's possible. As for the .exe you mentioned, I have done it by using Window forms and NXOpen to control "Expressions" so I thought I would be able to do more code like that by incorporating the modelling functionality as well. Perhaps not.
  2. Zoes

    Reactivate or Refocus NX Session with NX Open

    Thanks for the reply. I'm not sure where to assign the .ShowDialog or .Show to.. I just want to display the "Curve" dialog menu? So having the theSession.SetUndoMarkVisibility(Id2, "Curve", NXOpen.Session.MarkVisibility.Visible); How I show the dialogue "Curve"? Regards, Zoe
  3. Zoes

    NXOpen MenuBar MenuButton

    Anyone?
  4. Zoes

    NXOpen MenuBar MenuButton

    Hi there, Any ideas mapping menu buttons to c# with NXOpen? I thick I'm on the right track but I'm not sure. The code below tries to map the menu button "Create Rectangle" to a window forms button: namespace sth { public partial class Someform : Form { public NXOpen.UI theUI =...
  5. Zoes

    Reactivate or Refocus NX Session with NX Open

    Hi there, I have an NX Open .exe code running (simple Window forms in c#) and I cannot seem to refocus or return or reactivate the UGS NX design environment/session from my app. Is just hanging there.. Has anybody came across this? Any ideas to resolve that? Thank you, Zoes
  6. Zoes

    journal identify action button

    Perhaps need to clarify things by saying action button; The idea is to create a custom toolbar.exe which will have some menus existing already in UGS NX (e;g like sketch, colour palette etc.). Is that possible? I do know the path making custom menus and toolbars (.men .tlr) but this time using...
  7. Zoes

    journal identify action button

    Hi there, I was wondering if the action of hitting a menu button, can be identified in code instead of having a commentary? "// Menu: Insert->Sketch Curve->Circle..."? public static void Main(string[] args) { Session theSession = Session.GetSession(); Part workPart =...
  8. Zoes

    Features SuppressFeatures

    Thanks for the reply I have tried that but still have an error for overload method. ... public FeatureGroup featureGroup1; public FeatureGroup featureGroup2; public Feature features1; public Feature features2; public Feature errorFeatures1; public Feature errorFeatures2; ... public...
  9. Zoes

    Features SuppressFeatures

    Hi I have radio buttons that when checked supress or unsupress features In vb.net it works! Dim features1(0) As Features.Feature Dim featureGroup1 As Features.FeatureGroup = CType(workPart.Features.FindObject("FEATURE_SET(43)"), Features.FeatureGroup) Dim errorFeatures1() As...
  10. Zoes

    Window Forms in NXOpen

    Hi, I was wondering if any of the members have load two window forms in NX at the same time. My code loads and shows both forms but then produces and error ufsr. The log file is not very helpful for identifying and fixing the problem. Thanks in advance Z.
  11. Zoes

    NX open for feauture recognition

    Hi, Wondering how can I extend the code bellow to recognise all design features in a model? Will be quite useful for a simple model to recognise that there is a block and then validate its dimensions for example. Thank you in advance [smile2] Option Strict Off Imports System Imports NXOpen...
  12. Zoes

    Window Forms in NXOpen

    Thank you for the reply. Do you have any idea how we use the debugger of Visual Studio for Nx Open applications? Also do you know anything about threads in NXOpen? I have the windows forms .exe (instead of using the journal) running and the moment when I change an expression the part changes...
  13. Zoes

    Window Forms in NXOpen

    Hi all, I have written the code bellow but while trying to execute it gives me an error message: "Error in the external library. See syslog for details ... Function name ufusr". The form is supposed to load the existing expressions of breadth and thickness and assign them to two textboxes...
  14. Zoes

    Load External Dll

    Hi, Would like to know how/if I could load an external .dll into a journal??? For example I produced a UI styler based code with an action button and a vb.net "hello class" with the intention when I hit the button a hello msg will appear.. Journal: If block Is button0 Then Dim s As New...
  15. Zoes

    get user input

    Thank you! Can I further ask if you know the attribute for making the string visible/hidden? I was looking to find the state of the string and change it.. but nothing similar appears in the library.
  16. Zoes

    get user input

    Code: Dim initial As String = "enter name" Public Sub dialogShown_cb() Try string0.GetProperties.SetString("Value", initial) string01.GetProperties.SetString("Value", "") End Try End Sub Public Function apply_cb() As Integer Try Dim UserInputString As String UserInputString =...
  17. Zoes

    List box, select item

    I have been very confused with identifying a selected item from a list box generated from blockstyler.. I have sort of idea (see follwong code) Does anybody know how to do this? Isn't it simple to code? Dim lw As ListingWindow = theSession.ListingWindow Dim list_box0Props As PropertyList =...
  18. Zoes

    all-around welds

    I know there is another tread about all around welds, but I'm not sure I understood how it can be done. I'm using NX 7.5, and I have a block attached to a plate. I want to have a weld all around the block. So far I have used Fillets and Groove weld but the outcome doesnt look consistent. Any...
  19. Zoes

    Call a dialog box from another dialog box

    Hi Being very interested in GUIs wanted to ask, how can I call a dialog box from another dialog box? Will be the code be similar to the one bellow? How we implement an action button so can call a dlx? or open a macro? 'call .dlx theDialogName = "list_box_bitmap.dlx" theUI = UI.GetUI()...
  20. Zoes

    Images / animation in Blockstyler

    Can you import images other than .bmp and animations (.gif or .mpg) in a dialog box?

Part and Inventory Search

Back
Top