mrbeam1
Structural
- Apr 28, 2005
- 1
Hello,
I am trying to connect to FEMAP from VisualBasic in Excel in order to read Function data in the mod-file using API-commands.
After following the API Reference manual there is still problem when I use the command "GetFunctionList". There is a Function in the mod-file but it is not read. I can read the Function title and the function type using
fun1.Get(1)
Fun_title = fun1.title
typ = fun1.Type
but
ret = fun1.GetFunctionList(listcount, vx, vy)
gives error-code 4 which means FE_NOT_EXIST
(listcount is declared as Long and vx and vy as
variants)
Grateful for any help
I am trying to connect to FEMAP from VisualBasic in Excel in order to read Function data in the mod-file using API-commands.
After following the API Reference manual there is still problem when I use the command "GetFunctionList". There is a Function in the mod-file but it is not read. I can read the Function title and the function type using
fun1.Get(1)
Fun_title = fun1.title
typ = fun1.Type
but
ret = fun1.GetFunctionList(listcount, vx, vy)
gives error-code 4 which means FE_NOT_EXIST
(listcount is declared as Long and vx and vy as
variants)
Grateful for any help