Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NXOpen: Checking Part IsModified(Tag);

Status
Not open for further replies.

nxplm

Computer
Nov 3, 2011
11
I have implemented that function in my program. All the time it returns false, even the part was modified. However When I write the same code in a NX Journal, it works perfectly.

Code:

bool result;
Session theSession = Session.GetSession();
UFSession theUFSession = UFSession.GetUFSession();

UFPart ufPart = theUFSession.Part;
Part part1 = (Part)theSession.Parts.FindObject("MyPart");
result = theUFSession.Part.IsModified(part1.Tag);

Does anyone know the reason of that problem?

Thanks
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor