Graphics

 View Only
  • 1.  Maintain Aspect Ratio Mode in API

    Posted 11-28-2022 20:49
    Does anyone know if this function of the Quad Options is accessible in the 10.5 API? I don't see it anywhere in the official documentation but I suspect its possible with SetObjectPropertyString catch-all method. Does anyone happen to know what this is officially called in the back-end?  


    ------------------------------
    Nick Huntley
    ------------------------------


  • 2.  RE: Maintain Aspect Ratio Mode in API

    Ross Staff
    Posted 11-29-2022 06:21
    Hey man, I was just looking through the SDK for you, I found the value to turn it off and on. 

    Under xpQuadObject



    Haven't found the mode for this yet.

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Maintain Aspect Ratio Mode in API

    Posted 11-29-2022 12:12
    I've got that one figured out, I was more curious on the "mode" selector underneath, if there was any enumeration not in the SDK to help change that via API. Every other part of that menu is workable through the API but I have not found anything referencing the "mode" by which to maintain the aspect ratio in the API.

    ------------------------------
    Nick Huntley
    ------------------------------



  • 4.  RE: Maintain Aspect Ratio Mode in API

    Ross Staff
    Posted 11-29-2022 12:13
    I can't see anything in there myself, @Garner might know. ​

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 5.  RE: Maintain Aspect Ratio Mode in API

    Ross Staff
    Posted 11-29-2022 13:58
    ​the ApsectMode property was implemented in 10.7 beta and 11.0




    ------------------------------
    Brandon Derry
    Ross Video
    ------------------------------



  • 6.  RE: Maintain Aspect Ratio Mode in API

    Ross Staff
    Posted 11-29-2022 17:52
    Thanks Brandon, good to know, I'm still on 10.5 so that makes sense I couldn't find it. 

    Nick is it possible for you to upgrade at this time? ​

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 7.  RE: Maintain Aspect Ratio Mode in API

    Posted 12-07-2022 14:24
    I can upgrade my Developer PC but unfortunately we are not likely to be able to upgrade all 15 or so of our Studio XPressions and 10 Designers at this time so I'll likely be figuring out a way to match the scale I'm attempting using the material transform properties instead of the best-fit system.

    ------------------------------
    Nick Huntley
    ------------------------------