Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Lisp File Lock

Pihu_2024
Contributor

Lisp File Lock

Pihu_2024
Contributor
Contributor

Dear Sir,

 

I want to lisp file locking prgramming.

any body please help me.

 

0 Likes
Reply
2,264 Views
40 Replies
Replies (40)

Sea-Haven
Mentor
Mentor

I did post the code needed, just did not wrap it.

 

 

(setq expire 20250000)
(if (> (fix (getvar 'cdate)) expire)
(progn (Alert "Oops ran out of time ")(exit))
)
0 Likes