TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mkweaver on March 10, 2008, 10:44:35 PM
-
Has anyone had problems with autoload not working consistently?
Yesterday I set some files up to autoload and today, about every second time I started Autocad I would have problems. Even to the point of getting an error in VL.ARX on my way out of acad. I finally removed the calls to Autoload and the problems went away.
Using Autodesk Mechanical Desktop 2008 SP1
Mike
-
Not I, but I use Plain Vanilla 2K.
You double checked the syntax I assume?
-
Double and triple checked the syntax. Initially I got a message that AutoLoad was not recognized. I then restarted autocad and it worked, sporadically.
-
Mike,
do you mean you're using the autoload functions [ for quasi demand loading ] <== I assume this
or you are trying to load the routines at startup ?
I'd be interested in seeing the code that fails ..
where are you defining the autoloads ?
-
I have the autoload call in a file that is being loaded by Acad.lsp (acadlspasdoc = 1). A typical call to the autoload function looked like this:
(AutoLoad "Dimse"
'("dse" ;Dimension Suppress Extension lines
"dsa" ;Dimension Suppress Arrows
"dsh" ;Dimension Stack Horizontal toggle
"dino" ;Dimension INches Only toggle
"dwd" ;Dimension Width Dynamic
"dth" ;Dimension Text Horizontal toggle
"dref" ;Dimension REFerence Adds / Removes parenthesis from the dimension text
"dsro" ;Dimension suffix RO (Rough Opening)
"dspm" ;Dimension Suffix Plus/Minus Adds %%p to the dimension suffix
)
)
-
Mike,
Looks good to me.
At this point I would use the shot gun approach.
Move the autoload to the ACADdoc.lsp
Remove all but one command (AutoLoad "Dimse" '("dse"))
If that works, work your way back. 8-)