TheSwamp
Code Red => ARX Programming => Topic started by: deegeecees on January 27, 2006, 02:49:41 PM
-
I just got a request for the "WhoHas" arx app to be loaded automatically. Does any on e know how to do this from the acad2000doc.lsp file?
I tried:
(autoarxload "WHOHAS" '("WHOHAS"))
and got an infinite:
"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."
"Initializing..."
So, thats not it...
-
i typed appload and loaded it
(COMMAND "VBASTMT" "ThisDrawing.Application.LoadArx ("MyARXApp.arx")")
-
No go...
Command: (COMMAND "VBASTMT" "ThisDrawing.Application.LoadArx ("whohas.arx")")
VBASTMT
Expression: ThisDrawing.Application.LoadArx (
Syntax Error
Command:
Command: ) Unknown command ")". Press F1 for help.
Command: nil
Missing something...
-
I forgot about the " closing the quoted string, try this
(COMMAND "VBASTMT" "THISDRAWING.APPLICATION.LOADARX(\"WHOHAS.ARX\")")
-
Thankyou VERY much!
-
I put it in my mnl file
(verify_arxapp_loaded "whohas.arx")