TheSwamp
Code Red => .NET => Topic started by: matinau on July 29, 2014, 10:45:55 PM
-
Does anyone know how to apply a clipping boundary to a PointCloud? The entity itself doesn't have any associated ClipBoundary method and my attempts applying the same logic used to clip BlockReferences does nothing?
I'm guessing pointclouds have their own particular extension dictionaries entries to store this information?
Any help would be great.
-
Put it in a block or xref. Then you can Xclip it.
It would be nice if Xclip had the possibility to control the depth.
However you can XClip in two different XYZ directions to get the area you need.
-
Thanks but that's not really what I after as the PointCloud may not live in a block. To clarify I need to perform the clip using .NET the block approach I referred has been extensively documented online... here's a good one
http://through-the-interface.typepad.com/through_the_interface/2010/11/adding-a-2d-spatial-filter-to-perform-a-simple-xclip-on-an-external-reference-in-autocad-using-net.html
Unfortunately the same cannot be said for PointClouds.
-
2013 and 2014 had the POINTCLOUDCLIP command, but has been removed....
-
For all those interested...
"In order to create a Point Cloud clipping region you must use the C++ ObjectARX API as there is no equivalent .NET API. This is mainly due to performance reasons."
Mr. Fenton Webb
http://adndevblog.typepad.com/autocad/2013/03/creating-a-point-cloud-spatial-filterclipping-box-using-objectarx.html