Base Color Window
![laurenceyashas](https://secure.gravatar.com/avatar/09ac18d1ac34e7639d79db0e4f7a3e1b?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2F09ac18d1ac34e7639d79db0e4f7a3e1b_100.png)
Is there a way to get the select color window to pop up with a script?
![](https://hpclscruffy.daz3d.com/forums/uploads/thumbnails/FileUpload/f7/7ff0b0e92d4d6cadb088284b00ab35.png)
![](https://hpclscruffy.daz3d.com/forums/uploads/thumbnails/FileUpload/f7/7ff0b0e92d4d6cadb088284b00ab35.png)
zpic1.png
496 x 365 - 31K
![](https://hpclscruffy.daz3d.com/forums/uploads/FileUpload/d5/b249b035417372f3e0511a6b534877.png)
![](https://hpclscruffy.daz3d.com/forums/uploads/FileUpload/d5/b249b035417372f3e0511a6b534877.png)
zpic2.png
197 x 38 - 7K
Is there a way to get the select color window to pop up with a script?
Comments
You can use DzColorDialog http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/colordialog_dz - there's a global ColorDialog() you can use - that will return a colour, but then you would have to assign it to the desired property.
Thanks Richard! Is there a way that assign ColorDialog to the base color?
Yes, I missed that - Rob supplied the correct version
var clrUser = ColorDialog.getColor( Color( 0, 0, 255 ) );