A SERVICE OF

logo

120 | Chapter 7 DWG API Additions
Parameters
none
Return Values
boolean – Specifies whether or not blocks are treated as points.
True – Indicates that blocks are treated as points.
False – Indicates that blocks are not treated as points. They are treated as indi-
vidual polylines and polygons.
Error Codes
-15 (DoesNotApply)
See Also
setTreatBlocksAsPoints, TreatBlocksAsPoints
setTreatBlocksAsPoints Method
Syntax
boolean setTreatBlocksAsPoints(Boolean treatBlocksAsPoints)
Description
Sets whether or not point layers that are created from DWG data treat
AutoCAD blocks as points. A value of True sets the layers so that they treat
blocks as points. A value of False sets the layers so that they treat blocks 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 are displayed on polyline and
polygon layers, instead of the point layer.
For more information about how blocks are treated on point layers, see
Chapter ? on page ?.