![ChangeColor](https://autodesk-exchange-apps-v-1-5-staging.s3.amazonaws.com/data/content/files/images/RJHSMFVU8TNX/appstore.exchange.autodesk.com:changecolor_windows32and64:en/resized_2f9435ce-41a1-4ddc-9762-4fd7aa72657d_.png?AWSAccessKeyId=AKIAWQAA5ADROJBNX5E4&Expires=1724649780&response-content-disposition=inline&response-content-type=image%2Fpng&Signature=aeA1FOvZE50ds2cV7A27bf6Bnh4%3D)
ChangeColor
Win32 и Win64, РусскийОбщие инструкции по использованию
How to use ChangeColor
The changecolor app will allow you to change the colors of all entities/objects in a drawing.
You can change a color from BYLAYER, BYBLOCK and vice versa.
It is also possible to change the colors of entities inside the blocks in the drawing.
You can use custom script or script routine to change the color of the entities.
Run the command ‘changecolor’ and it will display main dialog box.
To know more about Main dialog box please refer Main dialog-chapter.
If you want to use your own script, then add the following routines to your script.
(load "changecolor")
(changeallcolors "Oldcolor" "Newcolor")
Use the quotation-marks "" for the colors to avoid "bad argument type: stringp".
If you want to change color Blue (colornumber 5) to Cyan (colornumber 4) then make the following modification.
(load "changecolor")
(changeallcolors "5" "4")
The next example will change all colors that are BYLAYER to the color red.
(load "changecolor")
(changeallcolors "BYLAYER" "1")
If you don't want to change the colors inside the blocks in a drawing use the following routine.
(load "changecolor")
(setq cc-var-inside-block nil)
(changeallcolors "Oldcolor" "Newcolor")
Setting the variable cc-var-inside-block "AFTER" loading the change color will give you control over changing entities inside the blocks.
Команды
Значок ленты/панели инструментов | Команда | Описание команды |
---|---|---|
![]() |
ChangeColor |
The command ChangeColor will launch the ChangeColor dialog |
Установка/удаление
The installer that ran when you downloaded this app/plug-in from Autodesk App Store will start installing the app/plug-in. OR, simply double-click the downloaded installer to install the app/plugin. You may need to restart the Autodesk product to activate the app/plug-in. To uninstall this plug-in, exit the Autodesk product if you are currently running it, simply rerun the installer, and select the "Uninstall" button. OR, click Control Panel > Programs > Programs and Features (Windows 7/8/8.1/10) and uninstall as you would any other application from your system.
Дополнительная информация
You can use ChangeColor in a script file, so that you can change the colors of multiple drawings.
Use the following lines in your own script file:
(load "changecolor")
(changeallcolors "Oldcolor" "Newcolor")
Use quotation-marks "" for the colors or you will get "bad argument type: stringp".
"Oldcolor" is the existing color number.
"Newcolor" is the number that you want to change the color.
If you want to change color Blue (colornumber 5) to Cyan (colornumber 4) then make the following modification.
(load "changecolor")
(changeallcolors "5" "4")
Add these lines to a text file (be careful, do not add empty lines).
Save this text file for example as myscrip1.scr.
Please refer sample file myscript1.scr inside thee bundle.
In AutoCAD® type the command "script" and in the following dialog open myscript.scr
The blue colors in the drawing will change to cyan.
You can also use the menu option "Tools->Run" script to open and run myscript.scr.
The next example will change all colors that are BYLAYER to the color red.
(load "changecolor")
(changeallcolors "BYLAYER" "1")
If you don't want to change the colors inside the blocks in a drawing then set the variable cc-var-inside-block to nil. This will prevent the program from entering blocks inside the drawing. The default value of cc-var-inside-block is T for true.
For example:
(load "changecolor")
(setq cc-var-inside-block nil)
(changeallcolors "Oldcolor" "Newcolor")
Setting the variable cc-var-inside-block "AFTER" loading change color will give you control over changing entity's inside blocks.
See file myscript2.scr
Известные проблемы
None
Контактные данные
Информация о компании/авторе
Сведения о поддержке
If you have any queries, please email to paul@hap.nu.
Журнал версий
Номер версии | Описание версии |
---|---|
1.0.0 |
Added 2020 support |