Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 1 of 8 (471 Views)

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

471 Views, 7 Replies
09-18-2012 01:08 PM

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

 

Thanks!

Distinguished Mentor
Moshe-A
Posts: 735
Registered: ‎09-14-2003
Message 2 of 8 (470 Views)

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

09-18-2012 01:12 PM in reply to: Pluc.m

ofcourse you can

 

the CUI/CUIX file is totally independet

 

moshe

Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 3 of 8 (469 Views)

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

09-18-2012 01:14 PM in reply to: Moshe-A

Ok I should have clarified that I actually needed help to do so :smileyvery-happy:

 

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! :smileyhappy:

Distinguished Mentor
Moshe-A
Posts: 735
Registered: ‎09-14-2003
Message 4 of 8 (462 Views)

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

09-18-2012 02:23 PM 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

 

*Expert Elite*
dgorsman
Posts: 5,056
Registered: ‎10-12-2006
Message 5 of 8 (454 Views)

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

09-18-2012 03:31 PM 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.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 6 of 8 (441 Views)

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

09-19-2012 04:10 AM 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.

Valued Contributor
Rick-K
Posts: 85
Registered: ‎07-25-2012
Message 7 of 8 (425 Views)

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

09-19-2012 08:01 AM 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

Contributor
Pluc.m
Posts: 21
Registered: ‎08-31-2012
Message 8 of 8 (421 Views)

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

09-19-2012 08:11 AM in reply to: Rick-K

I kinda started that topic, but thanks anyway! :smileyhappy:

 

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!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community