Hi jacasalr,
For sure you can solve this task using Femap API.
In general, your need to create a new output vector based on the post-processed data from another calculated result vector/s.
Actually, in femap/customtools panel there are a lot of scripts for data post-processing, you can...
Hi Vu Hoang,
As you got RC code 4, it means FE_NOT_EXIST (see Return Codes part in Femap API manual). So probably, the method feFreebody.GetSumAtNode can't find some of Femap entities. It can be: feFreebody doesn't have freebady object itself, or SumNodeID has the wrong node ID.
And...
Hello trough57,
in that API script file, you can see such code line "aSet.NasBulkLargeField = 3 'Write Large Field"
you can find this code in lines #235 and #296 of your file.
Instead of "= 3" put "= 0"
- the value "0" corresponds to a Small field format.
then save this script and run it...
zanestoy, I guess the main your mistake there, that execution of this method
line1 = App.feLinePoints(False,c1,c2,True)
will give you just return code (rc in TG_eng code example) in the variable "line1". Like -1 if it was done successfully or other return code value if something wrong, but not...
Hello Ilya,
If you use vb.net (maybe with some IDE like MS Visual Studio) you can create the code structure using classes / modulus / functions etc. (with the Femap API code inside of those code blocks) on the side of VB.net. After all such solution can be easier to support later (by my...
rbas85, your code looks correct and should work just if you are using MS VBA (Excel) as an IDE and if you are sure that you have calculated results vector 7033 in the OutputSet ID #1, for elements IDs 1-50.
For sure it will call an error regarding variable types if you use pure vb.net in MS...
Hi rbas85,
if you did an external FEMAP API program and has plenty (hundred thousand) of elements in your group, your loop based on olel.Next() can slow down the program execution speed/time. So if you will meet such an issue, you can try to use el.GetAllArray(... ) method. This method records...