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
  • There are also some 'brackets' through the command.Type DIMENSION_TRUE_START_POSITION, DIMENSION_TRUE_END_POSITION, DIMENSION_START_LOCATION and DIMENSION_END_LOCATION. The START part is a good place to grab the dimension ID, and the END part the place to forget the ID again.

    A warning for the future - my FEATUREEXPORT.BAS (which is used commercially) is 479 lines long. It includes handling of FCF and [most] composite dimensions, but not simultaneous or SIZE, yet...
    (And it surely contains some bugs...)
Reply
  • There are also some 'brackets' through the command.Type DIMENSION_TRUE_START_POSITION, DIMENSION_TRUE_END_POSITION, DIMENSION_START_LOCATION and DIMENSION_END_LOCATION. The START part is a good place to grab the dimension ID, and the END part the place to forget the ID again.

    A warning for the future - my FEATUREEXPORT.BAS (which is used commercially) is 479 lines long. It includes handling of FCF and [most] composite dimensions, but not simultaneous or SIZE, yet...
    (And it surely contains some bugs...)
Children
No Data