Page 1 of 1

selection outil

Posted: Thu May 19, 2016 9:16 pm
by martinAcosta
Bonjour

J'aimerais depuis un script changer l'outil actif ou selectionné... Existe-t-il un SetFocus ou SetSelected?

Re: selection outil

Posted: Fri May 20, 2016 5:56 pm
by patrice64
Salut Martin,

Tu peux regarder la CaRCommande SetIconSelection
http://carmetal.org/index.php/fr/tutoriels/les-scripts/syntaxe#SetIconSelection(String,String)

Par exemple :

Code: Select all

SetIconSelection("intersection",true);


Paramètres : "point", "intersection", "midpoint", "bi_syma", "bi_symc", "bi_trans", "line", "ray", "parallel", "plumb", "bi_med", "bi_biss", "segment", "fixedsegment", "vector",
"area", "angle", "fixedangle", "circle", "fixedcircle", "circle3", "bi_circ", "bi_arc", "quadric", "text", "expression", "image3"