is there a way to change the icon associated with a custom Palette?
is there a way to change the icon associated with a custom Palette?
(OP)
NX6.0.1.5 MP2
The ability to assign a directory as a custom Palette is very useful. (Preferences > Palettes > Open Directory as Palette) If you do this to multiple directories, though, it starts to get difficult to figure out which directory Palette is which.
Is there a way to assign a custom icon to these user-defined Palettes?
The ability to assign a directory as a custom Palette is very useful. (Preferences > Palettes > Open Directory as Palette) If you do this to multiple directories, though, it starts to get difficult to figure out which directory Palette is which.
Is there a way to assign a custom icon to these user-defined Palettes?





RE: is there a way to change the icon associated with a custom Palette?
in the *pax file you can handle different the previews and Icons...
RE: is there a way to change the icon associated with a custom Palette?
Those pax files are editable in a text editor and call up a bitmap for the icon. You can just edit it to use a different bitmap. Place the bitmap in the same directory as the .pax file and it works for me
Best Regards
Hudson
www.jamb.com.au
Nil Desperandum illegitimi non carborundum
RE: is there a way to change the icon associated with a custom Palette?
Thanks.
RE: is there a way to change the icon associated with a custom Palette?
Best Regards
Hudson
www.jamb.com.au
Nil Desperandum illegitimi non carborundum
RE: is there a way to change the icon associated with a custom Palette?
RE: is there a way to change the icon associated with a custom Palette?
If you create a palette based on a directory then what you need to do is to open that new palette that you created in the resource bar and right click in the white space and then you can "Save as" in order that you are able to edit it in a text editor.
It does tend to be differently formatted than the palettes you find in the installation directories, but you can easily edit such a thing to change the formatting, and of course change the bitmap.
To edit the bitmap it is one of the first few statements
what comes from a directory created .pax file is something like....
<Presentation name="E:\UG\NX-5\Formats\" bitmap="filenew" application="All"/>
....So just change the end so that it reads....
<Presentation name="Drawing Templates (Metric)" bitmap="drawing_new.bmp"/>
.... putting a bitmap file called drawing_new.bmp in the same directory as the .pax file works for me.
What you will wind up doing as result is deleting the directory based palette and replacing it with the hand edited version. As a side effect of that it will only refresh according to the contents of the .pax file rather than the directory itself.
Mind you directories as a means to creating templates for drawings still need some editing where if you change the statement....
<ObjectData class="Template">
to
<ObjectData class="DrawingTemplate">
....then it works.
Best Regards
Hudson
www.jamb.com.au
Nil Desperandum illegitimi non carborundum