Thank you both for your comments.
I tried salvo’s script and it was successful! Thank you.
I also found the simple way to solve this problem based on the Jacob’s comment.
I extracted minimum and maximum point from the point list and created bounding box which can be converted into the Cube.
Anyway, thank you for helping me!
Helllo Everyone,
I want to create a cuboid by 8 points and accepted answer in this post isn’t helping.
If I use Element.BoundingBox then the output I need is not correct. But I am able to get 8 corner points from a scope box and I just want a cuboid from these 8 points.
please check the snap for better understanding.