.NET

Reply
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 1 of 1 (162 Views)

Hatch.AppendOuterLoop in .Net?

162 Views, 0 Replies
10-20-2005 01:15 PM
Hi,
I am creating Hatch with some island inside. I use Hatch.AppendOuterLoop in VBA but I can not find it in .Net.
I found there are a option in .Net
AppendLoop
System.Void
AppendLoop(
System.Int32 loopType,
Autodesk.AutoCAD.DatabaseServices.ObjectIdCollection dbObjIds)

loopType could be kDefault or kExternal. I can not find them in .Net. How I can find them? Or what's the number for them?
if 0 for kDefault and 1 for kExternal?

after search this NG, Thanks, CArps. I found this:
http://discussion.autodesk.com/thread.jspa?messageID=4977420
'kDefault 0 The loop type hasn't been specified yet.
' It turns to a "real" value as soon as some real loops get created.
'kExternal 1 A loop that consists of external entities (derived from AcDbEntity and owned by
' an AcDbDatabase). The hatch might be associative to these entities.
'kPolyline 2 The hatch loop consists of a polyline (AcGe geometry, not AcDb geometry).
'kDerived 4 A loop that was derived by AutoCAD's boundary tracer from a picked point.
'kTextbox 8 A loop that consists of a box around an existing text object (AcDbText).
'kOutermost 0x10 The outermost loop of this hatch.
'kNotClosed 0x20 A loop that is not closed.
'kSelfIntersecting 0x40 A loop that intersects with itself.
'kTextIsland 0x80 Text loops that are surrounded by even number of outer loops.
' Text island loops are avoided when performing solid fill.

but I'm still confused. shold I use kOuterMost?



Thank you in advance
Wes

Message was edited by: weslleywang Message was edited by: weslleywang
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.