Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

vb api ; ListParams()

Arno

New member
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
 
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
 

Sponsor

Articles From 3DCAD World

Back
Top