x13 Posté(e) le 12 septembre 2003 Posté(e) le 12 septembre 2003 Feu Autodesk Point A, avait publié un article sur la sauvegarde et la restauration des réglages favoris pour "Accrochage aux objets" Il me manque quelques bouts de code, autodesk Point A Saving and Restoring Favorite OsnapsThe code below can be added to the menu source file (Acad.mns, for exa restore your favorite OSNAP settings. The routine creates an •enviroment favorite OSNAP setting (say END,MID,INT,PER,NEA). Then, when you P mode), It will check to see If It has any settings (osfliode > 0). if Osnep se Osnap on o roff. If no settings are present (osmode 0), It will restore you (ENDMID,INT,PERNEA= 675) that are stored In your menu. If you temp you can restore your favorite settings by keying SHIFT+F3. The otherltine your favorite setting and (ID_OS_SAVE) WIll make the current OSNAP seShlft+F3 will return the OSNAP setting to that saved value). Follow the ste paste the following code into the ~POP6 ~TOOLS portion of the AutoCAD.mID_Osnap [Osnap SettIng]'osnap”: ID_OS_RESTORE[($(eval,”Reset &l “$(getenv,”os_settin"))J’setvar osmode $M=$(if,$(eq,$(getenv,os_setting ID_OS_SAVE [$(eval,”Make Current Osnap DefauIt:\t”$(getvar,osmode))J (getvar “osmode”))) 2 Paste the following Into the***ACCELERATORS p //Improved OSNAP toggle ["F3"]'setvar osmode $M=$(If,$(eq,$(getvar,os, os_setting),"”),675,$(getenv, os_settlng)),+$(if$(eq,$(and,16384,$(getvar,osmode)),16384),$(-,$(getvar,osmode),16// Resets default Osnap setting[sHIFT+”F3"]setvar osmode $(if,$(eq,$(ge os_setting)) 3. Save the changes to the .mns menu file, and then reload th votre aide serait apprécié. Merçi, X13 [Edité le 12/9/2003 par x13]
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant