Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb api ; ListParams()

  • Thread starter Thread starter Arno
  • Start date Start date
A

Arno

Guest
hi all,


anyone been working a while with the VB API for ProE? because i'm starting to get the basics by now, but some things I wonder should be possible but don't seem to...


fo instance i can get a sequence to check every parameter and give me their values, or which type, or their units... But NOT their names... :s


So i would like something like the code below, but then to retrieve all the Parameter names.


For i = 0 To owner.ListParams.Count - 1


baspar = owner.ListParams(i)


If baspar.Value.discr = EpfcParamValueType.EpfcPARAM_STRING Then


MsgBox(para.Value.StringValue)


Else


End If


Next





Grtz, Arno
 
baspar.Name - will give you the name of the parameter.
 
Thank you!


But I find it very very very disturbing that the .Name property is not recognized by the API, nor described in the user guide.... but it sounds extremely logic, should have forced myself to try it anyway ^^


Grtz & thx
 

Part and Inventory Search

Sponsor

Back
Top