Set Display Configuration to "Reflected" using autolisp or command line

Set Display Configuration to "Reflected" using autolisp or command line

DC-MWA
Collaborator Collaborator
1,091 Views
10 Replies
Message 1 of 11

Set Display Configuration to "Reflected" using autolisp or command line

DC-MWA
Collaborator
Collaborator

I need to set the display configuration to reflected as part of a lisp I'm working on. Is this possible?

the command is "AecDisplayManagerConfigsSelection" I can enter "R" at the command line and make it work, but it will not work in autolisp program. Any ideas?

0 Likes
1,092 Views
10 Replies
Replies (10)
Message 2 of 11

Moshe-A
Mentor
Mentor

@DC-MWA hi,

 

try this:

 

(Command "-AecDisplayConfigSetCurrent" "yourDisplayCfg")

 

moshe

 

0 Likes
Message 3 of 11

DC-MWA
Collaborator
Collaborator

Thats the first thing I tried.... No luck.

0 Likes
Message 4 of 11

DC-MWA
Collaborator
Collaborator

I have attached the lisp file with comments to what I'm trying to achieve within.

 

0 Likes
Message 5 of 11

Moshe-A
Mentor
Mentor

@DC-MWA

 

look again and this time more closely

 

(Command "-AecDisplayConfigSetCurrent" "yourDisplayCfg")

 

the command should be prefixed by '-' char

 

 

 

 

0 Likes
Message 6 of 11

DC-MWA
Collaborator
Collaborator

Tried it. Didn't work.

------------------------------------------------------------

Command: (command "-AecDisplayManagerConfigsSelection" "Reflected")
-AecDisplayManagerConfigsSelection Unknown command "-AECDISPLAYMANAGERCONFIGSSELECTION". Press F1 for help.

Command: Reflected Unknown command "REFLECTED". Press F1 for help.

Command: nil

-------------------------------------------------------------

If I enter just the command (command "AECDISPLAYMANAGERCONFIGSSELECTION"), it works but pops up menu for user to select from. I have attached an image showing result... If I do it from the command line, I can enter the first letter "R" and it selects reflected without clicking on menu. Can't do it from lisp. Tried filedia 0. Tried -xx.

???

 

0 Likes
Message 7 of 11

Moshe-A
Mentor
Mentor

then maybe this command is not on AutoCAD Vanila - do you have AutoCAD Architecture?

 

0 Likes
Message 8 of 11

DC-MWA
Collaborator
Collaborator
Yes
0 Likes
Message 9 of 11

DC-MWA
Collaborator
Collaborator

So is that it? Is it not possible?

0 Likes
Message 10 of 11

Moshe-A
Mentor
Mentor

sorry do not know i do not familiar with architecture

0 Likes
Message 11 of 11

cadffm
Consultant
Consultant

@DC-MWA  schrieb:

Thats the first thing I tried.... No luck.


Try it again, that should work 100%

(Command "_.-AecDisplayConfigSetCurrent" "STANDARD")

Sebastian

0 Likes