From 72cc233ce186e1ea61a1e9f2ac3974d22eac8511 Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Fri, 27 Feb 2026 17:27:59 +0100 Subject: [PATCH] [UNASSIGNED] improved docstrings for display_attribute --- pyproject.toml | 2 +- src/cadwork/display_attribute.pyi | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31e5417..a85f135 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cwapi3d" -version = "32.443.2" +version = "32.443.3" authors = [{ name = "Cadwork", email = "it@cadwork.ca" }] requires-python = ">= 3.12" description = 'Python bindings for CwAPI3D' diff --git a/src/cadwork/display_attribute.pyi b/src/cadwork/display_attribute.pyi index d0a870a..dea133f 100644 --- a/src/cadwork/display_attribute.pyi +++ b/src/cadwork/display_attribute.pyi @@ -1,8 +1,14 @@ class display_attribute: """ - A wrapper class for managing element display states. - These methods update the internal state of the attribute - object without requiring external parameters. + A wrapper class for managing element display states for WebGL hierarchy display settings (not in Cadwork 3d). + These methods update the internal state of the attribute object without requiring external parameters. + + Used exclusively with `set_webgl_hierarchy` to define visibility and display + properties for elements in the WebGL. + + .. deprecated:: + This class supports legacy local WebGL workflows. + It will be deprecated. """ def __init__(self) -> None: