Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IFRs on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing a Journal From a Macro, with User Dialog Entry

Status
Not open for further replies.

jmarkus

Mechanical
Jul 11, 2001
377
OK, in my last post I learned that I cannot execute an NXOpen DLL from Journal->Play.

I can, however, do it from Macro->Play, but I need to launch my Journal from my macro.

All is well, except when my Journal opens a file selection dialog box and my keyboard doesn't respond. It's like the macro locked out the keyboard until it is done. I tried recording the macro with "user entry on dialog boxes" turned on, but it didn't change what was recorded.

Any ideas how I can accomplish my task?

Thanks,
Jeff
 
Replies continue below

Recommended for you

Why are you attempting to launch the Journal from a Macro? What is it that you're trying to accomplish which you can't do by just launching the Journal directly?

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
As part of the routine I am automating, I need to launch an NXOpen DLL (as one would from File->Execute->NXOpen). The VB.NET journal doesn't let me do that. The macro does. So I figured I can "wrap" my Journal in a macro and execute the DLL from the macro. The problem is my Journal calls a file dialog box and somehow the macro prevents keyboard activity while it is running.

Jeff
 
I thought I was onto something when I saw:

Preferences→User Interface→Display Dialogs in Playback option

in the documentation, but that doesn't seem to help either.

Jeff
 
Jeff,

I am also attempting to call a .dll code either within, or immediately following, my journal file (as a result of some error that won't let me change the color of curves I extracted in my journal).

I landed on both your last post ( and this one while trying to find a solution to the exact same problem...so please update this if you have found a solution. I also can not find a way to let me access my Journal's user interface while calling it with a macro, and I can't find out a way to call either the .dll or a macro which calls the .dll using journal.

Anyhow, I'd love to hear if you've gotten anywhere with this.

Thanks,
Peter
 
Peter,

Unfortunately, I'm still struggling with this and I have yet to find a solution.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor