state = pwGetAssemblyState Returns the state of the current assembly as a number. If the assembly has not changed, e.g. all parameter values, inputs and couples are the same, the re-integration is not required for plotting.