Ceee Posted November 5, 2013 Share Posted November 5, 2013 Hi, Can anybody tell me how to create and set Data/options in a solver derived from SIM_SingleSolver? Have tried pretty much everything I could think of at this point... I can create Data by doing: SIM_Data* myData = SIM_DATA_CREATE(object, "MyData", SIM_EmptyData, 0);[/CODE]but after that, I cannot find a way to get to the options (creating, setting or reading it).I am looking for the HDK equivalent of this functionality in a scriptSolver DOP (Python):[CODE]optionValue = 1subData = myDopObject.createSubData('MyData', 'SIM_EmptyData')subData.options().setField('myOption', optionValue)[/CODE]Your help is much appreciated!!! 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.