wiki:sns:snsscript:simulation_value_querying
Simulation Value Querying
doubleValue = objSnSScript.QuerySolutionMin(GUID, Component)
For the given component, returns the minimum value. Equivalent to marking the minimum of the solution on the View tab.
Parameter | Description |
---|---|
String GUID | Rhino ID of the object. |
String Component | The string indicating which component you would like to query. See this table of components and their corresponding string tags. |
Return Type | Description |
Double | The minimum value of the specified component. |
doubleValue = objSnSScript.QuerySolutionMax(GUID, Component)
For the given component, returns the minimum value. Equivalent to marking the maximum of the solution on the View tab.
Parameter | Description |
---|---|
String GUID | Rhino ID of the object. |
String Component | The string indicating which component you would like to query. See this table of components and their corresponding string tags. |
Return Type | Description |
Double | The maximum value of the specified component. |
doubleValue = objSnSScript.QuerySolutionValue(GUID, Component, QueryPoint)
For the given component, returns the value at the specified point in the solid.
Parameter | Description |
---|---|
String GUID | Rhino ID of the object. |
String Component | The string indicating which component you would like to query. See this table of components and their corresponding string tags. |
Array(double) QueryPoint | An array of three floating point numbers, representing a point in space where the solution should be queried. |
Return Type | Description |
Double | The value of the specified component at the query point. |
wiki/sns/snsscript/simulation_value_querying.txt ยท Last modified: 2017/07/14 13:51 by claire