hexagon logo

VB.NET .GetVariableValue("NAME")

How do you pull variable values from PCD program using VB.NET?

I know how to do it with VBA and BASIC etc.... but how do you do it with VB.NET, I can get variable name but no values!

Any help, thanks.

***Edit***

My code works I just hadn't ran PcD to 'load' the variables with values....HAHAHAHA!!!!!!!!!!!!!!!
Parents
  • You're missing all FCF dimensions, as they are not .IsDimension (obviously!), but maybe you knew that already?

    Edit: And probably missing the new SIZE, too.


    Oops forgot to mention that! This works with my current style and setup, I did not think about anything else as I do not use it.

    Though I should NOT assume that things will stay that way for us forever... legacy could possibly be extinct one day, another future programmer could come in and program differently, our engineers could change their GD&T technique that may require us to use something different, etc.... I will go back and bullet proof things up a bit in the future.

    Thanks for pointing that out !!!!!!!
Reply
  • You're missing all FCF dimensions, as they are not .IsDimension (obviously!), but maybe you knew that already?

    Edit: And probably missing the new SIZE, too.


    Oops forgot to mention that! This works with my current style and setup, I did not think about anything else as I do not use it.

    Though I should NOT assume that things will stay that way for us forever... legacy could possibly be extinct one day, another future programmer could come in and program differently, our engineers could change their GD&T technique that may require us to use something different, etc.... I will go back and bullet proof things up a bit in the future.

    Thanks for pointing that out !!!!!!!
Children
No Data