点开点开 灰常重要
macroScript mode_jianmo_1_3
category:"盖天工具"
ButtonText:"mode_(建模)_1.3"
toolTip:"mode_(建模)_1.3"
(
local VertexRendererEnabled = false
global gt_mode_tatul
on isChecked return VertexRendererEnabled
on execute do
(
VertexRendererEnabled = not VertexRendererEnabled
if VertexRendererEnabled then
(
oop_oo=(GetDir #scripts)+"\网易工具\mode\\"
try (fileIn (oop_oo+"mode(建模工具)1.3.ms")) catch (messagebox "脚本没有安装。"title:"盖天编写")
)else
(
try(cui.UnRegisterDialogBar gt_mode_tatul)catch(print "safasf")-----这个是法则。
---************************************
try (closerolloutfloater gt_mode_tatul ) catch ("ggggggggggggg")
)
)
)