Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAA Command 1

Status
Not open for further replies.

SKimi

Mechanical
Feb 27, 2020
28
Hello,

I am facing a weird issue in CATIA-CAA , the issue i observe is when i run the command it launches the User-Interface . So i observe that when i run the command for the first time , the User-Interface is getting destroyed i.e. the command is been killed completely.
But, it runs ok when it is been launched the second time.

In case anybody has idea about it, please let me know.

Thanks in advance !!
 
Replies continue below

Recommended for you


So this is the method where once launched for the first time at the end UI is getting destroyed.
 
Try creating two states instead of one, don't loop through the initial state:

[pre]state0 -> state1 |
^ |
| |
\ state1 <[/pre]
 
Thank You Little Cthulhu For the suggestion,


But what is the reason for the Dialog object destruction ?
 
Hi Little Cthulhu,

As you mentioned, creating two states. It could not resolve the issue. The destructor is being called at the end of the method.

Thanks
 
What about CAADrwCenterLine.m module from CAA samples? Does it work as expected?
 
Thanks for the response,

i can surely check and see on it :)

Thanks once again
 
Hi Little Cthulhu,

In the sample CAADrwCenterLine.m module , i see that they haven't used anything like a user-interface. But in my case i do have a user interface. So when i launch the command for the first time & perform the action , the UI gets terminated(destructor is being called). But runs OK when i launch it for the second time in the same session.
 
I find nothing from CATTemp that can help me to resolve. It's really strange !! Also i checked CallStack , yet i find nothing. All i see is the first time i launch ,command terminates. But the same command runs OK when launched for second time.
 
What CAA Command do in Catia?
Could somebody give me some details?
First time when I hear about it.....!

Thanks!

CAD 2015
 
Should i post it here, or is there any other way?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor