🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Programatically (command to) save scope as image

User: "andyer"
Altair Employee
Updated by andyer

Howdy denizens of the Activate community....

 

I'm wondering if there is a command to save the plots of a single scope as an image.  I searched 'bde...' and 'vss...' commands and see options to save diagram or blocks as images - the most promising option seems to be this:  vssHtmlGenerateImageHtml().  Not sure -would this work for saving an image of a single scope? 

 

I'm looking for an example for syntax but I haven't found one yet.  I search the Activate installation and found a hit but the arguments are not detailed enough to know what is expected.   Does anyone have an example for this? 

 

FYI: I'm running parameter sweeps and would like to save scopes as images at the end of each run before the next one starts.   (overlay is not an option since the next simulation curve covers last one).  Thanks!

 

Thanks,

 

Andy

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Livio Mariano_20459"
    Altair Employee
    Updated by Livio Mariano_20459

    Hi Andy,

    I don't know how to do it with a command... 'overlay' isn't an option like you wrote but 'new' (and then at the end you save scopes manually) should be a workaround to get what you want.

    image.png.c39fe4677b0303971e2c5fbd9fd3e2f1.png

     Liv

    User: "andyer"
    Altair Employee
    OP
    Updated by andyer

    Hi Liv,

     

    Thanks, I didn't see your response earlier.   What I need is a command (if exists) to write create an image after each simulation run so I can programmatically script a series of simulations.  Since the model report does something like this today I thought this may already exist and  someone might know how to do this.   Anyone?

     

    Thanks,

     

    Andy