We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2aeda commit be4348dCopy full SHA for be4348d
src/ansys/dyna/core/pre/dynaem.py
@@ -811,6 +811,13 @@ def create(self):
811
if self.psid is not None:
812
sid = self.psid.create(self.stub)
813
soctou = self.soctou.create(self.stub)
814
+ modified_prm = []
815
+ for par in self.prm:
816
+ if type(par) == float:
817
+ modified_prm.append(par)
818
+ elif type(par) == Table2D:
819
+ tid = par.create(self.stub)
820
+ modified_prm.append(-tid)
821
ret = self.stub.CreateEMRandlesBatmac(
822
EMRandlesBatmacRequest(
823
rdltype=self.rdltype,
@@ -820,7 +827,7 @@ def create(self):
827
cq=self.cq,
828
socinit=self.socinit,
829
soctou=soctou,
- chargedirparam=self.prm,
830
+ chargedirparam=modified_prm,
824
831
temp=self.temp,
825
832
frther=self.frther,
826
833
r0toth=self.r0toth,
0 commit comments