Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Hillebrand
527 Views, 2 Replies

Get Tolerance for HoleThreadNote

I need some help.

I want to collect all tolerances used in a drawing view.

Collecting the drawing tolerances for DrawingDimensions works fine. But it is a problem to get the tolerances defined for  holefeatures in parts model.

Unbenannt.JPG

 

 
   HoleThreadNote first = sheet.DrawingNotes.HoleThreadNotes.Cast<HoleThreadNote> ().First ();
   
   string a = first.Text.Text;
   // a = "n3,00 H7 DURCH"  
   string holTol = first.Tolerance.HoleTolerance;
   // holTol = "";
   string shaftTol = first.Tolerance.ShaftTolerance;
   // shaftTol = "";
 
Is there another method to get the "model" tolerances? Only possible by parsing the text string?
Thank you!
 
Regards
Petra