mohdtm Posted August 27, 2012 Posted August 27, 2012 dears, while i open any cad files, its solid fill is needs to get enabled each time i open each files. is ther anyway to keep the solid fills remains on. Quote
ReMark Posted August 27, 2012 Posted August 27, 2012 FILLMODE = 1. The problem is this system variable is saved with the drawing. You can force it with a simple lisp code that loads each time a drawing is opened though. Quote
mohdtm Posted August 27, 2012 Author Posted August 27, 2012 thanks for the reply , how can i get the lisp, and how can it load automatically with each files. Quote
ReMark Posted August 27, 2012 Posted August 27, 2012 (edited) I have a better idea. Just create an Action Macro for it using the Action Recorder. Works a treat. Very simple to do too. The lisp way..... (SETVAR "FILLMODE" 1) Add it to your acaddoc.lsp file. Edited August 27, 2012 by ReMark Quote
mohdtm Posted August 27, 2012 Author Posted August 27, 2012 please let me know how to apply it, i am very strange with macro Quote
ReMark Posted August 27, 2012 Posted August 27, 2012 Once the macro has been created, from within AutoCAD using the Recorder, just hit the Play button and select the macro from the list. Every time to create a macro it is given a number unless you decide to override it. Ex. - ActMacro003 The Recorder can be found on the Ribbon's Manage tab > Action Recorder panel. The Record button is on the far left of the panel while the Play button is in the center. Quote
ReMark Posted August 27, 2012 Posted August 27, 2012 To create the macro first start the Recorder then at the command line type FILLMODE. When prompted for a value type "1" then press Enter. Stop the Recorder. AutoCAD will assign a name to the macro. If this is the first one you have ever made the name will be ActMacro001. Accept it. Now anytime you open a drawing where FILLMODE is disabled and you want to enable it just "play" ActMacro001. Simple. Quote
mohdtm Posted August 27, 2012 Author Posted August 27, 2012 thank you very much, i will try it and let you know the result thanks again buy. Quote
SLW210 Posted August 27, 2012 Posted August 27, 2012 I have a better idea. Just create an Action Macro for it using the Action Recorder. Works a treat. Very simple to do too. The lisp way..... (SETVAR "FILLMODE" 1) Add it to your acad.lsp file. Should be added to ACADDOC.lsp to load in each drawing, ACAD.lsp loads once per session (unless ACADLSPASDOC = 1). Quote
ReMark Posted August 27, 2012 Posted August 27, 2012 If you want to use the lisp method then take a look at Lee Mac's explanation about loading lisp routines automatically via acaddoc.lsp as outlined here http://lee-mac.com/autoloading.html SLW: I caught/corrected my error. Quote
mohdtm Posted August 28, 2012 Author Posted August 28, 2012 i try with macro its working , but it is difficult as procedure am doing till today that is "op" command, tick "apply solid fill" at display tab. i try with lisp it is working thank you so much for your kind information, the link you provided http://lee-mac.com/autoloading.html is very use full, thanks again Quote
mohdtm Posted August 28, 2012 Author Posted August 28, 2012 thank you very much its done. i use lisp command (SETVAR "FILLMODE" 1) and make it to autoload using appload. thanks again Remark ... see you then.... Quote
ReMark Posted August 28, 2012 Posted August 28, 2012 Glad to hear you found a way to make it work for you. There are many system variables, like Fillmode, that one must be aware of. You can find information using the System Variables Editor which can be found under Express Tools or by typing SYSDLG at the command line. You're entirely welcomed. Quote
SLW210 Posted August 28, 2012 Posted August 28, 2012 thank you very much its done. i use lisp command (SETVAR "FILLMODE" 1) and make it to autoload using appload. thanks again Remark ... see you then.... Don't use APPLOAD, add it to acaddoc.lsp (you may need to create this) so that it will load on every drawing. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.