Message 1 of 8
Not applicable
03-02-2017
10:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Greetings,
The DWG have thousands of connecting flat lines. By using the REGION command we can instantly create bounded regions from the lines.
How can I do the same with dot net?
The knowledge network shows a single path example like this...
DBObjectCollection myRegionColl = new DBObjectCollection(); myRegionColl = Region.CreateFromCurves(acDBObjColl); Region acRegion = myRegionColl[0] as Region; acBlkTblRec.AppendEntity(acRegion);
where the collection was a single circle
I guess ... Region acRegion = myRegionColl[0] as Region; is expecting a single bounded planar object ... and will not work with thousands of lines
Thx,
Kevin.
Solved! Go to Solution.