Regarding this topic:
Sorry to reviving this topic, but it seems to still be an actual problem.
I would like to bring several issues regarding command scripting with
There is no way to disable redraw when using command scripting, this dramatically slows down the solution.
Especially regarding import STEP. There should be a way to manipulate how the surfaces are joined. Currently the only option is surfaces above a certain number of faces to not be joined. Well it actually makes sense surfaces which do not compose a closed solid to be skipped. Alternatively if possible an additional criteria like: surfaces below a certain number of faces to be skipped as well. Say you have a box you want it to be joined only if there are exactly 6 faces with the same properties (name color or some other attribute)
Again regarding STEP. There could be done inside this method an option to convert block-structure into layer-structure. I use two scripts for this operation. When you disable redraw it is as fast as 0.05 secs for really big models with 100+ nested blocks.