Skip to content

Commit 89d0557

Browse files
committed
feat: aligned bin generator input preserving functionality with baseplates script, simplified ui state tracking. TODO: trigger UI updates when reset is clicked
1 parent 1a6d98f commit 89d0557

File tree

4 files changed

+386
-349
lines changed

4 files changed

+386
-349
lines changed

commands/commandCreateBaseplate/entry.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,12 @@ def command_input_changed(args: adsk.core.InputChangedEventArgs):
323323
uiState.forceUIRefresh()
324324
else:
325325
uiState.onInputUpdate(changed_input)
326+
327+
if isinstance(changed_input, adsk.core.GroupCommandInput) and changed_input.isExpanded == True:
328+
for input in changed_input.children:
329+
uiState.registerCommandInput(input)
330+
uiState.forceUIRefresh()
331+
326332
inputs = args.inputs
327333

328334
# General logging for debug.

0 commit comments

Comments
 (0)