I am tryring to load a model with a pressure using data surface(3D arbitrary option) through API as we have to do it several times.
I got to create the 3D data surface and the load case but then I can not load hte pressure with the data surafce.
In the help I found "property for Loadgeom under specific properties" variation.Options of setting;
- 0: constant
I tried with 4 and it also works. The pressure "appear" to be loaded with the data surface option but then I can not assign the data surface with one of those that I have created.
The attached :
- excel sheet where the macro is included.
-macro in txt file *.bas
It creates two data surfaces and a load set with a pressure. It also loads the option pressure with data surface but then I can not aassign the data surfaces created
Any help it would be appreciated
Solved! Go to Solution.
You need to connect the Data Surface to the Geometric Load
I don't know what your code is trying to do with
loadgoem = loaddefintionID = 1
I would delete that line.
There's no way to send in a set of surface, you would have to loop and for each surface, just change the geomID and do another loadgeom.Put( loadgeom.NextEmptyID ).