Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This problem happens to me on one computer (Windows 10) with AutoCAD 2017 MEP but works with AutoCAD 2019 and it works fine on another computer (Windows 7) with either AutoCAD 2019 MEP or AutoCAD 2017 MEP. The error is: Automation Error. Description was not provided.
(setq dicts (vlax-ename->vla-object (namedobjdict))
mlsd (vla-item dicts "ACAD_MLEADERSTYLE"))
(if (vl-catch-all-error-p(vl-catch-all-apply 'vla-item (list mlsd "Test")))
(setq newmlstyle (vla-addobject mlsd "Test" "AcDbMleaderStyle")))
Architect, Registered NC, VA, SC, & GA.
Solved! Go to Solution.