Dan_K
08-24-2010, 01:22 AM
Hi,
When I try to add a new object to a group:
import rhinoscriptsyntax as rs
groupName = "group1"
cent = 0,0,0
rs.AddGroup(groupName)
sphereId = rs.AddSphere(cent,1)
rs.AddObjectToGroup(sphereId, groupName)
I get an error message:
Message: Find() takes exactly 2 arguments (1 given)
Traceback (most recent call last):
line 58, in AddObjectToGroup, "C:\Documents and Settings\Compaq_Administrator\Application Data\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\group.py"
line 7, in <module>, "C:\Documents and Settings\Compaq_Administrator\Local Settings\Temp\TempScript.py"
Is it a bug? or what am I doing wrong?
Dan
When I try to add a new object to a group:
import rhinoscriptsyntax as rs
groupName = "group1"
cent = 0,0,0
rs.AddGroup(groupName)
sphereId = rs.AddSphere(cent,1)
rs.AddObjectToGroup(sphereId, groupName)
I get an error message:
Message: Find() takes exactly 2 arguments (1 given)
Traceback (most recent call last):
line 58, in AddObjectToGroup, "C:\Documents and Settings\Compaq_Administrator\Application Data\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\group.py"
line 7, in <module>, "C:\Documents and Settings\Compaq_Administrator\Local Settings\Temp\TempScript.py"
Is it a bug? or what am I doing wrong?
Dan