Notifications
Clear all

[Closed] Where does rollout button iconName: property get the icon from?

http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_63E016F3_250E_4C93_B213_2C1AB51710F7_htm

I’m trying to create an IconButton, and according to this page thats done with the iconName: Property on a button element.

iconName:@“PolyTools\TransformTools\PB_CW” doesnt seem to display any image, but iconName:@“PolyTools\Topology\Wall” works. However i’ve been unable to find where its getting the image from. A PC-wide search for a “Wall_24” file brought up nothing.

2 Replies

All the default icons are in the two UI_LN\IconsLight.rcc and UI_LN\IconsDark.rcc resource files, not separate files for each icon. There’s also a function to return them as a bitmap:

<bitMap>getIconAsBitmap <string>iconPath iconSize:<point2=[24,24]> enabled:<bool=true> on:<bool=false> applyUIScaling:<bool=true>

For the full list, see http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__developer_icon_guide_icon_guide_html

great, that icon guide is exactly what i was looking for. Many thanks!