Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
What is this works?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: What is this works? (Read 1369 times)
0 Members and 1 Guest are viewing this topic.
jxphklibin
Guest
What is this works?
«
on:
October 12, 2009, 04:31:58 AM »
the code is below:
(if (not dwg_reactor_run)(setq dwg_reactor_run(vlr-dwg-reactor nil '((:vlr-saveComplete . save)))))
(defun save(a b)
(Vlax-Invoke-Method (Vlax-Get (Vlax-Get-Acad-Object) 'ActiveDocument) 'Save )
)
what is it works?
any can help? thanks!
Logged
Lee Mac
Seagull
Posts: 12915
London, England
WWW
Re: What is this works?
«
Reply #1 on:
October 12, 2009, 07:59:13 AM »
It is a drawing reactor that will save the ActiveDocument after the save command has completed.
Logged
Lee Mac Programming
•
Twitter
•
Exchange App Store
T.Willey
Needs a day job
Posts: 5251
Re: What is this works?
«
Reply #2 on:
October 12, 2009, 11:13:33 AM »
I'm not sure the Save method will work. If not, use the SaveAs method, as this works.
Logged
Tim
I don't want to ' end-up ', I want to ' become '. - Me
Please think about donating if this post helped you.
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
What is this works?