Having the ViewportCapture PPG open to check on my settings was the
problem.

Thanks everyone!


On Thu, Oct 25, 2012 at 9:18 PM, Stephen Blair <[email protected]>wrote:

>  Yup, I tried, and the new value seems to stick, as long as you don't
> open the Capture dialog
>
> Application.Dictionary.GetObject("ViewportCapture.ImageScale").Value = 16
> Application.CaptureViewport(2, False)
> print Application.Dictionary.GetObject("ViewportCapture.ImageScale").Value
>
>
> On 25/10/2012 6:29 PM, Raffaele Fragapane wrote:
>
> The combo box is usually just a UI wrapper helping to pick a value by its
> label. The value underneath with the UI closed should still be changeable
> if valid.
>
> Don't know about this specific one, but other combo boxes in the past got
> in my way, but could be worked around if nothing was open refreshing the
> layout call of that UI (and forcing an unwanted value) and then I could
> persist an arbitrary value long enough for a capture or a bake.
>
> On Fri, Oct 26, 2012 at 7:14 AM, Bradley Gabe <[email protected]> wrote:
>
>> I don't think this works.
>> The ImageScale Parameter is a combo box, where the index value
>> corresponds to the denominator of the fraction.
>>
>>  2 = 1/2
>> 4 = 1/4
>> and so on...
>>
>>  If I set it to any value not found in the combo box, it sets itself
>> back to 1.
>>
>>
>> On Thu, Oct 25, 2012 at 3:33 PM, Alok <[email protected]> wrote:
>>
>>>  Look for Viewport Capture parameters in the docs.
>>>
>>> I would do it like this:
>>>     Application.Dictionary.GetObject("ViewportCapture.ImageScale").Value
>>> = myScale
>>>
>>>   On 25/10/2012 3:15 PM, Bradley Gabe wrote:
>>>
>>>  Is it possible to run a camera capture using a size value outside of
>>> the standard 1, 1/2, 1/4, 1/8 set we are provided in the comboBox menu?
>>> If so, I would need to do this via scripting.
>>>
>>>  -B
>>>
>>> No virus found in this message.
>>> Checked by AVG - www.avg.com
>>> Version: 2012.0.2221 / Virus Database: 2441/5353 - Release Date: 10/25/12
>>>
>>>
>>>
>>
>
>
> --
> Our users will know fear and cower before our software! Ship it! Ship it
> and let them flee like the dogs they are!
>
>
>

<<image/gif>>

Reply via email to