The dragging part can be a little incosistent as you say.
If you drag slowly it hardly ever works.
Try to drag between windows a little quicker and it should.
You know it will work if you see an arrow cursor with a small rectangle under it in the script window.
If you don't see the rectangle just hang on to what you are dragging and try to drag it across again.
If you drag a 3D element from the floor plan to the 3D script you will get the 3D prism.
If you drag the same 3D element into the 2D script you will get a 2D poly.
If you look closely at the scripts the PRISM and the POLY are very similar and use the same co-ordinates but with different masks at the end of each line.
The first two lines of the PRISM and POLY statements are different of course as they are different commands.
When you know what you are doing you can pretty much script your object in 3D and then copy that to the 2D script and alter it slightly and it will all work.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11