A SERVICE OF

logo

MGDwgDataSources Object | 119
For more information about how closed polylines are treated on polygon
layers, see Chapter ? on page ?.
Parameters
none
Return Values
boolean (read/write) – Specifies whether or not to treat closed polylines as
polygons.
True – Indicates that the layer is set to treat closed polylines as polygons.
False – Indicates that the layer is not set to treat closed polylines as polygons.
They are treated as individual polylines and are displayed on a polyline layer.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply)
See Also
getTreatClosedPolylinesAsPolygons, setTreatClosedPolylinesAsPolygons
getTreatBlocksAsPoints Method
Syntax
Boolean getTreatBlocksAsPoints()
Description
Specifies whether or not point layers that are created from DWG data treat
AutoCAD blocks as points. A value of True indicates that blocks are treated as
points. A value of False indicates that blocks are treated as individual
polylines and polygons, not as points.
Note If this method is set to False, and blocks are treated as polylines and poly-
gons instead of points, the polylines and polygons appear on polyline and poly-
gon layers, instead of the point layer.
For more information about how blocks are treated on point layers, see
Chapter ? on page ?.