Error in Running AutoCAD Methods

4 ビュー (過去 30 日間)
Morteza
Morteza 2019 年 6 月 18 日
回答済み: Pablo Orellana 2023 年 1 月 10 日
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 件のコメント
nhan nhan`
nhan nhan` 2019 年 7 月 5 日
I have seen a similar problem and I do not have any way to resolve them. Difficult to programing AutoCAD API in MATLAB.
Guillaume
Guillaume 2019 年 7 月 5 日
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.

サインインしてコメントする。

回答 (1 件)

Pablo Orellana
Pablo Orellana 2023 年 1 月 10 日
Dear, Do you find a Solution? I can't create a hatch. :(

カテゴリ

Help Center および File ExchangeActiveX についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by