Jump to content

Recommended Posts

Posted

First time/first time, please be patient with me.

 

 

We have 6 custom toolbars that are compiled of individual toolbars and I need to edit the text in some of the "sub-toolbars" for a universal edit. For example, within toolbar "System-D", I have 8 custom toolbars. I need to change the text in toolbar 6 (which is subsequently used on other custom toolbars). This is an electrical drawing where I am changing a part number of a relay and 2 terminals. The text for all of these in in the same layer.

 

 

AutoCAD help mentioned a means of maintaining cuix files externally, but I can't seem to find it and the person that created the cuix files is long gone.

 

 

Thanks,

Kristi

Posted

Are you trying to change the text that is displayed when you hover over a toolbar button?

Or something within the actual drawing, like a block?

Posted

Our custom buttons are set up to turn on layers for specific features as well as turn off layers that conflict with the selected layer. I am trying to change the text when the layer is turned on, but there is nothing displayed when you hover over the button.

Posted

Okay it sounds like your button is loading a lisp routine and calling one of the functions from it.

You will need to go into the CUI editor by pressing CUI into autocad

Find the toolbar via selecting the correct menu from the top left dropdown and expanding toolbars, locating the one with your button.

When you select it, it will show you (now in the right-hand pane of the CUI) where you can fill out all the information for that button, one of them should have something like:

(load "somelisp-routine.lsp");somecommand;

You will need to locate that file and edit it, there will be code within that starts with (prin and should have your text showing on the prompts within the (princ) line....that's where you'd edit it.

HTH!

Posted

This is why I always create partial menus you have more control over changing things. There is some cuix to mnu routines out I have tried a couple of them. Search for CUI to MNU by Don Grout

Posted

I knew there was a bit more, make a copy of your cuix and rename it a ZIP file then open it up all you cui files are now exposed, try Menugroup.cui and run CUI to MNU on this extracted file.

Posted

a program like "notepad++" should allow you perform a search and replace for text in multiple files including cui files.

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...