Hello,
I am trying to create a CAA function to access the flagged text from the drawing. I'm currently checking every character whether it is flagged. But using SetSelection method from CAA the tool seems to crash at that line of code even after i do a ResetReselection. Can anyone suggest me...
Hello,
I would like to know if anyone can help me to read/get the values of the chamfer dimensions under Drafting Workbench. For Example : "23.45 X 45.59" . I have used the method GetValue(), but only the first part of the dimension is available i.e. "23.45". How can i get the second part of...
Hi,
Can anybody tell me for the above mentioned CATIA version, which version of visual studio for CAA development environment should/can be opted?
Thanks in Advance!!
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.
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...
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
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...
Hi Cthulhu,
Thanks for the example. :-)
Good News is , i was able to do something like this & its working :
double * dArray = new double[4];
CATSafeArrayVariant* oValue = BuildSafeArrayVariant(dArray, 4);
piVBViewObj->Size(*oValue);
delete oValue;
Thank you once again.