Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CUI Command Macro - Open in Read-Only - AutoCAD LT

8 REPLIES 8
Reply
Message 1 of 9
Pluc.m
1029 Views, 8 Replies

CUI Command Macro - Open in Read-Only - AutoCAD LT

Is it possible to write a Macro in the CUI that opens a drawing in Read-Only mode? Limitation : AutoCAD LT.

 

Thanks!

8 REPLIES 8
Message 2 of 9
Moshe-A
in reply to: Pluc.m

ofcourse you can

 

the CUI/CUIX file is totally independet

 

moshe

Message 3 of 9
Pluc.m
in reply to: Moshe-A

Ok I should have clarified that I actually needed help to do so 😄

 

I can write .NET Interops, use the .NET API, and theres a guy that handles everything about LISP. But nobody here knows how to deal with macro accordingly.

 

Any direction, link, tutorial, sample is greatly apreciated! 🙂

Message 4 of 9
Moshe-A
in reply to: Pluc.m

 

well that's depand on what you want to do with CUI/CUIX macro?

do you want to programaticlly write to CUI/CUIX files?

with that i can not help you.

 

the CUI/CUIX manager is design to create macros for users who (even) have no coding skills.

 

here is the only good reference manual i use:

 

from the AutoCAD pulldown menu (top menu) go to Help

 

and select

 

Additional Sources\Developer Help

Customization Guide\User Interface Customizaion

but if you have R2011 and up? it will take to help on the net

 

Cheers

Moshe

 

Message 5 of 9
dgorsman
in reply to: Moshe-A

I think the OP is looking to create a macro, inside a CUIx file, that opens a selected drawing as read-only.  That seems reasonable...

 

AFAIK there is no such beast.  The only way I can do that is programmatically, which you can't do in LT.  If the application is not that important, try seeing if you can launch TrueView; if so, you can supply the file name as a command-line argument to the EXE.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 6 of 9
Pluc.m
in reply to: dgorsman

We really need AutoCAD LT. We specifically bought over 10 licenses of LT for specific features that would speed up mesurements and other stuff (apparently, i don't personally know why they switched).

 

Thanks for the directions on the documentation. I will be looking at that.

Message 7 of 9
Rick-K
in reply to: Pluc.m

See this post to see if it might help.

 

Maybe Owen's program will work for you.

 

BTW I use quickpik for autocad & dont like running it without.

 

AutoCAD Read-Only

 

He says it works with LT.

 

Rick

Message 8 of 9
Pluc.m
in reply to: Rick-K

I kinda started that topic, but thanks anyway! 🙂

 

I know about his application but this is not something the company will invest money on. They would rather invest in Autodesk Vault Workground then this (which is actually considered as we speak. Live demo being schedualed, quote already obtained).

 

Not to mention that I'm kinda confused to how this application is actually legal on LT...

 

Thanks everyone for the help!

Message 9 of 9
m_rogoff
in reply to: Pluc.m

when the OPEN menu is displayed, select the DOWN ARROW next to "Open" button, select "Open Read Only"

see attached picture

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

Post to forums  

Autodesk Design & Make Report

”Boost