Hello,

I am trying to automate CST Studio.

First part is straight forward:

Call

cst = win32com.client.gencache.EnsureDispatch("CSTSTudio.Application")

and get the CST Studio

next step open a new microwave studio project

mws = cst.NewMWS()



now there comes the problem:

mws has couple of methods.

As example “Quit()”

When I try to call this method nothing happens

mws.Quit()

It should quit the project.

What happens:

Nothing



But when I try to get a property

Example:

mws.Pi

Result:

3.141592653589793



For me it looks as the methods of mws are never called.



What am I missing?

Thanks for your Help

Best regards

Andreas Merl
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to