Skip to content

Commit 4c68d91

Browse files
committed
fix: only display "no pinned" error message once
1 parent bf5694e commit 4c68d91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exporter/SynthesisFusionAddin/src/Parser/SynthesisParser/JointHierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def __init__(self, design: adsk.fusion.Design) -> None:
223223

224224
if self.grounded is None:
225225
message = "There is not a pinned component in this assembly, aborting kinematic export."
226-
gm.ui.messageBox(message)
226+
# gm.ui.messageBox(message)
227227
_____: Err[None] = Err(message, ErrorSeverity.Fatal)
228228
raise RuntimeError(message)
229229

exporter/SynthesisFusionAddin/web/src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const errorMatchers: { text: string; cb: () => void }[] = [
4343
{
4444
text: "not a pinned",
4545
cb: () => {
46-
Global_SetAlert("error", "No Grounded Joint On Assembly")
46+
Global_SetAlert("error", "Please pin a component to export the assembly")
4747
},
4848
},
4949
]

0 commit comments

Comments
 (0)