Off the top of my head try:
op = Application.ApplyOp("Smooth", "torus", 3, siPersistentOperation, null,
0)
Application.InspectObj(op)
It's a little inconsistent - some commands automatically open the PPGs even
from the script and you have to find a silent version. Others are always
silent and you have to inspect them afterwards.
On 8 January 2013 23:39, Adam Sale <[email protected]> wrote:
> I'm a little confused as to why the following does not work:
>
> Get a sphere
>
> Run Deform > Smooth
>
> PPG appears and all is good.
>
> Now, take the generated command and run it through the script editor
>
> ApplyOp("Smooth", "torus", 3, siPersistentOperation, null, 0);
>
> This time, no PPG appears.
>
> Any idea why? And is there a way to force a ppg launch when I tun the
> command from a button or from the script editor?
>
> Thanks :-)
>
> Adam
>