Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to check which command is running on active catia window? #39

Closed
tcrakshi opened this issue Jul 22, 2020 · 8 comments
Closed

Comments

@tcrakshi
Copy link

  1. is it possible to check which command is running on catia?
  2. is it possible to know active msg box or dialog box info in active window catia?
@evereux
Copy link
Owner

evereux commented Jul 24, 2020

I don't understand this question. Can you provide more information on what it is you're trying to achieve?

@tcrakshi
Copy link
Author

Let us consider, some catia command is active, respecive window also be there. so my question is it, is to possible to fetch that information in pycatia.
Example :
Point command is active in catia
Expectation in pycatia: info : Point command is active

@evereux
Copy link
Owner

evereux commented Jul 24, 2020

I don't know. Is it possible to do that using the CAA interface?

@tcrakshi
Copy link
Author

I think yes, its possible in CAA

@evereux
Copy link
Owner

evereux commented Jul 25, 2020

I'm still struggling to understand the question and usage scenario to be honest.

@tcrakshi
Copy link
Author

tcrakshi commented Sep 3, 2020

Example:

  1. let assume command lunched - through Code CATIA.Startcommad ("xxxxx")
  2. once command lunched - command have a warning message with button yes and NO
  3. so until and unless pressing yes or no button in catia, next line of code will not excute.

so now here i want press those yes or no button through code, is it possible to do that?

@evereux
Copy link
Owner

evereux commented Sep 3, 2020

Think I can understand now.

You can disable file alerts.

from pycatia import catia
caa = catia()
caa.display_file_alerts = False

Does this do what you need?

@evereux
Copy link
Owner

evereux commented Mar 15, 2021

I'm closing this as there has been no feedback for several months. If this is still an issue please open a new issue.

@evereux evereux closed this as completed Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants