What is the syntax used in Visual Studio (VB.NET) to show output?

What is the syntax used in Visual Studio (VB.NET) to show output?

Anonymous
Not applicable
734 Views
6 Replies
Message 1 of 7

What is the syntax used in Visual Studio (VB.NET) to show output?

Anonymous
Not applicable

HI ALL, 

         I used Ilogic to create an model with allowing the clients to give inputs. In the below image, Radius (R) and Thickness (t) are read-only property which means the output of thickness will be shown according to the input given. 

In this image, the thickness value is a read-only memoryIn this image, the thickness value is a read-only memorySo, I need the syntax to show the value of thickness in visual studio using VB.NET 

Forums_Inventor.png

 

I also what to know what is the tool is used to the output of this thickness which is calculated using the input given. Please try to help me ASAP.

 

Thanks in Advance 

0 Likes
735 Views
6 Replies
Replies (6)
Message 2 of 7

Michael.Navara
Advisor
Advisor

You need to calculate result (thickness in this case) in function. To this function you send parameters and result display in textBox.

This function can be called when some event occurrs. For example textBox.TextChanged on all input textboxes.

 

0 Likes
Message 3 of 7

Anonymous
Not applicable

I will give inputs only to the above four parameters and the value of thickness will be calculated in the ilogic and the output should be shown in the highlighted box

0 Likes
Message 4 of 7

Michael.Navara
Advisor
Advisor
Message 5 of 7

Anonymous
Not applicable

No sir, I am not Using ilogic in VS. I have already linked them in inventor.

Calculation.jpg

 I am just linking the parameter in Visual Studio using Code with inventor. So that, The output of thickness should shown

0 Likes
Message 6 of 7

Michael.Navara
Advisor
Advisor

In common workflow (from iLogic snippets/wizzard) you don't bind "parameter" to form but only its value. Therefore, you must perform the calculations manually in the form.

In iLogic form is implemented functionality for update parameter value after value change in form (and all dependent calculations). You can implement this, but IMHO this is overkill for this reason.

Message 7 of 7

Anonymous
Not applicable
Ok Sir, I will try manually in the windows form in Visual Studio
0 Likes