116 | Chapter 7 DWG API Additions
For more information about linking layers that are created from DWG data
to secondary key columns, see “Accessing Data Using a Link Template” on
page 20.
Parameters
none
Return Values
String (read/write) – Represents the name of the secondary key column that
is linked to the layer.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply)
See Also
getSecondaryKeyColumn, setSecondaryKeyColumn
getTreatClosedPolylinesAsPolygons Method
Syntax
Boolean getTreatClosedPolylinesAsPolygons()
Description
Specifies whether or not polygon layers that are created from DWG data treat
closed polylines as polygons. A value of True indicates that closed polylines
are treated as polygons. A value of False indicates that closed polylines are
treated as individual polylines, not as polygons.
Note If this method is set to False, and closed polylines are treated as polylines
instead of polygons, the polylines are displayed on a polyline layer instead of the
polygon layer.
For more information about how closed polylines are treated on polygon
layers that are created from DWG sources, see Chapter ? on page ?.