buy abilify online buy accutane online buy aciphex oline buy actonel online buy actoplus met online buy acyclovir online buy Advair Discus online buy aldactone online buy alesse online buy allegra online buy alli online buy Alpha Lipoic Acid online buy amaryl online buy amitriptyline online buy amoxil online buy ampicillin online buy anafranil online buy antabuse online buy Antiox Cats online buy antivert online buy arava online buy aricept online buy astelin online buy augmetin online buy avalide online buy avandamet online buy avapr online buy betnovate online buy bupropion online buy buspar online buy cafergot online buy capoten online buy carisoprodo online buy cefadroxil online buy cefixime online buy Celexa online buy cephalexin online buy chloramphenicol online buy chrysin-xy online buy cipr online buy citalopram online buy Clavamox online buy Clomid online buy Clozaril online buy colchicine online buy Coreg online buy Crestor online buy Cymbalta online buy cytotec online buy cytoxan online buy decadron online buy deltasone online buy diabecon online buy diamox online buy diflucan online buy dilantin online buy diovan online buy ditropan online buy dostinex online buy dulcolax online buy effexor online buy epivir-hbv online buy estrace online buy etodolac online buy eurax online buy Evegen online buy exelon online buy Femara online buy fosamax online buy fucidin online buy furosemide online buy gaba online buy hydrochlorothiazide online buy hyzaar online buy inderal online buy indocin online buy keftab online buy lamisil online buy Lasix online buy Levaquin online buy levlen online buy levothroid online buy Lexapro online buy Lipitor online buy lisinopril online buy Medrol online buy Metformin online buy Methotrexate online buy Minocin online buy Nexium online buy Nolvadex online buy Norvasc online buy Penis Growth Patch online buy penisole online buy Plan B online buy Plavix online buy Prednisone online buy Propecia online buy Proscar online buy Protonix online buy Provera online buy Purim online buy Retin-A online buy Rimonabant online buy Risperdal online buy Robaxin online buy Septilin online buy Seroquel online buy Shoot online buy Soothenol online buy Strattera online buy Sumycin online buy Tagamet online buy Tegretol online buy Tenormin online buy Topamax online buy Tramado online buy Trazodone online buy Tretinoin online buy Tricor online buy Vermox online buy Viagr online buy vytorin online buy Xenical online buy Zanaflex online buy zelnorm online buy zithromax online buy Zyba online buy lexapro online acyclovir alli viagra plus lasix buy clomid cheap prednisone zithromax buy cialis accutane buy zovirax buy cipro buy plavix buy nexium Ashwagandha levitra without prescription viagra professional online buy accupril online buy aceon cheap buy acomplia online buy adalat order buy albendazole cheap buy aldactone online buy alendronate cheap buy alesse generic buy allopurinol online buy amaryl order buy antabuse generic buy arava cheap buy aristocort online buy aristocort cheap buy ashwagandha cheap buy atacand generic buy atarax online buy atrovent order buy avandamet generic buy avodart order buy azulfidine online buy baclofen generic buy bactrim order buy bactroban online buy brahmi cheap buy bust enhancer no rx buy cafergot generic buy calan order buy captopril online buy cardura order buy cefixime generic buy ceftin no rx buy chloroquine order buy cialis professional no rx buy cialis online buy clonidine cheap buy colon clen supreme no rx buy combivent generic buy compazine cheap buy danazol online buy depakote order buy diclofenac gel online buy diclofenac cheap buy ditropan generic buy doxazosin cheap buy doxycycline online buy ephedraxin no rx buy fasta sleep strips no rx buy female libido patch no rx buy female viagra order buy flagyler online buy gemfibrozil generic buy glucophage order buy hyzaar generic buy insect repellant no rx buy isosorbide order buy kytril generic buy lamictal no rx buy lanoxin order buy l-arginine online buy levothroid generic buy lotensin generic buy lotrisone cheap buy male sexual tonic no rx buy mircette online buy mononitrate order buy noroxin cheap buy nortriptyline generic buy ortho tri-cyclen no rx buy pantoprazole online buy phenergan cheap buy plendil online buy prevacid generic buy procardia cheap buy propranolol order buy proscar online buy pyridium no rx buy rabeprazole order buy ranitidine generic buy relafen online buy risedronate cheap buy sarafem online buy serevent order buy stromectol no rx buy synalar cheap buy terazosin generic buy terramycin order buy tetracycline no rx buy tofranil online buy trileptal generic buy ultracet online buy vasotec order buy vermox generic buy viagra professional no rx buy voltaren online buy yasmin order buy zestoretic online buy zestril order buy zyloprim online

 



How to set presets for tools

Ever wished you could set presets for your tools such as the Knife or Weight Tool much like any parametric object?
Well, this is possible by creating a simple script for each preset you wish to create. Here is the step-by-step procedure.

>> First, you’ll need to launch the Command Manager, by going into the menu “Window>Layout>Command Manager” (Shift+F12).

>> Now, enter “script” into the name filter field, and select the Script log and Script Manager and open them (hit “execute” to launch them).

command-manager.jpg

>> The Script Log is a manager that allows you to keep track of certain commands. Not everything is supported, but most tools and tools options are, so this is a neat way to have C4D create the code for you, especially if you are not too good at scripting (like me).

 

scriptlog.jpg

>> The Script Manager is where you will script your actions and tools. The default script is the “save as template” command, so you first need to create a new script for your preset.

 

scriptmanager.jpg

scriptmanager3.jpg

>> Now that you have created your new empty script, keep an eye on the script log, and select the Weight Tool (for example).

weightool.jpg

>> Notice how the log shows what tool you selected, and put it into a form that C4D will understand. This is actual scripting in Cinema4D (to empty the script log, just select the text and hit “backspace”).

scriptlog2.jpg

>> Now, set the options of the Weight Tool as you wish. Be careful to enter them in one go, because the log will keep a trace of every changes you make, even if you change the strength value 3 times. You don’t want the tool to change the strength value 3 times each time you call for it, that’s not really efficient.

weightool3.jpg

>> Here, I set my weight tool to paint in absolute mode (meaning that I want it to set a specific value each time I click the mouse, without any degree of variation), and you can see that my script log reflects those changes.

scriptlog4.jpg

>> Just copy the script available in the script log, and paste it into the script manager, in its entirety.

scriptmanager2.jpg

>> You’re done. If you click “execute”, it will call the Weight tool with these specific values. Just set the Weight Tool back to other values, execute the script and see how it works.

>> The last things you might want to do is to place the icon in a palette, or in your interface. Just drag and drop it wherever you need it. You can even assign a shortcut to this script. Optionally, you can also set your own customized icon by clicking on the “load icon” button, and loading your image.

editpalette.jpg

Of course, don’t forget to click the “save all” button, to save any number of scripts you have created. These are saved into the “Library>Scripts” folder, and can be found via the drop down menu at the top of the script manager.


7 Comments to “How to set presets for tools”  

  1. 1 Psionic

    Very very useful and extremely powerful, thanks for the tip!!

  2. 2 Leonard Marsh

    Your tutorials are quite good – the best, in fact. Useful subject, brief, very clear and I hope to find a bunch more. Cheers.

  3. 3 Bill
  4. 4 Hero
  5. 5 Kir
  6. 6 Heel
  7. 7 jill

    The most comprehensive info I have found on this subject on the net. Will be back soon to follow up http://www.cheap–flowers.com

Leave a Reply


CAPTCHA image