bareja Posted March 17, 2011 Share Posted March 17, 2011 (edited) Hi, I have a question about script solver, because it gives me strange results When I load an example SumImpact from help and replace script by: example from help set lastobject=`dopsolvenumobjects() - 1` for i = 0 to $lastobject echo `dopsolveobject($i)` end it always gives me -1 on output, but why ? I found in help about dopsolveobject: Calling this function will return -1 if it is called when a script solver is not currently solving for objects. so how to force ScriptSolver to solve ? please help, Edited March 17, 2011 by bareja Quote Link to comment Share on other sites More sharing options...
bareja Posted March 18, 2011 Author Share Posted March 18, 2011 (edited) Hmm it's really strange, I checked it on linux and windows, Can someone check the scene for me ? Why it doesn't work ? Output from Script Solver: Number Of Objects: 0 hscript_solver_test.hip Edited March 18, 2011 by bareja Quote Link to comment Share on other sites More sharing options...
bareja Posted March 18, 2011 Author Share Posted March 18, 2011 (edited) I checked every expression dopsolve* and: dopsolvedopnet returns "", dopsolvenumnewobjects returns 0, dosolvenumobjects returns 0, dopsolvetimestep returns 0, it's really weird, any suggestions... ? Edit: When I load SumImpacts example I have error on scriptsolver1: Coudn't find data SumImpacts, When i create EmpytData with name SumIpacts it also doesn't work... please help Edited March 18, 2011 by bareja Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.