DrawingNotes collection not working properly?

DrawingNotes collection not working properly?

bwang-tecoustics
Collaborator Collaborator
395 Views
3 Replies
Message 1 of 4

DrawingNotes collection not working properly?

bwang-tecoustics
Collaborator
Collaborator

I am trying to use DrawingNotes to get all the notes on the sheet. Per the object browser (see below), the HoleThreadNotes, ChamferNotes, BendNotes and PunchNotes are all under this collection. But when I use it in program, it only gives me GeneralNotes and LeaderNotes. Anybody can tell me why?

 

DrawingNotes.png

0 Likes
396 Views
3 Replies
Replies (3)
Message 2 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @bwang-tecoustics,

 

All HoleThreadNotes, ChamferNotes, BendNotes and PunchNotes are available under DrawingNotes.

 

For more details, refer the following snapshots at VBA editor.

 

BendNotes.png

 

PunchNotes.png

 

Please feel free to contact if there is any queries.

 

If solves problem, click on "Accept as solution" / give a "Kudo".

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 4

bwang-tecoustics
Collaborator
Collaborator

Thx for the reply. I think I was confused by the name of DrawingNotes and DrawingNote. As I use the DrawingNotes to get the collection and use each DrawingNote in the DrawingNotes, then I can only get texts of general notes ad leader notes. I think I have to get the selection of other Note collections from the DrawingNotes, and access each item from their own sellections.

0 Likes
Message 4 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @bwang-tecoustics,

 

You are thinking is correct.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes