Share

LayerGroup Class

Description

This .NET class wraps the AcLyLayerGroup ObjectARX class.

LayerGroup is derived from LayerFilter and serves as the access to layer group filters. It allows the client to specify and retrieve a set of layer IDs. The filter() method returns true if the object ID of the given layer is contained in the set of layer IDs for the LayerGroup.

Specifying the filter criteria is done solely by using LayerId. LayerGroup doesn't use a filter expression string, so FilterExpression and FilterExpressionTree return a null pointer.

The recommended way of identifying LayerGroup filters in a group of layer filters is to query the IsIdFilter property, which returns true for an LayerGroup.

Class Hierarchy

Autodesk.AutoCAD.LayerManager.LayerFilter
    Autodesk.AutoCAD.LayerManager.LayerGroup

Visual Basic

Public Class LayerGroup
Inherits LayerFilter

C#

public class LayerGroup : LayerFilter;

Links

LayerGroup Properties

Was this information helpful?