Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Fully load component via journal

Status
Not open for further replies.

vegetagaru

Computer
Jan 14, 2015
134
hello all, im new at journaling but could anyone help me on this one:

cowski snippet(thanks for it):
Code:
Dim thePart As Part = theComponent.Prototype.OwningPart

Try
    If thePart.IsFullyLoaded Then
        'component is fully loaded
    Else
        'component is partially loaded
    End If
Catch ex As NullReferenceException
    'component is not loaded
End Try

could anyone help me on how can i load the component if it isn't fully loaded ?

Thanks in advance


NX8.5 - NX9 User
 
Replies continue below

Recommended for you

Search for "Sample NX Open .NET Visual Basic program : open displayed assembly fully" in the GTAC Library.
 
Thank you i will search and then post my result.


NX8.5 - NX9 User
 
Well ive tryed the function, worked fine, but how can i open the "partial loaded" too ?


NX8.5 - NX9 User
 
If you have a reference to a partially opened component, you can fully load it with:

Code:
{theComp}.Prototype.OwningPart.LoadThisPartFully()

The part object also has a .LoadFully method that may be handy depending on your needs.

www.nxjournaling.com
 
im not seeing how im going to do it to be honest xD but i will try and post the result




NX8.5 - NX9 User
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor