Script for display SEEG contacts as sphere

Hi Francois,
first, thank you to all the team for brainstorm which is a wonderful and powerful tool.

I have a question concerning the scripts:
How can I display the SEEG contacs as a sphere only by coding
I tried with figure_3d('ViewSensors', hFig, isMarkers, isLabels, isMesh=1, Modality=[]),
I succeded to have the sphere but not the colors from my data.

In my code I use
view_topography(Data,'SEEG', '3DElectrodes-Cortex');
And I would like to have a figure like when I click on iEEG menu -> display contacts as spheres.
I have 300 figures to generate that's why I am using the script.

Thank you in advance!

Indeed, there is no command-line option of view_topography that would let you do this.
After creating the figure, you can call:
panel_ieeg('SetDisplayMode', 'sphere')

Thank you for this quick reply!
It works, thank you so much!