Hello,
I hope you guys are well.
I need help checking if a specific macroscript is available before crashes happen.
when I run this,
macros.run "Poliigon" "PoliigonMaterialConverter"
Its shows this in listener,
-- Error occurred in anonymous codeblock; filename: ; position: 49; line: 1
-- Runtime error: No such macro-script: PoliigonMaterialConverter
-- MAXScript callstack:
-- thread data: threadID:4148
-- ------------------------------------------------------
-- [stack level: 0]
-- In top-level
But what I want is to show a popup that this macroscript is not installed.
Thanks!
Janettjeff · 2024-01-01
miauu · 2023-08-17