07-11-2018
11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
07-11-2018
11:46 PM
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
