.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hatch.AppendOuterLoop in .Net?

0 REPLIES 0
Reply
Message 1 of 1
wesbird
336 Views, 0 Replies

Hatch.AppendOuterLoop in .Net?

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
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost