Adds command for setting the active link editor window as the window that receives link editor commands. By default trueSpace sends the commands to the first open link editor window.
Adds a button to load the Unofficial Update Link Editor toolbar independently of the bottom link editor window.
http://clintons3d.com/plugins/truespace ... tools.html
The Clintons3dPlugin has been updated with a small change, "GetWindowAspect" command to make the active le script possible. No update to the plugin version number, v.1638419.
Link Editor tools
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Link Editor tools
THAT is frickin cool!
Thank You.
I challenge you to make the toolbar command install the LE toolbar as an Aspect toolbar and also add the other command to make that LE window the active LE toolbar window
Thank You.
I challenge you to make the toolbar command install the LE toolbar as an Aspect toolbar and also add the other command to make that LE window the active LE toolbar window
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Link Editor tools
Don't know anything about Aspect toolbars. Any clues?
- spacekdet
- Captain
- Posts: 1799
- Joined: 27 May 2009, 15:00
- Type the number ten into the box: 10
- Location: On the day shift at the Utility Muffin Research Kitchen
- Contact:
Re: Link Editor tools
My favorite LE tool:
Re: Link Editor tools
Do not remember how to install it from script
Open a LE Window
Copy this LE Navigator Toolbar Frame into the above Frame Window in Windows Manager Space
Change the LE Window to 1D
Change the LE Window to 2D
Run
WindowsManager.Activate();
WindowsManager.UpdateWindowsStructure();
Activity.Run("/Scripts/CustomCommands/LEtools/Activate Current LE")
May need to generate a new GUID for the LE Navigator Toolbar Frame's WinID
Edit:
Using your script, this seems to work minus a new GUID
Open a LE Window
Copy this LE Navigator Toolbar Frame into the above Frame Window in Windows Manager Space
Change the LE Window to 1D
Change the LE Window to 2D
Run
WindowsManager.Activate();
WindowsManager.UpdateWindowsStructure();
Activity.Run("/Scripts/CustomCommands/LEtools/Activate Current LE")
May need to generate a new GUID for the LE Navigator Toolbar Frame's WinID
Edit:
Using your script, this seems to work minus a new GUID
Code: Select all
if(!Node.Exists("Toolbar Prototypes Encapsulator/LENavigatorBar")) return;
utilitydata = System.CreateDO("Clintons3D Package/Utility functions");
activeWindow = WindowsManager.GetWorkWindow();
var aspect = utilitydata.GetWindowAspect(activeWindow);
if(aspect != 2) return;
var wms = WindowsManager.GetWindowsManagerNodeName();
if(!Node.Exists(activeWindow + "/LE Navigator Toolbar Frame")) {
Node.Copy(System.ThisOwner() + "/LE Navigator Toolbar Frame", activeWindow + "/")
WindowsManager.SetWindowAspect(activeWindow, 1);
WindowsManager.SetWindowAspect(activeWindow, 2);
WindowsManager.Activate();
WindowsManager.UpdateWindowsStructure();
Activity.Run("/Scripts/CustomCommands/LEtools/Activate Current LE")
}