VB.net API for "Annotate > Part Reference"

VB.net API for "Annotate > Part Reference"

nitin.rathod3CW9S
Contributor Contributor
779 Views
2 Replies
Message 1 of 3

VB.net API for "Annotate > Part Reference"

nitin.rathod3CW9S
Contributor
Contributor

Hello,

I'm looking for automating the "Part Reference" annotation. I'm unable to find the vb.net API for the same. Can somebody help me with what API I can use and if you have a sample code will really help me getting started.

 

Thanks,

Nitin

0 Likes
Accepted solutions (1)
780 Views
2 Replies
Replies (2)
Message 2 of 3

m_latz
Advisor
Advisor
Accepted solution

See here:

 

Re: VBA to ask for Titleborders - Autodesk Community - AutoCAD

 

In this API are also function to create part references.

 

regards

 

Markus

0 Likes
Message 3 of 3

nitin.rathod3CW9S
Contributor
Contributor

thanks for your response @m_latz, that's exactly I'm looking for. However now I have another issue.

Please bare with me, I'm a newbie in autoCAD VBA.

it is not identifying "ThisDrawing", May be I'm missing any reference?

 

2021-03-16_19-16-17.jpg

 

I've even tried using activeDocument but then it says type mismatch. Please help me how to get thru with "ThisDrawing" thing.

2021-03-16_19-22-47.jpg

 

0 Likes