MultipolylineVisual3D and LineSelectorData
#1
Hi,

I am trying to use the LineSelectorData with a MultiPolylineVisual3D.  I have mainly copied the example in the powertoys examples (as suggested in a previous thread).  When I call the method GetClosestDistance I get an exception thrown:

"Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"

The LineVisual3D property is definitely not null and is a MultiPolylineVisual3D which contains data which in this case is 1 list of points as I'm considering a simple case initially.

If i swap to a PolyLineVisual3D using the first list of points from the MultiPolylineVisual3D, its works.

Any ideas why?
  


Messages In This Thread
MultipolylineVisual3D and LineSelectorData - by tim.rutter - 01-08-2018, 01:29 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)