Notifications
Clear all

[Closed] BerconExplorer progress thread

I decided to rewrite Bobos SpreadSheet Editor and add functionality from Scene Explorer.

This is just a teaser and lacks pretty much everything

I’m still working on the core operations such as managing columns, wiring values to scene etc.

I’d like to know how easy it would be to add custom dotnet classes for this project. I’m not very familiar with dotnet myself but I think writing custom controls such as cells with spinners and vertical text on column headers shouldn’t be too hard?

If somebody has implemented such simple custom control for DotNet I’d like to know how easy it was and what kind of stuff it requires.

2 Replies

I hit the first performance bump. Setting value of DataGridView cell is takes huge amount of time. DataGridViewCell.Value = “” takes 2.5ms to complete so having 100 objects with 10 displayed columns takes 2,5 seconds to update. This is pretty much unusable.

So this means I’ll be moving updating of cells (or columns) to C++ plugin. Thankfully it looks like somebody made at least one example how to get SDK + .NET thing to work. I’ll still keep nearly everything on maxscript side so its easily editable.

If you want to speed up these things you can write an intermediate assembly in VB.NET or C# that will do some time consumings or hard tasks. This can be interesting when performing only .NET access code.
Remember in this managed code you’ll be able to deal only with basic types, not MAXScript values but integers, booleans, float, string etc.