I tested the "allow_drag=0", but no effect. It still can drag select multiple prims.
viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer) viewer.selectGeometry(allow_drag=0,use_existing_selection=0)
How to select a single one primitive in viewer by python?
Thanks!