×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Executing a Journal From a Macro, with User Dialog Entry

Executing a Journal From a Macro, with User Dialog Entry

Executing a Journal From a Macro, with User Dialog Entry

(OP)
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

RE: Executing a Journal From a Macro, with User Dialog Entry

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.

RE: Executing a Journal From a Macro, with User Dialog Entry

(OP)
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

RE: Executing a Journal From a Macro, with User Dialog Entry

(OP)
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

RE: Executing a Journal From a Macro, with User Dialog Entry

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 (http://www.eng-tips.com/viewthread.cfm?qid=327153) 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

RE: Executing a Journal From a Macro, with User Dialog Entry

(OP)
Peter,

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

Jeff

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources