<div dir='auto'><div dir="auto">Actually there is no picker.GetActors() method, so assembly.GetParts() is what you need. Assemblies can be nested in assemblies, so you need to search for actors recursively.</div><div><br><div class="elided-text">On 24 Feb 2018 6:16 p.m., Koteswara Rao Ruvva via vtkusers <vtkusers@vtk.org> wrote:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'times new roman' , 'new york' , 'times' , serif;font-size:16px"><div></div>
            <div>Todd, GetActor() returns None, but GetAssembly() returns the picked assembly. Looks like I am missing something. Thank you.</div><div><br></div><div><br></div>
            
            <div>
                <div style="font-family:'helvetica neue' , 'helvetica' , 'arial' , sans-serif;font-size:13px;color:#26282a">
                    
                    <div>
                        On Friday, February 23, 2018, 12:55:44 AM PST, Todd via vtkusers <vtkusers@vtk.org> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div><div><div><div>Hi Rao</div><div><br clear="none"></div><div>vtkPropPicker inherits from vtkAbstractPropPicker, so, following your own code example, you can just use picker.GetActor()<div><br clear="none"></div><div>It's documented here</div><div>https://www.vtk.org/doc/nightly/html/classvtkPropPicker.html<br clear="none"></div><br clear="none"><div><div><br clear="none"><div>On 23 Feb 2018 8:49 p.m., Koteswara Rao Ruvva via vtkusers <vtkusers@vtk.org> wrote:<br clear="none"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'times new roman' , 'new york' , 'times' , serif;font-size:16px"><div></div>
            <div>Thank you for responding, Todd.</div><div><br clear="none"></div><div>First of all, I cannot instantiate vtkAbstractPropPicker, as it is abstract type. I appreciate if you can send me some sudo code. BTW, I moved from vtk7.1.1 to 8.1.0.</div><div><br clear="none"></div><div>Thank you</div><div>Rao</div><div><span style="font-family:'helvetica neue' , 'helvetica' , 'arial' , sans-serif"><br clear="none"></span></div>
            
            <div>
                <div style="font-family:'helvetica neue' , 'helvetica' , 'arial' , sans-serif;font-size:13px;color:#26282a">
                    
                    <div>
                        On Wednesday, February 21, 2018, 11:25:07 PM PST, Todd via vtkusers <vtkusers@vtk.org> wrote:
                    </div>
                    <div><br clear="none"></div>
                    <div><br clear="none"></div>
                    <div><div><div><div><div>vtkAbstractPropPicker.GetActor() in vtk 8<br clear="none"><div><div><br clear="none"><div>On 22 Feb 2018 7:02 p.m., Koteswara Rao Ruvva via vtkusers <vtkusers@vtk.org> wrote:<br clear="none"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'times new roman' , 'new york' , 'times' , serif;font-size:16px"><div>Hello all,</div><div><br clear="none"></div><div>I have two vtkPropAssemblies in the Renderer, each with couple of vtkActors. How do I pick an actor using mouse? I need to find the actor and the location on the actor. I tried the following code, but I am getting an assembly instead of the actor.</div><div><br clear="none"></div><div>picker = vtk.vtkPropPicker()</div><div>if picker.Pick(mouseX, mouseY, 0,  <span style="color:rgb( 0 , 0 , 0 );font-family:'times new roman' , 'new york' , 'times' , serif;font-size:16px">renderer):</span></div><div>        prop =  picker.GetPath().GetFirstNode().GetViewProp()<br clear="none"></div><div><div>        print(prop)     </div><div><br clear="none"></div><div>Please advise.</div><div><br clear="none"></div><div>Thank you</div><div>Rao</div><br clear="none"></div></div></div></blockquote></div><br clear="none"></div></div></div></div></div></div><div>_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="https://vtk.org/mailman/listinfo/vtkusers">https://vtk.org/mailman/listinfo/vtkusers</a><br clear="none"></div></div>
                </div>
            </div></div></div></blockquote></div><br clear="none"></div></div></div></div></div></div><div>_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="https://vtk.org/mailman/listinfo/vtkusers">https://vtk.org/mailman/listinfo/vtkusers</a><br clear="none"></div></div>
                </div>
            </div></div></div></blockquote></div><br></div></div>