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

Layouts in the tool palette or in a ribbon

30 REPLIES 30
Reply
Message 1 of 31
janu319
2843 Views, 30 Replies

Layouts in the tool palette or in a ribbon

HI, 

 

I have created one drawing with 10 Layouts in different formats(A1,A0...etc) and with different Legends on it. I need to give these layouts to lot of users, where everyone uses one layout out of 10 in their drawing. Is there any way to add them in tool palette like dynamic blocks? or is it possible to add thme as a ribbon in the dwg template? 

 

Thanks,

Jnanesh

 

30 REPLIES 30
Message 2 of 31
pendean
in reply to: janu319

ADCENTER command is designed to do so. It even has a TEMPLATE option to access your template folder (presumably where you are placing these layouts).
Or they can right-click over any tab and access your file/layouts that way.
Or LAYOUT command's Template option.
Or PSETUPIN command if you also took the time to create pagesetups of the Layouts you created in your template file (recommended, since you can import and use these in PUBLISH command).

Layout tabs otherwise do not come in as blocks or inside blocks, they are ignored: that's why INSERT command and TPs are not an option.
Message 3 of 31
Charles_Shade
in reply to: janu319

Welcome to the Autodesk Forums!

 

If the Layout Template Drawing is open in the Users Workspace and a second Template (Boilerplate info) is open; Adcenter can be used to add a specific Layout to the second Drawing. Right click and choose Add Layout from the first Template under the Open Drawings tab in Adcenter while the second Drawing is active int he Workspace.

This will require that each of these Users has access to the Layout Template

 

I'm sure there are other and easier ways to do what you ask.

Message 4 of 31
janu319
in reply to: janu319

A macro did everything for me, I have all my layouts in one tool palette. 

Message 5 of 31
Zgoodz
in reply to: janu319

I have never used macros, how did you go about do this?

 

Thanks Zack 

Message 6 of 31
Emmsleys
in reply to: janu319

Thanks for posting what worked!

 

If you have the time and are able to share your macro within the community that would be great. 

 

Thanks.  

 

@Zgoodz, You can look to the links below for help on creating macros. There are a good amount of threads that also share macros for similar functions within AutoCAD/LT. 

 

A Handy button macro for creating a viewport in a layout

Create Your Own AutoCAD Commands (Circles and Lines AutoCAD Tutorial) 

 

Hope this helps.



Sarah Emmsley
Technical Support Specialist

Message 7 of 31
M.J.Hop
in reply to: janu319

Hi @janu319

Do you still have the Macro to add some layouts to a tool palette. Your answer will help me a lot!

Message 8 of 31
cadffm
in reply to: janu319

The command for Layouts is: LAYOUT

the option for a template layout is TEMPLATE

 

Layout (Command) - [F1]

 

Sample: File D:\abc.dwg Layoutname MyLayout

^C^C^C_.LAYOUT;_template;"D:/abc.dwg";MyLayout

- Sebastian -
Message 9 of 31
c.vermeerYRVRV
in reply to: janu319

Hello Janu319,

 

This is exactly what im looking for.

Can you explain to me how you did this?

I cant seem to find anywhere on how to do this.

Message 10 of 31
cadffm
in reply to: c.vermeerYRVRV

Hi @c.vermeerYRVRV 

 

 

post #5 and #7 are the same question as yours, so why not reading the whole thread and test + thank and respond to Post#8 ?

I think you know how to create a command toolpalette tool?

If not, read "Add a command tool" from the 'Did you tried..' articles first.

 

 

- Sebastian -
Message 11 of 31
c.vermeerYRVRV
in reply to: cadffm

Hello CADffm,

 

I did read the whole thread

Im not sure if you know what im trying to do.

I want saved layouts in my toolpalette (like A3x4 or A2x3) and when i click on them that it opens that saved layout.

If you do know what i mean, can you maybe show me exactly on how to do it? 

Cause i can't figure out how the command tool is connected with the saved layout.

 

Sorry for the english.

Message 12 of 31
cadffm
in reply to: c.vermeerYRVRV


@c.vermeerYRVRV  schrieb:

Hello CADffm,

Im not sure if you know what im trying to do.

But i am, or you posted in a wrong thread with the wrong question 😉 

 

I want saved layouts in my toolpalette (like A3x4 or A2x3)

You can not save layout in your toolpalette, but you can set up toolpalette tools to insert a layout from another file

so it acts like you want.. One click and the layout is in your current file.

 

and when i click on them that it opens that saved layout.

Opens?? You mean IMPORT to the current file, or not?

 

If you do know what i mean, can you maybe show me exactly on how to do it? 

I did it, 14-01-2022 in Post#8, as I said.

And If you don't know how to create a command tool inyour tollpalette, that#s also answered in my last post.

 

Cause i can't figure out how the command tool is connected with the saved layout.

Look in your help and try it in AutoCAD by Hand. The command is _LAYOUT, the option is _template

and I posted a full working sample of the whole syntax.

Edit File path, name and layout name for your needs, thats all.


 

- Sebastian -
Message 13 of 31
cneely
in reply to: cadffm

I'm using this but I run into an issue that the dialog box to select a layout pops up. It wont just insert the layout I name in the macro. Any ideas?

AEC Collection 2022
WIN 10 PRO
Dell 3650, Intel i9-11900k @ 3.50GHz, 64 GB
NVIDIA QUADRO RTX 4000
http://www.cobbfendley.com
Message 14 of 31
pendean
in reply to: cneely

@Cneely Are you trying to import a layout from a template file? Or something else?
Are you using the LT version of AutoCAD (the topic of this forum) or something else?
Message 15 of 31
cadffm
in reply to: cneely

 


@cneely  schrieb:

I'm using this but I run into an issue that the dialog box to select


So, you don't use THAT Macro, otherwise it would work.

Note: We can not see your monitor, share your macro and the layout template file,

this way we can take a look where the mistake is.

 

- Sebastian -
Message 16 of 31
cneely
in reply to: cadffm

EDIT: I just noticed I left out the "." in the command. It's working just like it should now!

 

Below is what I am using in the command field 

^C^C^_layout _template;"F:/Users/CNeely/CADFILES/TemplateEdits/CF-Layouts.dwg";01 COVER

This brings up the layouts available in that dwg instead of just inserting the one named in the command.

I am using Civil 3D 2022, just in case that is an issue. 

AEC Collection 2022
WIN 10 PRO
Dell 3650, Intel i9-11900k @ 3.50GHz, 64 GB
NVIDIA QUADRO RTX 4000
http://www.cobbfendley.com
Message 17 of 31
cadffm
in reply to: cneely

In this second I am not in Front of AutoCAD or Civil, but I miss one char in your macro, try it - perhaps this is the issue

 

It should start with..

^C^C_layout;_template;

or

^C^C^C_layout;_template;

- Sebastian -
Message 18 of 31
cadffm
in reply to: cneely

>>"EDIT: I just noticed I left out the "." in the command. It's working just like it should now!"

Perfect!

 

Edit the begin also!

^C^C^C_.layout;_template;"F:/Users/CNeely/CADFILES/TemplateEdits/CF-Layouts.dwg";01 COVER

 

Now it is really nice.

- Sebastian -
Message 19 of 31
cneely
in reply to: cadffm

My next challenge is some layouts have pdfs inserted. The pdf isn’t coming in, but any dwg xrefs are. Any thought on how to get the pdf to come along?

AEC Collection 2022
WIN 10 PRO
Dell 3650, Intel i9-11900k @ 3.50GHz, 64 GB
NVIDIA QUADRO RTX 4000
http://www.cobbfendley.com
Message 20 of 31
cadffm
in reply to: cneely

AutoCAD & Co doesn't support that, I don't know why - for me it is a (known) Bug.

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/PDF-un...

 

- Sebastian -

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

Post to forums  

Autodesk Design & Make Report

”Boost