Message 1 of 1
'QueryInterface IID_IAcadBaseObject- VB.Net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Team,
When I try to hatch boundary region (AutoCAD opened from Code). I am getting the following error as
System.Runtime.InteropServices.COMException: 'QueryInterface IID_IAcadBaseObject fails'.
Dim outerLoop(0 To 0) As AcadEntity
outerLoop(0) = AutoCADLibrary.CreatePolyline(acaddocument, Polyregion, "Test")
hatchObj.AppendOuterLoop(outerLoop)
Please, help me to get the solution.
Thanks in advance.
Regards
Sanjeevkumar.