ZBrushCentral

Why use the Zscript Export the FBX,will Show FBX Export UI?And the next codes will Not Execute?

Why use the Zscript Export the FBX,will Show FBX Export UI??And the next codes reset the Div and undo the history will Not Execute???
And how to get the FBX UI Zscript API to Set Value???

==CODE========================================
[FileNameSetNext,textpath][IPress,Tool:Export]

[Loop,[SubToolGetCount],

                [If, [SubToolSelect,LoopCount]!=-1,

                    [ISet,Tool:Geometry:SDiv,SubtoolSDivOld_fbx(LoopCount)]

                ]

,LoopCount]
[Note,‘Now EXPORT FBX Software!’]–Not Execute

Thank you: )!
QQ截图20220721134329

The FBX format is provided by a plugin. Only one zscript can be active at a time so when you try to export an FBX file control passes to the FBX plugin and your codes ceases to run.