selection outil

Lieu d'échange sur les pratiques et les réalisations de scripts
martinAcosta
Site Admin
Posts: 340
Joined: Mon Apr 28, 2014 8:06 pm

selection outil

Postby martinAcosta » Thu May 19, 2016 9:16 pm

Bonjour

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

patrice64
Site Admin
Posts: 22
Joined: Sun May 18, 2014 2:30 pm
Location: Pau

Re: selection outil

Postby patrice64 » Fri May 20, 2016 5:56 pm

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"


Return to “Les CaRScripts”

Who is online

Users browsing this forum: No registered users and 0 guests