Simulation Querying Functions

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.

ParameterDescription
String GUIDRhino ID of the object.
String ComponentThe string indicating which component you would like to query. See this table of components and their corresponding string tags.
Return TypeDescription
DoubleThe 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.

ParameterDescription
String GUIDRhino ID of the object.
String ComponentThe string indicating which component you would like to query. See this table of components and their corresponding string tags.
Return TypeDescription
DoubleThe 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.

ParameterDescription
String GUIDRhino ID of the object.
String ComponentThe string indicating which component you would like to query. See this table of components and their corresponding string tags.
Array(double) QueryPointAn array of three floating point numbers, representing a point in space where the solution should be queried.
Return TypeDescription
DoubleThe value of the specified component at the query point.