|
I am tring to make a custom tool using tool context. I want to be able to pick a specific point along the length of the curve. I thought that the appropriate subcomponant filter would be siIsopointFilter but the CRefArray that is returned is empty and I would have thought that for a isopoint a value value would be returned.
this is the code used for the pick session.
CRefArray objects;
in_ctxt.Pick( l_points, siPickSingleObject, siPickRaycast, L"", CRefArray(), objects );
if ( objects.GetCount() > 0 )
{
CRefArray components;
in_ctxt.Pick( l_points, siPickSingleSubComponent, siPickRaycast, siUKnotCurveFilter, objects, components );
}
simon
|
|
|