A SERVICE OF

logo

MGDwgDataSources Object | 121
Parameters
treatBlocksAsPoints – Boolean value specifying whether or not the layer
treats blocks as points.
True – Sets the layer to treat blocks as points.
False – Sets the layer not to treat blocks as points.
Return Values
boolean – Specifies whether or not the value that determines if the layer
treats blocks as points is successfully set.
True – Indicates that the value specifying whether or not the layer treats
blocks as points has been set.
False – Indicates that the value specifying whether or not the layer treats
blocks as points has not been set.
Error Codes
-1 (Busy)
-15 (DoesNotApply)
See Also
getTreatBlocksAsPoints, TreatBlocksAsPoints
TreatBlocksAsPoints Property
Syntax
TreatBlocksAsPoints
Description
Gets and sets how polygon layers that are created from DWG data treats
AutoCAD blocks. 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 property is set to False, and blocks are treated as polylines and poly-
gons instead of points, the polylines and polygons are displayed on polyline and
polygon layers, instead of the point layer.