How to deal with warnings at runtime

How to deal with warnings at runtime

2020mme013
Enthusiast Enthusiast
253 Views
1 Reply
Message 1 of 2

How to deal with warnings at runtime

2020mme013
Enthusiast
Enthusiast

Hi,

 I am copying the existing drawing and giving reference to converted ipart model yo normal part. There is list of members to complete this action but for each and every part it's giving me warning at runtime.

Can anyone tell me to deal with this warning message automatically answered 'ok'  during runtime itself. So that operation will continue untill all members completed. I have attached the screen shot of warning message. 

Thanks.

20221025_143718.jpg

0 Likes
254 Views
1 Reply
Reply (1)
Message 2 of 2

JelteDeJong
Mentor
Mentor

You ask this in the "Inventor and VB.Net Forum" so I assume you do this by code. in that case, you might want to have a look at the application property "SilentOperation". Acc. to the help files:

"Gets/Sets the Boolean flag that controls whether an operation will proceed without prompting (if that gets required...e.g.: error message dismissal). If Inventor is running visible, this property is FALSE by default."

There you will also find an example code that uses that property.

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes