Article | 60001786 |
Type | Bug |
Product | Engine |
Version | 6023 |
Date Added | 9/3/2012 |
Fixed | (9/3/2012) |
Submitted by | march |
Summary
While opening DWG files vdpolyhatch objects are turned into polylines. VectorDraw is converting a vdpolyhatch object into a polyline if the vdpolyhatch object contains only one polyline region. This is mainly done because when a filled polyline is saved into dwg it is converted into a one polyline hatch , so when this file is opened again it will open as filled polyline.
Solution
Added in 6024.
We added a new value in DWGImportFlags named IgnoreOnePolylineHatches = 128.
By adding this value to the Document.Fileproperties.DWGImportFlags while opening DWG files hatch objects will be opened as vdPolyhatch objects.
By default this value is not added so hatch objects with only one polyline will be converted into vdpolyline with hatchpropertis objects.