isavebak reactor for cloud based file location

isavebak reactor for cloud based file location

robert06
Collaborator Collaborator
684 Views
1 Reply
Message 1 of 2

isavebak reactor for cloud based file location

robert06
Collaborator
Collaborator

I'm not familiar with reactors, but in a need of one to make ISAVEBAK to depend on file location. For dwgs opened from or saved to Sharepoint cloud synced directory, i'd like to have to original dwg maintained when edited, otherwise the .bak functionality is used.

 

 

(setvar dirpart "folder name")
(cond ((wcmatch (getvar 'dwgprefix dirpart)) (setvar 'isavebak 0))
(t (setvar 'isavebak 1))

thank you

 

0 Likes
685 Views
1 Reply
Reply (1)
Message 2 of 2

robert06
Collaborator
Collaborator

oops, the test would be

 

(setq dirpart "*folder name*")
(cond ((wcmatch (getvar 'dwgprefix) dirpart) (setvar 'isavebak 0))
(t (setvar 'isavebak 1))

)

 

 

0 Likes