PDA

View Full Version : button for interface


Wireframes
10-05-2004, 10:17 PM
Can I create new button in the Modo tools interface ?

Phil

yog
10-05-2004, 10:32 PM
Yep, the description is on the "Share your scripts" thread.
Link (http://www.cgtalk.com/showpost.php?p=1592649&postcount=5)

Wireframes
10-05-2004, 10:45 PM
Sorry

I don't see it

Wireframes
10-05-2004, 11:13 PM
I have tried this :

@C:\temp\MovePivotToVertex.pl

and it works very well

but these configurations not at all :

@C:\Program%20Files\Luxology\Pluggins\MovePivotToVertex.pl
@C:\Program Files\Luxology\Pluggins\MovePivotToVertex.pl

In the post Lux said we must put all in the main directory but when we'll have many of these scripts it will be difficult to sort things out

any ideas ?

Matariki
10-05-2004, 11:26 PM
You got a space in your path. That's what is causing the trouble. You have to put the path in curled brakets.

@{C:\Program Files\Luxology\Pluggins\MovePivotToVertex.pl}

or quotation marks

@"C:\Program Files\Luxology\Pluggins\MovePivotToVertex.pl"

Hope it works now.

Cheers

yog
10-06-2004, 09:48 AM
In the post Lux said we must put all in the main directory but when we'll have many of these scripts it will be difficult to sort things out

any ideas ?I thought the same, so I made a sub-directory under modo called "scripts", and now activate it with the command
@scripts\plugin.pl
Because Modo looks at the main "modo" directory by default, I found I only needed to add the sub-directory name to the front.

BTW - Yep, looks like your problem is the space in the file name.

JacquesD
10-06-2004, 10:12 AM
I'm not sure if that's the kind of button you want to add but here's how I added one yesterday:
I went to the "Form Editor" -> "New Control", I added the command line and It directly appeared in the "Tools Bar".

http://users.skynet.be/fa008785/Button.jpg

The ripper.

Wireframes
10-06-2004, 03:52 PM
Thanks very much it works very well now :thumbsup:

CGTalk Moderation
01-19-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.