Link Editor tools

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Link Editor tools

Post by clintonman »

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.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Link Editor tools

Post by trueBlue »

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
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Link Editor tools

Post by clintonman »

trueBlue wrote: 23 Sep 2020, 00:23 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
Don't know anything about Aspect toolbars. Any clues?
Clinton Reese

http://clintons3d.com
User avatar
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

Post by spacekdet »

My favorite LE tool:
whackitaround.jpg
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Link Editor tools

Post by trueBlue »

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

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")
	}
Post Reply