Object ResponseConstraint.EnvironmentSelection { get; set; }

Gets or sets which environment(s) the constraint applies to. This can be either a specific object or all upstream environments of a specific type. Use to specify by type. Defaults to the environment type of the optimization's upstream system. An exception is thrown if the constraint type does not support an environment selection.