VBA Insert textbox with cursor

VBA Insert textbox with cursor

pball
Mentor Mentor
349 Views
0 Replies
Message 1 of 1

VBA Insert textbox with cursor

pball
Mentor
Mentor

I'm working on a script to insert notes and I'd like to insert a text box with the cursor. I found some code that can get a 2D point from the cursor position but it's not exactly what I'd like. I'd like to have the text box that is being inserted attached to the cursor in the same manner that pasting a text box works. That would make it easier to locate the text since you could see the size and shape of the text box before choosing a point to insert at.

 

Example of pasting a text box and the outline of the text box being attached to the cursor.

copy textbox.png

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
350 Views
0 Replies
Replies (0)