×
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

vb journal to open non master part

vb journal to open non master part

vb journal to open non master part

(OP)
Hi

Interactively when I open a non master part sometimes its open in drafting anf
Sometimes in modeling.

Programmaticly how to open a non master
part and know if it will be opened
in modeling mode or in drafting mode.

Is the command are the same for both
native and manager.

Thanks in advanced.

RE: vb journal to open non master part

(OP)
Is opening non master is the same as
opening a master part in nx manager
mode I mean programmaticly using the same
function.

Thank you.

RE: vb journal to open non master part

Hi,
You can set a customer default to open the part according to the last "saved" actif module (modeling, drafting, cam...)

Regards
Didier Psaltopoulos
http://www.psi-cad.fr

RE: vb journal to open non master part

(OP)
Thank you Didiet

But I need to do it in vb journal api
methods.

RE: vb journal to open non master part

(OP)
Thank you Didier.

RE: vb journal to open non master part

(OP)
I got it by journal recording.

RE: vb journal to open non master part

Hi Ehaviv,

OK, but it's so simple with this setting in Customer default

Regards
Didier Psaltopoulos
http://www.psi-cad.fr

RE: vb journal to open non master part

(OP)
Thank you Didier.

The problem was arise to me in a journal
that need to open a non master drawing
that should be run regardless of the
setting on the customers default.

I can't know the setting of each user.

RE: vb journal to open non master part

(OP)
Hi Cowski and thank you.

Actually these lines of code, I got by
Journal recorded as mentioned on my above post.

theSession.Parts.SetNonmasterSeedPartData(strOpenString)
Dim prtBasePart As BasePart
Dim lsBasePart As PartLoadStatus
prtBasePart = theSession.Parts.OpenBaseDisplay(strOpenString, lsBasePart)
lsBasePart.Dispose()

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