×
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

NXOpen Tolerance Extraction

NXOpen Tolerance Extraction

NXOpen Tolerance Extraction

(OP)
Hi,
I'm writing an NXOpen script to extract the dimensions and the zones from a drawing file into an Excel spreadsheet using VB. However, I'm facing problems with the tolerances.

Specifically, when I am extracting unilateral tolerances using annotations.dimension.UpperMetricToleranceValue, I am getting a default value of -0.1 wherever there is no tolerance. Same follows for the lower unilateral case with LowerMetricToleranceValue. The size which is 0, is returning a value of -0.1.



Can someone help me with this?

RE: NXOpen Tolerance Extraction

Hi,
+0.1 and -0.1 are the default tolerance values for the dimension builder. For example When you create the dimension if you choose the unilateralAbove dimension then it won't allow you to edit the lower tolerance values. But in the dimension object it won't to be reset to 0.

The solution for this, Get the tolerance values as per the tolerance type.
If dimension tolerance type is UnilateralAbove then don't get the lower tolerance values..

If you feel this is a bug then raise in GTAC.

Thanks,
Selvaraj C
NX Automation Engineer.

RE: NXOpen Tolerance Extraction

(OP)
Oh! I see. Figured that there had to be some defaults somewhere. Thanks a lot! I opted to get the tolerances based on ToleranceType instead.

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