Jump to content

Recommended Posts

Posted

we always diemsnion is layer assgned for it. now sometimes we dimensio while wrking so that layer is not current & so dimensions apper in different layer & sometimes we forget to update its layer. when we realise later, we choose all the dimension using filter or qselect command & move them to their layer.

 

but is there a way to make it always switch to that layer auotmatically when ever dimension command starts?

Posted

Maybe you could create a dimension toolbutton that "sets" the layer (whatever it is called) prior to starting the command. I think that would be the most direct approach.

Posted

i have never learnde how to creat toolbutton. i keep reading aout it in threads that people have button for many things but never got around to learning to creat it. so that is going to be next thread i think.

Posted

Oops, that lisp routine isn't going to do you any good. I failed to see you are using LT when I posted it. Toolbuttons anyone?

Posted

you could create a toolpalette with dimesions, just drag a dimesion on to a new toolpalette and then under properties for the new button select the layer. This new command will change the layer automatically for dimensions and then switch back to the current layer when the command is finished

 

 

Is that available in LT ???

Posted

not to worry. i actually own acad 2009 alos now but have been very lazy to install it in my machine. surely will try to do that this sunday & than probably i will get busy with learing about lisps becuase never used them.

Posted
you could create a toolpalette with dimesions, just drag a dimesion on to a new toolpalette and then under properties for the new button select the layer. This new command will change the layer automatically for dimensions and then switch back to the current layer when the command is finished

thanks

I will try that idea tomorrow in office.

Posted

Gah - that's a FAQ we've thrown back and forth and fallen out over several times!

 

Still work in progress :(

Posted
you could create a toolpalette with dimesions, just drag a dimesion on to a new toolpalette and then under properties for the new button select the layer. This new command will change the layer automatically for dimensions and then switch back to the current layer when the command is finished

 

 

Is that available in LT ???

 

I'm using LT, and that's how I do it. I dim everything from a tool palette, it saves ever having to worry about having dims on the wrong layer.

Posted
Gah - that's a FAQ we've thrown back and forth and fallen out over several times!

 

Still work in progress :(

 

Strix,

Are you talking about how to create the tool button? If so, Can you give me the rough draft of whatever you have. I will test it out for you & if its good will learn something.

 

Thanks

Posted

I'll ask Tiger where it's up to, as we did cast another eye over it fairly recently, so it's more than likely fit to launch

 

I'll post the link here over the weekend so you can test it for us - thanks :)

 

I don't think it's one that cuts and pastes well as it links to other Qs - creating the button and applying the macro being separate Qs to keep the answers bite size

Posted

Sorry about the delay Dip:

How do I create a custom toolbar? [beta]

 

Open the Custom User Interface dialogue window by typing CUI on the command line, or go to Tools > Customise > Interface.

 

Go to the Customize tab, Customizations in All CUI Files section (top left hand corner panel), right mouse click Toolbars, select New > Toolbar.

 

The new toolbar is added to the end (bottom) of the Toolbars tree. It is selected and highlighted automatically. Before doing anything else, type the new name required for this new toolbar. For this exercise the new toolbar has been named testtest.

 

Other ways to name the new toolbar are:

 

· Right mouse click the new toolbar and select Rename, then enter the new name.

 

· Select the new toolbar and enter the name in the General > Name section of the Properties section of the CUI on the right hand side of the CUI dialogue window.

 

Go to the Command List section (bottom left hand corner panel), select the required command from the list, and drag it up to the new toolbar in the Toolbars tree.

 

The new toolbar has now been created and had a command button added to it. Dock the new toolbar where required. The new toolbar can also be recovered by right mouse clicking in a blank area of the AutoCad drawing menu area, selecting ACAD and picking the new toolbar name.

 

Further information can be obtained from Autocad Help, under Index > “creating” > “toolbars”.

 

AutoCAD Release 2008 has an animation for this procedure in the Help. Go to help Search tab, type in "Create a toolbar", then search. In the Select Topic, select "Create and Edit Toolbars". Then run the animation.

 

Refer to the following FAQs for further information on a related topics:

How do I create a toolbar button

What is a macro?

 

How do I create a toolbar button? [phi]

 

To quickly access a commonly used command, or sequence of commands (macro) it is easiest to create a toolbar button for the command. Custom toolbar buttons are created in the Custom User Interface editor.

 

Open the Custom User Interface editor. (CUI editor) by typing CUI on the command line, or select Tools > Customise > Interface.

 

Click the New button under Command List (bottom left section of the editor).(IMAGE)

 

Fill out these sections under Properties (on the right side of the editor):

 

General

 

Name - The name of the command.

 

Description - Description of the command which shows when the cursor hovers over the button.

 

Macro

 

Macro - The code required for the command to work. For a single command type it in the form ^C^C. For more complex macros refer to the FAQ What is a macro?

 

Images

 

Small image – It is highly recommened to create a custom icon for the custom toolbar button. To do this, in the CUI editor at the top right section, under Button Image, select a random icon and then click Edit. In the Button Editor, use the Clear-button to remove the old icon and then use the tools at the top of the window to draw a customized icon. When done, click Save As and save the new button icon with a suitable name, either to the recommended location or, which is recommended to a user defined location, for more information about user defined locations, please see the FAQ on Default Paths.

 

Large image - See Small Image.

 

When done, click Apply and the new command can be accessed from the Command List at the bottom left corner of the dialouge box.

 

To be able to use the new button, it needs to be placed on a toolbar. To create a custom toolbar, refer to this FAQ: How do I create a custom toolbar

(There are images to explain better too)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...