Creates a new AcLyLayerGroup instance.
Gets the property-filter expression string.
The filter expression, or an empty string.
Sets the filter expression via property assignment.
Filter expression string.
Convenience accessor for layer IDs (mirrors .NET LayerIds).
A read-only array of layer object IDs.
Gets the filter name.
The filter name.
Sets the filter name via property assignment.
New filter name.
Convenience accessor for nested filters (mirrors .NET NestedFilters).
A read-only array of nested filters.
Adds a nested child filter under this filter.
Child filter to add.
true if the child was added.
Mirrors ObjectARX AcLyLayerFilter::addNested.
Nesting rules:
Compares this filter to another filter.
Filter to compare against.
true if the filters are considered equal.
Tests whether the given layer is a member of this group.
Layer table record to test.
true if the layer ID is in this group.
Mirrors ObjectARX AcLyLayerGroup filter behavior: returns true when
the layer's object ID is contained in layerIds.
Returns a parsed expression-tree representation of the filter expression.
An AcLyBoolExpr, or null.
Gets the nested child filters of this filter.
A read-only array of nested filters.
Gets the parent filter in the tree.
The parent filter, or null for the root.
Removes a nested child filter from this filter.
Child filter to remove.
true if the child was removed.
Shows the filter editor UI.
Dialog result.
Mirrors ObjectARX AcLyLayerFilter::showEditor. No UI is available in
this port; always returns AcLyLayerFilterDialogResult.Cancel.
Layer group filter (ID filter) used by the Layer Properties Manager.
An AcLyLayerGroup selects layers by object ID rather than by a property expression. Use isIdFilter (always
true) to distinguish group filters from property filters.Nesting rules (AutoCAD Layer Manager behavior):
Remarks
Mirrors ObjectARX
AcLyLayerGroup. Filter expression APIs are unused and return empty /nullvalues.See
https://help.autodesk.com/view/OARX/2024/ENU/?guid=OARX-RefGuide-AcLy_Classes
Example