Skip to content

Commit 9fd8e27

Browse files
authored
Merge pull request #331 from cwapi3d/bugfix/display_attribute_deprecation_docstring
Improved docstrings for display_attribute usage and deprecation
2 parents 583d413 + 72cc233 commit 9fd8e27

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cwapi3d"
3-
version = "32.443.2"
3+
version = "32.443.3"
44
authors = [{ name = "Cadwork", email = "it@cadwork.ca" }]
55
requires-python = ">= 3.12"
66
description = 'Python bindings for CwAPI3D'

src/cadwork/display_attribute.pyi

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
class display_attribute:
22
"""
3-
A wrapper class for managing element display states.
4-
These methods update the internal state of the attribute
5-
object without requiring external parameters.
3+
A wrapper class for managing element display states for WebGL hierarchy display settings (not in Cadwork 3d).
4+
These methods update the internal state of the attribute object without requiring external parameters.
5+
6+
Used exclusively with `set_webgl_hierarchy` to define visibility and display
7+
properties for elements in the WebGL.
8+
9+
.. deprecated::
10+
This class supports legacy local WebGL workflows.
11+
It will be deprecated.
612
"""
713

814
def __init__(self) -> None:

0 commit comments

Comments
 (0)