freshcad Posted February 1, 2015 Share Posted February 1, 2015 How can I get the text inside amnote in VBA Quote Link to comment Share on other sites More sharing options...
RICVBA Posted February 3, 2015 Share Posted February 3, 2015 How can I get the text inside amnote in VBA you must first set the MTEXT object (perhaps via a SelectionSet object method, or prompting the user to select it) and then simply use its "TextString" property Quote Link to comment Share on other sites More sharing options...
freshcad Posted February 5, 2015 Author Share Posted February 5, 2015 The type of amdtnote is IMcadSymbol, but it has no "TextString" property. Quote Link to comment Share on other sites More sharing options...
RICVBA Posted February 6, 2015 Share Posted February 6, 2015 The type of amdtnote is IMcadSymbol, but it has no "TextString" property. Sorry, I thought you were after an AutoCAD MText object I get it IMcadSymbol has to do with AutoCAD Mechanical object model, which I don't use. may be this https://forums.autodesk.com/t5/visual-basic-customization/add-text-to-any-text-object/td-p/334342 or this http://forums.augi.com/showthread.php?85779-Detach-an-object-from-a-geometry-(acad-Mech)) threads, albeit with no solution, could help you in digging into the object model of your interest. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.