×
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

NXOpen - force NX11 session not to "Update Objects..." during runtime of custom code...

NXOpen - force NX11 session not to "Update Objects..." during runtime of custom code...

NXOpen - force NX11 session not to "Update Objects..." during runtime of custom code...

(OP)
Hi -

Do any of you have succeeded in finding some command to be used in a journal (compiled image), which will tell the NX session, that it shall NOT
update objects , while code is executed...
I problem right now with a specific program I have developed (3150 lines of code), is that when I initialized the tool on a active drawing-Sheet, there are some delay on runtime, because NX is trying to update a lot of objects...In the cue-line it's shown as: "Updating Objects..."
My program is used to place some custom tabularNotes on the drawingSheets, and let the user selecet some pre-dfined text values from dialog (BlockStyler)....
Everything working so fine - except these unnessary updates from the NX session....
But Nothing needs to be updated ,just because we place some tabularNotes on a drawingSheet...

Maybe can the command "SetUpdateLock" from the Class "update" be used to solve the problem..?
But I'm just afraid of that when this is set to updatelock is set to False - in the end of program, it will force system to update all again...
Maybe it is not nesseary to set to False in end of program ?

theSession.UpdateManager.SetUpdateLock(True)
theSession.UpdateManager.SetUpdateLock(False)


regards lklo

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! Already a Member? Login


Resources

White Paper - Implementing a Multi-Domain System
IoT systems are multi-domain designs that often require AMS, Digital, RF, photonics and MEMS elements within the system. Tanner EDA provides an integrated, top-down design flow for IoT design that supports all these design domains. Learn more about key solutions that the Tanner design flow offers for successful IoT system design and verification. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close