Patrick1234
Mechanical
- Oct 21, 2024
- 2
Hello,
I have a technical question. I'd like to validate a point before spending too much time trying to find a solution.
I'm currently working on a small application (on VS2019 in VB .net) to export Parasolid using a WinForm interface.
1-In journaling: open the application (WinForm interface with 1 button “Select Button”)
2-Click on the selection button: Clicking on the selection button calls a “Selection.MaskTriple” function. While the function is active, the WinForm window should become background.
3-Select a component on the screen. I want to select a component in the screen and retrieve the Tag of this component and its attributes...then I'll do other things with this information.
4-Exit the “Selection.MaskTriple” function and return the WinForm window to the foreground.
So in Journaling, my application is displayed correctly from NX. When I click on my button, I call a “Selection.MaskTriple” function and the NX selection window appears correctly. However, the focus remains on the Winform window and although I see the “Selection.MaskTriple” window, it's inaccessible and I can't select any items in the NX assembly or in the NX window.
My question is, is it possible to pair a Winform Interface and a ''Selection.MaskTriple'' function with NX's little selection box? I want to know if I'm wasting my time with this approach.
If you tell me that it's possible to combine the two, I'll look into the matter further... because I've been trying a lot of things for two days now and haven't found a solution yet.
Best Ragards!
Patrick
I have a technical question. I'd like to validate a point before spending too much time trying to find a solution.
I'm currently working on a small application (on VS2019 in VB .net) to export Parasolid using a WinForm interface.
1-In journaling: open the application (WinForm interface with 1 button “Select Button”)
2-Click on the selection button: Clicking on the selection button calls a “Selection.MaskTriple” function. While the function is active, the WinForm window should become background.
3-Select a component on the screen. I want to select a component in the screen and retrieve the Tag of this component and its attributes...then I'll do other things with this information.
4-Exit the “Selection.MaskTriple” function and return the WinForm window to the foreground.
So in Journaling, my application is displayed correctly from NX. When I click on my button, I call a “Selection.MaskTriple” function and the NX selection window appears correctly. However, the focus remains on the Winform window and although I see the “Selection.MaskTriple” window, it's inaccessible and I can't select any items in the NX assembly or in the NX window.
My question is, is it possible to pair a Winform Interface and a ''Selection.MaskTriple'' function with NX's little selection box? I want to know if I'm wasting my time with this approach.
If you tell me that it's possible to combine the two, I'll look into the matter further... because I've been trying a lot of things for two days now and haven't found a solution yet.
Best Ragards!
Patrick