Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
chandra.shekar.g
in reply to: avincent

@avincent,

 

Custom tolerances of chamfer note are available through FormattedChamferNote API as XML tags as shown below.

 

<Distance1 Precision='3' AlternatePrecision='0' UpperTolerance='0.000000' LowerTolerance='0.000000' ToleranceType='kSymmetricTolerance' TolerancePrecision='2' ToleranceAlternatePrecision='2'></Distance1> X <Angle Precision='2' UpperTolerance='0.000000' LowerTolerance='0.000000' ToleranceType='kSymmetricTolerance' TolerancePrecision='2'></Angle> Chamfer

VBA code:

Sub Main()
    Dim oDoc As DrawingDocument
    Set oDoc = ThisApplication.ActiveDocument
    
    Dim oSheet As Sheet
    Set oSheet = oDoc.ActiveSheet
    
    Dim oChamferNote As ChamferNote
    Set oChamferNote = oSheet.DrawingNotes.ChamferNotes.Item(1)
    
    Debug.Print oChamferNote.FormattedChamferNote
End Sub

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network