I found a script that linked and activated the LUUV obj import pluging in the ModelSide through the WorkspaceSide. I then made a button that activated this script, thus running the LUUV plugin from the WS (only works with bridge ON).
I would love to replicate a similar script to other buttons in the MS through buttons on the WS.
For example (with bridge ON obviously), I would like to run Center-Obj-Axis (which WS doesn't have but MS does) through a button in the WS. The button will run the script activity which will then call for the funtion in the MS side and center the axis, without me having to change sides and sync the bridge.
I know how to make buttons, but now I don't know how to make a script that calls a MS function.
I found this code in the WS LUUV obj import call script:
Code: Select all
function Execute(params)
{
tSBridge.RunUserPluginByPath(System.GetMainDir() + "\\tsx\\luuv\\luuv.tsx")
}
If I figure this out, this, I am sure, will revolutionize the WS and incorporate most MS tools into the WS.
is there a "tSBridge/Run[MSfunction]" command?

