Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cwapi3d"
version = "32.443.3"
version = "32.443.4"
authors = [{ name = "Cadwork", email = "it@cadwork.ca" }]
requires-python = ">= 3.12"
description = 'Python bindings for CwAPI3D'
Expand Down
15 changes: 12 additions & 3 deletions src/utility_controller/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ def set_project_data(project_data_id: str, data: str) -> None:


def print_error(message: str) -> None:
"""Prints an error.
"""Prints an error to the bottom toolbar of Cadwork 3d.

Notes:
Attention, this function is blocking. User will need to click to
continue the process.

Parameters:
message: The error message.
Expand All @@ -54,7 +58,12 @@ def get_language() -> str:


def print_message(message: str, row: int, column: int) -> None:
"""Prints a message.
"""Prints a message that will be visualized in the bottom toolbar of the
3D view. You can arrange the message in the desired position by specifying the row and column.

Examples:
>>> import utility_controller as uc
>>> uc.print_message("Hello World!", 1, 1)

Parameters:
message: The message to print.
Expand Down Expand Up @@ -297,7 +306,7 @@ def create_new_guid() -> str:


def print_to_console(message: str) -> None:
"""Prints a message to the console.
"""Prints a message to the Cadwork debug console.

Parameters:
message: The message.
Expand Down
Loading