Logging?
Moderators: SDS, support, admin
Logging?
Hello,
I just just upgraded to the newest version (trial) of the CADImport.dll, but selecting a text gives me the following exception. This exception can't be clicked away, it is thrown again forever.
Is there any log or logging possibility to get to the root of this exception?
Thank you
I just just upgraded to the newest version (trial) of the CADImport.dll, but selecting a text gives me the following exception. This exception can't be clicked away, it is thrown again forever.
Is there any log or logging possibility to get to the root of this exception?
Thank you
- Attachments
-
- Error
- Capture.PNG (9.36 KiB) Viewed 46784 times
Re: Logging?
Hello Roman,
Unfortunately, it is not possible to trace the root of exception using logging. Please, post a code which throws the exception and if this problem occurs only with a certain drawing file, post it here as well or (in case the file contains confidential information) send to the Technical Support e-mail.
Mikhail
Unfortunately, it is not possible to trace the root of exception using logging. Please, post a code which throws the exception and if this problem occurs only with a certain drawing file, post it here as well or (in case the file contains confidential information) send to the Technical Support e-mail.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Logging?
Hello Mikhail,
it's not possible to send you code. The error occurs when I try to select a CADText entity with the mouse. Should I send you my programcode, so you can test and reproduce the problem.
Roman
it's not possible to send you code. The error occurs when I try to select a CADText entity with the mouse. Should I send you my programcode, so you can test and reproduce the problem.
Roman
Re: Logging?
Hello Roman,
Yes, it would be helpful if you can post the code of your program.
Mikhail
Yes, it would be helpful if you can post the code of your program.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Logging?
Hello Mikhail,
I just sent you an email with my code,
thank you for your help,
Roman
I just sent you an email with my code,
thank you for your help,
Roman
Re: Logging?
Hello Roman,
We have received the source code of your project. Thanks for your e-mail.
Mikhail
We have received the source code of your project. Thanks for your e-mail.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Logging?
Hello,
could you reproduce my issue? Do you have any idea what causes the error?
thank you
Roman
could you reproduce my issue? Do you have any idea what causes the error?
thank you
Roman
Re: Logging?
Hello Roman,
We would like to clarify some details. I've just sent you an e-mail from support@cadsofttools.com regarding this matter.
Mikhail
We would like to clarify some details. I've just sent you an e-mail from support@cadsofttools.com regarding this matter.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Logging?
Hello,
I found the cause of the exception:
the following code falied selecting the thext
This code works, I just changed CADText with CADMText....
I found the cause of the exception:
the following code falied selecting the thext
Code: Select all
protected ulong AddText(string text, DPoint pos, Color color, double height, float rotation)
{
var cadText = new CADText();
cadText.Color = color;
cadText.Point = pos;
cadText.Height = height;
cadText.Angle = rotation;
cadText.Text = text;
cadText.LineWeight = 0.01;
AddEntity(cadText);
return cadText.Handle;
}

Code: Select all
protected ulong AddText(string text, DPoint pos, Color color, double height, float rotation)
{
var cadText = new CADMText();
cadText.Color = color;
cadText.Point = pos;
cadText.Height = height;
cadText.Angle = rotation;
cadText.Text = text;
cadText.LineWeight = 0.01;
AddEntity(cadText);
return cadText.Handle;
}