19-12-2019, 09:18 PM
I was using OBI Solver and after I updated to the latest version I cannot set a solver programatically. Even the sample script that was doing this was commented out.
This was the code in the sample script:
Now I get the error:
I hope you can tell me how to do this now.
Thank you.
This was the code in the sample script:
Code:
// set up component references (see ObiRopeHelper.cs)
rope.Solver = solver;
Now I get the error:
Code:
error CS1061: 'ObiRope' does not contain a definition for 'Solver' and no accessible extension method 'Solver' accepting a first argument of type 'ObiRope' could be found (are you missing a using directive or an assembly reference?)
I hope you can tell me how to do this now.
Thank you.