Notifications
Clear all
[Closed] Where does rollout button iconName: property get the icon from?
Jul 26, 2018 10:15 am
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
Jul 26, 2018 10:15 am
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
Jul 26, 2018 10:15 am
great, that icon guide is exactly what i was looking for. Many thanks!