Good afternoon,
I am new to Autocad development. I am trying to follow the tutorial (https://adndevblog.typepad.com/autocad/2017/02/how-to-crop-a-point-cloud-using-api.html), I dont think I fully understand how to setup the Plane for cropping. Given I have created a 3d solid in the point cloud, how can I calculate the plane? Everytime I execute the code, my entire pointcloud gets cropped. I tried using (with loads more variations):
Vector3d norm = new Vector3d(0, 1, 0);
Vector3d norm = new Vector3d(0, 90, 0);
Vector3d norm = new Vector3d(0, 0, -90);
and then using the 1st point of the solid3d, but always get the same result.
Plane cropPlane = new Plane(pt1, norm);
Any help will be appreciated.
Thank you.