Library Place Utility script

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

Library Place Utility script

Post by clintonman »

LibraryPlaceScript1.jpg
LibraryPlaceScript2.jpg
LibraryPlaceScript2.jpg (32.32 KiB) Viewed 4583 times
Library place script for organizing projects and for incremental object and scene backups. A library place is a collection of trueSpace libraries. The script can create a new library place based on user selection of types library list. It can open preexisting library places. It has buttons for saving scenes and objects with backups. Objects are saved to the Objects library and at the same time a copy is saved to the Objects_BACKUP folder with a unique name. It's the same for the Scenes and Scene library.

The Save Object and Save Scene buttons do not save if the checkbox choices for Objects and Scenes are unchecked

http://clintons3d.com/plugins/truespace ... place.html

Clinton Reese

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

Re: Library Place Utility script

Post by trueBlue »

Oh Cool!
Do you have access to the Library2 commands, like Export Object? Hoping... :worship:

Noticed when I installed your Library Place Utility Script it deleted all of your scripts in CustomCommands.
Re Loading the scripts from the C3D icon did work though.
Attachments
Library Place Script instalation.PNG
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Library Place Utility script

Post by clintonman »

trueBlue wrote: 24 May 2018, 15:09 Oh Cool!
Do you have access to the Library2 commands, like Export Object? Hoping... :worship:
...
It's not available for scripting. What would you use it for?
trueBlue wrote: 24 May 2018, 15:09 ...
Noticed when I installed your Library Place Utility Script it deleted all of your scripts in CustomCommands.
Re Loading the scripts from the C3D icon did work though.
I don't see that here. I did a fresh install, added the v4 unofficial and vray stuff, batch installed previous scripts then installed the library place script. It uses the same installer code as all the others so it must be something else. Maybe you did a default context before the install.
Clinton Reese

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

Re: Library Place Utility script

Post by trueBlue »

Not sure why but at one point VRayMaterials was being checked and opened.
Also the Defaults are being Un Checked. Meaning the only thing checked is VRayMaterials
Edit: It happens when I select the Select Library Place Folder button
The only thing I can see is the original Vray Materials library is spelled without the capital R
Vray Not VRay.PNG
Vray Not VRay.PNG (3.5 KiB) Viewed 4514 times

Opened several libraries at once and all of the Question alerts were behind trueSpace.
Think I might have a solution for the Alerts not showing by activating the tS Window:

Code: Select all

WindowsManager.ActivateWorkWindow('/Project/Windows Manager Space/Frame Window');
Note: Not fully tested but seems to work in all layouts.
Edit: Scratch that idea, finding it does not work all of the time
Or perhaps a Check for Prompt for Save. Like the one in the Desktop panel.

Wish list:
* Add separate Clear Recent Places and remove it from your Reset button.
* Add the Scene_BACKUP and the Object_BACKUP to the Library Place Script's Default aspect.
* Add Recent Places Combo Ctrl to the Library Place Script's File aspect.
* Add Save Scene and Save Object buttons to your Library Place button.
* Clear Status Line button
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Library Place Utility script

Post by clintonman »

Update june 15, 2021


uses the new plugin based status message that times out
new file menu buttons - Save Object+ and Save Scene+
redesigned UI panels so only the most common library types are shown in the default panel
does not open the render library because all the images from a long render will bog down trueSpace
new generic Image library
new generic Materials library
updated the installer
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Library Place Utility script

Post by clintonman »

Update Aug 30

fix file menu install for the batch installer
make less awkward to use - removed Create/Activate Library Place button - that code will run automatically after selecting a recent place or when selecting a folder to use
no longer uses the main trueSpace library automatically
simple status line feedback for long saves
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Library Place Utility script

Post by clintonman »

Update April 2022

fixed a bug where only Object, Scene and Render library types could be created.
new button to open the render folder in the file browser
new button to temporarily make the library titles longer, so if more than one library place is open it's easier to tell the difference between the libraries.

http://clintons3d.com/plugins/truespace ... place.html
Clinton Reese

http://clintons3d.com
Post Reply