Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NXOpen Dev to update all measure in NX12

Status
Not open for further replies.

PSI-CAD

Computer
Feb 13, 2009
997
Hi,

Find herewith a part to explain the bug in NX12
Open the part
Have a look at the content and associative points and datums
Change user expression move_face from 1 to 2
Check that the point and datums are not correct
Apply filter dimensions on the ANT
Then edit all dimensions one by one
Then check that points and datums are correct now

This bug is corrected in NX1953, but my customer stay in NX12 at the moment

So, I need an NXOpen programm to edit all dimensions.

I started with the following lines to list all the measures

For Each tempFeat As Features.Feature In workPart.Features
If TypeOf (tempFeat) Is MeasureMaster Then
lw.WriteLine("Measure name: " & tempFeat.GetFeatureName)
End If
Next

Now, I have to find all parents of each measure to be able to create the edit builder

Thanks in advance for your help

Regards
Didier Psaltopoulos
 
Replies continue below

Recommended for you

I've been meaning to look into this, but it has been a busy week. I think that a journal could be made to update all the measures as you suggest.

But first, I'd like to mention an alternative:
In the measure command, you can turn on the "create associative geometry" option. This will create an associative line between the measure points. The end point of the line could be used instead of creating individual points. A bunch of lines will clutter up the display, but they can be moved to an invisible layer. These lines (and the associated datum axis) do update correctly when editing the user expression.

www.nxjournaling.com
 
Hi Cowski,

Thanks a lot, it works well, but I need to create again all my measure because, it's not possible to create associative line after.

Regards
Didier

Regards
Didier Psaltopoulos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor