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

Can't Get Rid of Ribbon in Workspace

21 REPLIES 21
SOLVED
Reply
Message 1 of 22
oceanside
5539 Views, 21 Replies

Can't Get Rid of Ribbon in Workspace

There seems to be always one.......I have someone that likes the "Map Classic Workspace".  I loaded as "Planning & Analysis" when I installed.  I got the Map Classic Workspace to open when they start Map 2012 by adding /w "Map Classic Workspace" to the target but it loads with the Ribbon.  I went to CUI and Customoize the Workspace under Palettes..Ribbon to "No Show" but it is still showing when I close Map and go back in.  Where else do I need to make a change?  Why did they make something so easy so difficult?  Worked fine in past verisons....why mess with a good thing?

the best is at the beach!
21 REPLIES 21
Message 2 of 22
nwray
in reply to: oceanside

What version are you using?  This is apparently a known bug for Map 2012.  Take a look at this thread:

 

http://forums.autodesk.com/t5/AutoCAD-Map-3D/Workspace/td-p/3073092

 

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 3 of 22
oceanside
in reply to: oceanside

2012...Yes, I had previously seem that discussion but that was written in June so I was hoping a solution had been found.  Evidently not because everything I've tried does not work.  All I want is to get the Ribbon off the Map Classic Workspace.

the best is at the beach!
Message 4 of 22
nwray
in reply to: oceanside

I have created a work around that functions on my machine, so you could give it a try.  No promises though, since I'm still on Map 2010.  

 

The basic idea is that you can have a script file that executes automatically at startup.  Using a text editor like notepad, create a file with the following lines:

 

; Turn ribbon off
ribbonclose

; Blank line above to end the command

 

Then save the file with a .scr (autoCAD script file) extension.  You need to save the file wherever the default location is for autoCAD script files on your system.  I foud out the default on mine by clicking on "tools" then "run script" and seeing what folder it went to automatically.  For me, it's "My Documents", so that's where I saved the file.  Basically, the script will run one command (RIBBONCLOSE) when it is executed.  

 

To make the script run automatically every time you start CAD, you need to add a command line switch to the shortcut icon that you use to launch CAD.  If you right click on your CAD icon on the desktop and select "properties", you should see a space called "target".  This is where you add the command line switches.  The basic file path to start cad should be there allready, and you need to leave it there.  It will allways be something like "C:\Program Files\AutoCAD Map 3D 2010\acad.exe"  After this, input the command line switch "/b"  This switch runs a specified script at startup.  I call the script above "ribbonoff.scr", so the full contents of my "target" on the CAD shortcut are:

 

"C:\Program Files\AutoCAD Map 3D 2010\acad.exe" /b "ribbonoff"

 

All of the quotes shown in the line above are necessary.  All this line does is to launch cad and run the specified script (ribbonoff.scr) when it starts.  

 

On my system, I created a new workspace where the ribbon is set to be on.  I opened and closed it several times to make sure that it allways came up.  I then created and saved the ribbonoff.scr file and added the switch to the shortcut icon on my desktop.  Now, it still opens to the new workspace bu the ribbon is off.

 

Hope that works for you.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 5 of 22
oceanside
in reply to: oceanside

Will this close the ribbon just for the Map Classic workspace or for all workspaces?

the best is at the beach!
Message 6 of 22
nwray
in reply to: oceanside

Just checked on my version, and the RIBBONCLOSE command works on all my workspaces (my custom, map classic, task based ribbon, and tool based ribbon).  I think that it's a standard command.  You can test it out from any workspace - just type in RIBBONCLOSE and hit enter (or the spacebar) and see if the ribbon closes.  If it works, then making the script file and adding the startup switch should automatically shut off the ribbon every time you start up CAD.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 7 of 22
phil_borycens
in reply to: oceanside

Hi all,

This issue was resolved with the release Service Pack 1. Here is the link:

 

AutoCAD Map 3D 2012 Service Pack 1

http://usa.autodesk.com/getdoc/id=DL18021295

Be sure to have a look at the readme before applying this SP.

 

And remember these two commands whenever you want to disable/enable the ribbon for any reason, in any workspace:

RIBBONCLOSE - disables the ribbon

RIBBON - enables the ribbon

 

Thanks!

Phil


Phil Borycens
Message 8 of 22
phmurphy
in reply to: oceanside

I have installed Map 2012 and the SP1 but still can't get rid of the ribbon when I open a new file or an old one.

 

I have closed the ribbon and saved the settings to the Planning... Layout.  Apparently this is a problem too since I really want a Map Classic layout, but for some reason no matter what I do I still end up with the Planning...Layout.  I just created a Map Classic layout and saved it to the Planning... Layout.

 

How do i get the ribbon to NOT appear when I open old or new files?

 

thanks,

pat

Message 9 of 22
phil_borycens
in reply to: phmurphy

Hi Pat,

 

Sorry that you're having this trouble. Sounds like the solution for you (as referenced in an above post by nwray) is to create a startup switch for your desired workspace. More on that here:

 

Map 2012: Default Workspaces

http://gisexchange.typepad.com/blog/2011/05/map-2012-default-workspaces.html


Phil Borycens
Message 10 of 22
phmurphy
in reply to: phil_borycens

Thanks,

But that link only describes how to change the workspace.  I still have to close the ribbon every time I open MAP.  Is there a switch that will close the ribbon?

 

Pat

Message 11 of 22
phil_borycens
in reply to: phmurphy

Hi Pat,

 

If you create a switch for the Map Classic workspace, you shall remain ribbonless.

 

Please let me know if for some reason you experience different results.

 

Thanks!


Phil Borycens
Message 12 of 22
phmurphy
in reply to: phil_borycens

I just tried it and it opened with the Map Classic workspace but still with the ribbon.

Message 13 of 22
phmurphy
in reply to: phmurphy

Screen shot attached

Message 14 of 22
nwray
in reply to: phmurphy

Hi Pat,

 

In your startup switch, do you have a switch to load the ribbonoff script?  I've attached the script here, you just need to save it in the default script file location, change the extension from "txt" to "scr", and add a startup switch to run it.  I posted instructions for the switch earlier on this thread.  If the command line "ribbonclose" command works on your system, then the script should as well.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 15 of 22
phmurphy
in reply to: nwray

Thanks,

Getting closer, but still a problem.

 

Here is the target I am using.

/w "Map Classic Workspace" /b "ribbonoff".  It works, but only once, then it fails. 

 

For example if I open Map after turning the computer on, it opens with the correct workspace and the ribbon turned off.  If I close MAP and open it again, the ribbon is back on.

 

If I tag the shortcut to a preexisting Map file with the /w "Map Classic Workspace" /b "ribbonoff", it doesn't work unless it is the first thing I open.

 

I probably missed something in your instructions, or possible there is something else ging on with the script file, such as it only gets to run at the first opening of MAP.  I see that the Tools>Run Script has different folder targets depending on what file I am opening, and it ends up being the same folder as the dwg.  Can the scr target folder be fixed somehow.  I don't see a way to set it in the Tools>Options>Files.

Message 16 of 22
nwray
in reply to: phmurphy

Hi Pat,

 

I've run across the same problem trying to find out if there is a default location for script files.  I can't seem to confirm one through the user documentation; maybe Phil from product support can help with that?  I did run across an article about ACAD 2005 written by Lynn Allen (http://www.cadalyst.com/cad/autocad/startup-switches-take-tedium-out-starting-up-2917) where she suggest that script files be saved "somewhere along the support path."  On my computer, the support path is "C:\Program Files\AutoCAD Map 3D 2010\Support" maybe you can try saving the script file under the support folder and see if it fixes the problem.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 17 of 22
nwray
in reply to: phmurphy

Hi again,

 

I looked into this a bit more and found something that should work.  Under Tools>Options, select the Files tab and maximize the "support file search path."  This should show you a listing of all file paths that Map is looking at to get any support files.  You should be able to copy the script file into any of these folders and have it work.

 

Alternately, if your IT people are as paranoid as mine and you don't have write privileges to the "program files" directory, you have the option to add a new support file path (see the image I attached).  When you click on add, it will start a new entry and you just type in the file path.  For my test, I created a new folder here "C:\Script Files", then I removed the ribbonoff script from "my documents" and put it in the new folder.  Now, when I open CAD it recognizes the new folder and finds the script file with no problems.  I think this should work for you.

 

I think that there will still be problems if you try to open a drawing from the file without launching CAD first.  When I right click on any of my actual DWG's, they are set to be opened by the "AutoCAD DWG Launcher."  This "launcher" does not run through all of the command switches that you set in your desktop shortcut, so it will not load to any specific workspace or using any script files.  Instead, it will open in whatever the last view that you saved it it was (ie: if the ribbon was on when you saved, then it will still be on when you open it).

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 18 of 22
Gary_Braun
in reply to: phmurphy

This sounds all too familiar to me. I got several users with 2012_SP1 installed who prefer to use the old time tool bars rather than the ribbons, so we have created ribbonless workspaces for them and added the /w switch to the start-up, but even though they get their workspace loaded correctly, they still get a ribbon appear at the top of it all. It's very frustrating. SP1 simply didn't fix this correctly.

Message 19 of 22
phmurphy
in reply to: Gary_Braun

Did you try the additional - /w "Map Classic Workspace" /b "ribbonoff" along with the script file described above?   For me it works, but only once, then it fails.

Message 20 of 22
fieldguy
in reply to: phmurphy

I am using this post as this issue is not resolved in Map 3D 2013 32 bit in Win 7 Pro 32 bit.  I am using the ribbonoff script as described previously.  There also seems to be an issue with TILEMODE.  I use an acaddoc.lsp file and today I added (command "TILEMODE" 1) and that is also ignored, or over written after acaddoc executes.

 

Attached is my text window history when acad starts. My desktop shortcut has /w "Left", /p "Left" and /b "ribbonoff".  I have both a profile and a workspace called "Left".  As a test I added (command "_SCRIPT" "ribbonoff") to my acaddoc file.  It works but after acad is loaded and ready to open a file, the ribbon is on and I am in layout 1 of drawing 1.

 

The Product Version is G.114.0.0 HF1.  I have downloaded SP1 32 bit but when I run it I get the error as attached.

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

Post to forums  

Autodesk Design & Make Report

”Boost