Small request / Tip

Forums: Small request / Tip
Autodesk Softimage XSI (Developed by Face)

Small request / Tip

Postby Magog » Wed Mar 02, 2011 9:30 am

Magog Wed Mar 02, 2011 9:30 am
Hi face,
I've a little question for you.. :)

Can u create a button to facilitate the opening of the PPG Octane's without going every time to the file> export .... etc?

Example:
Attachments
OctaneButton.jpg
i7 970 3.3 GHz | 12Gb Ram | GTx550Ti for display + Gainward GTX580 1.5 Gb and Zotac 590 3 Gb for Octane | Win7 x64 __ Softimage 2011.5
User avatar
Magog
Licensed Customer
Licensed Customer
 
Posts: 283
Joined: Wed Feb 02, 2011 11:12 am
Location: Salento

Re: Small request / Tip

Postby face » Wed Mar 02, 2011 9:34 am

face Wed Mar 02, 2011 9:34 am
I will show what I can do...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Small request / Tip

Postby Magog » Wed Mar 02, 2011 9:44 am

Magog Wed Mar 02, 2011 9:44 am
Thanks for your kindness and courtesy!!!!
i7 970 3.3 GHz | 12Gb Ram | GTx550Ti for display + Gainward GTX580 1.5 Gb and Zotac 590 3 Gb for Octane | Win7 x64 __ Softimage 2011.5
User avatar
Magog
Licensed Customer
Licensed Customer
 
Posts: 283
Joined: Wed Feb 02, 2011 11:12 am
Location: Salento

Re: Small request / Tip

Postby face » Wed Mar 02, 2011 3:37 pm

face Wed Mar 02, 2011 3:37 pm
Have made a custom copy of the toolbar "Main Shelf".
The files and folders in the zip comes to your...
C:\Users\USERNAME\Autodesk\Softimage_WhatEver\Application\toolbars
...folder.
Toolbar.zip
(4.37 KiB) Downloaded 372 times


If you have a modyfied toolbar or you want to place the button on an other toolbar, you must do some things.
  • Extract only the bitmaps folder/file from the zip to the folder above.
  • Rightclick on the toolbar where you want the button and choose "Customize Toolbar"
  • Select in the new window the group "Toolbar Widges".
  • Drag and drop the "Script Button" to the right place.
  • In the "Customize Button" window, change the "User Button Size" from width and height to 36.
  • In the "Button Label" and the "Tooltip" you can write what you want.
  • Change the "Bitmap" to "OctaneLogo" without the brackets.
  • Change the "Script Language" to VBScript.
  • Copy and paste the following code in the "Script Commands" window.
    Code: Select all
    exists = false
    set oProps = ActiveProject.ActiveScene.Root.Properties
    for each oProp in oProps
       if oProp.Name = "Octane_exporter" then exists = true
    next

    if exists then
       inspect
    else
       gen
    end if

    function inspect
       InspectObj "Octane_exporter"
    end function

    function gen
       SIAddProp "Octane_exporter", "Scene_Root", siDefaultPropagation, "Octane_exporter"
       inspect
    end function
  • Press OK
  • The button is now in the toolbar, but the position isn´t where you want.
    You can now simple drag the button to the right position.
  • After that, close all windows.
  • Choose Yes to save the changes in the toolbar.

Hope that works ;)
Have fun...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Small request / Tip

Postby Magog » Thu Mar 03, 2011 7:50 am

Magog Thu Mar 03, 2011 7:50 am
WoW!
But.. You're really fast! And extraordinary! :o :D
In the afternoon I will do a test!!

Tnx!!Tnx!!Tnx!!Tnx!!Tnx!!Tnx!!Tnx!!
i7 970 3.3 GHz | 12Gb Ram | GTx550Ti for display + Gainward GTX580 1.5 Gb and Zotac 590 3 Gb for Octane | Win7 x64 __ Softimage 2011.5
User avatar
Magog
Licensed Customer
Licensed Customer
 
Posts: 283
Joined: Wed Feb 02, 2011 11:12 am
Location: Salento

Re: Small request / Tip

Postby Magog » Thu Mar 03, 2011 2:42 pm

Magog Thu Mar 03, 2011 2:42 pm
Yeahh !! Really easy to install!
I've tried second option!

Tnx face!
i7 970 3.3 GHz | 12Gb Ram | GTx550Ti for display + Gainward GTX580 1.5 Gb and Zotac 590 3 Gb for Octane | Win7 x64 __ Softimage 2011.5
User avatar
Magog
Licensed Customer
Licensed Customer
 
Posts: 283
Joined: Wed Feb 02, 2011 11:12 am
Location: Salento

Re: Small request / Tip

Postby face » Thu Mar 03, 2011 4:22 pm

face Thu Mar 03, 2011 4:22 pm
Cool, I´m glad to read that...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Small request / Tip

Postby DI2011 » Mon Mar 07, 2011 11:27 pm

DI2011 Mon Mar 07, 2011 11:27 pm
Sweet!!!

Thanks Face!!!!
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Small request / Tip

Postby Alul » Tue Mar 08, 2011 12:53 pm

Alul Tue Mar 08, 2011 12:53 pm
Small thing but very useful. Thank You.
User avatar
Alul
Licensed Customer
Licensed Customer
 
Posts: 35
Joined: Tue Jan 11, 2011 2:58 pm

Return to Autodesk Softimage XSI


Who is online

Users browsing this forum: No registered users and 15 guests

Fri Apr 26, 2024 3:43 am [ UTC ]