Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automatically Lock Points

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
TonyLeggieri3279
605 Views, 4 Replies

Automatically Lock Points

Originally posted this in the survey group, but will probably have more luck here:

 

Does anyone know of a way to automatically lock all C3D points on either exit or drawing open? 

 

Problem is we have a few users who just forget to lock them.  We do not use nor are planning on using vault.

 

 

Tony

Tony Leggieri
Gutschick, Little & Weber, P.A. (GLW)
CADD Manager
Civil 3D 2023.2.1
Windows 10
4 REPLIES 4
Message 2 of 5
wfberry
in reply to: TonyLeggieri3279

1. Single shot .22 or .45 should do the trick.

 

Bill

Message 3 of 5
TonyLeggieri3279
in reply to: wfberry

Bad news is that is frowned upon by the Partners at our firm.  Good news is our last CAD Manager is up for parole in about a year...

 

Actually, I JUST got it to work in 2011.  Simply add

 

 (command "lockpoints" "all")

 

 to the end of the ACAD.LSP file (saved to a common location set in the Support Paths) and voila!!  Points lock on drawing open.

 

Doesn't work with 2009 (lockpoints command doesn't work, nor does aecclockpoints)...but works great in 2010 and 2011!!

 

Oh, and ACADLSPASDOC needs to be set to 1.

 

Tony Leggieri
Gutschick, Little & Weber, P.A. (GLW)
CADD Manager
Civil 3D 2023.2.1
Windows 10
Message 4 of 5
Sinc
in reply to: TonyLeggieri3279

 


@TonyLeggieri3279 wrote:
Actually, I JUST got it to work in 2011.  Simply add

 

 (command "lockpoints" "all")

 

 to the end of the ACAD.LSP file (saved to a common location set in the Support Paths) and voila!!  Points lock on drawing open.

 

Oh, and ACADLSPASDOC needs to be set to 1.

 


 

I would recommend you don't do that.

 

If you want something to happen in every drawing, you can put it in your ACADDOC.LSP instead.  That way you still have the ACAD.LSP functionality loading only at startup.

 

It doesn't make a whole lot of difference if you don't have anything in your ACAD.LSP to start with, but you never know when you might want to start using the ACAD.LSP in the future.  So I say it's best to just put the per-drawing stuff in ACADDOC.LSP, and keep ACADLSPASDOC set to 0.

Sinc
Message 5 of 5
TonyLeggieri3279
in reply to: Sinc

Thanks, Sinc!  I will definitely take your advice on that one.

 

Right now we don't have anything else in the file, but you never know.

Tony Leggieri
Gutschick, Little & Weber, P.A. (GLW)
CADD Manager
Civil 3D 2023.2.1
Windows 10

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report