Team work!

Team work!

Anonymous
Not applicable
2,058 Views
7 Replies
Message 1 of 8

Team work!

Anonymous
Not applicable

I have a team of 20 people, I always do some routines and share with everyone. However, sometimes it is necessary to make some modifications to the programs, and I end up having to share them again, what is the best way to handle it?

Is there a possibility to edit the program and the updates to be shared with everyone?

0 Likes
Accepted solutions (2)
2,059 Views
7 Replies
Replies (7)
Message 2 of 8

Kent1Cooper
Consultant
Consultant
Accepted solution

Keep them in a shared Server location, including an acaddoc.lsp file, and put that Server location into everyone's Support File Search Path list in OPTIONS.  And make sure no one has a local acaddoc.lsp file, but everyone uses the common one on the Server.  Have that acaddoc.lsp file (load) or (autoload) all of the routines.  When you update a routine, you need to do it only there in the shared Server location, and its updated version will be used in everyone's computer.  When you add a new routine, all you need to do is add the (load)ing or (autoload)ing of it to the shared acaddoc.lsp file, and everyone will get it.

Kent Cooper, AIA
Message 3 of 8

rkmcswain
Mentor
Mentor
Accepted solution
@Kent1Cooper wrote:

Keep them in a shared Server location, including an acaddoc.lsp file, and put that Server location into everyone's Support File Search Path list in OPTIONS.


And make sure no one has a local acaddoc.lsp file, but everyone uses the common one on the Server.

If you ensure that your network server path is at the TOP of each user's support file search path, then the presence (or absence) of other "acaddoc.lsp" files doesn't matter.

 

R.K. McSwain     | CADpanacea | on twitter
Message 4 of 8

Anonymous
Not applicable

Thanks @Kent1Cooper  @rkmcswain 
I'll try!!

Message 5 of 8

Anonymous
Not applicable

It works fine for me!! Thank you.
A stupid question, can I do this with OneDrive or DropBox?

 

I'm using something like this !!

(if (= (vl-file-directory-p "\\\\SERVER\FOLDER") nil)
  (prompt "\nSORRY YOU DONT HAVE PERMISSIONS!!" )
)

 

0 Likes
Message 6 of 8

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... can I do this with OneDrive or DropBox?

 

I'm using something like this !!

(if (= (vl-file-directory-p "\\\\SERVER\FOLDER") nil)
  (prompt "\nSORRY YOU DONT HAVE PERMISSIONS!!" )
)

I expect if you can spell out a file path such as that to a OneDrive or DropBox location, it should work, as long as the same works for all Users, but I haven't dealt with that situation.  But you need to use forward  slashes [or double backslashes] for file path delimiters inside AutoLisp code.

 

[And you might want to change your prompt wording -- it could mean simply that the folder location in question doesn't exist.]

 

And another little thing -- you can test for nil return more simply than by looking at whether something is "equal to nil."

  (if (= whatever nil) ...

can be just

  (if (not whatever) ...

or

  (if (null whatever) ...

Kent Cooper, AIA
Message 7 of 8

marko_ribar
Advisor
Advisor

@Anonymous wrote:

It works fine for me!! Thank you.
A stupid question, can I do this with OneDrive or DropBox?

 

I'm using something like this !!

(if (= (vl-file-directory-p "\\\\SERVER\FOLDER") nil)
  (prompt "\nSORRY YOU DONT HAVE PERMISSIONS!!" )
)

 


Not sure, but as far as I know you could try to share your folder with others through Google Drive... There is also something like QNAP, but I never tried and succeeded to use it correctly with using public server machine - there is some kind of thingy that you must use your own server and also correct software for QNAP... All I can say, is try out with Google Drive, also never succeeded, but that's because I didn't have someone with whom I'll be willing to share folder - of course this is all if you have guarantee that you won't be misusing other PC's HDD storage...

HTH.

Marko Ribar, d.i.a. (graduated engineer of architecture)
Message 8 of 8

Anonymous
Not applicable

Thanks!! I'll try!! any questions I post here !!

0 Likes