Error in Running AutoCAD Methods

5 views (last 30 days)
Morteza
Morteza on 18 Jun 2019
Commented: Guillaume on 5 Jul 2019
Hi
I encountered a problem while drawing a Hatch in AutoCAD.
When I want to assign boundaries of a hatch by using AppendOuterLoop method. The error is:
"Error using Interface.87CDEC00_6F05_47AB_9962_C34B15571A7E/AppendOuterLoop
Invoke Error, Dispatch Exception:
Source: AutoCAD.Application
Description: Invalid object array
Help File: C:\Program Files\Autodesk\AutoCAD 2017\HELP\OLE_ERR.CHM
Help Context ID: 8021007b"
How should I solve this problem?
  2 Comments
Guillaume
Guillaume on 5 Jul 2019
Well, the problem is not really with matlab. The error is in how you use the Autocad COM API. You're obviously passing the wrong thing to the function.
An autocad forum may be a better venue for this kind of questions.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by