Error while changing the Import Load (FRF) - Interpolation Type using mechanical scripting.

Naveen Kumar Begari
Member Posts: 102
**
in Structures
FRF - Fluids Results File.
I have few scripts as below, but getting an error in PyMechanical - Embedded instance. But works well in Mechanical Standalone.
Imported_Load.PropertyByName("SourceLoad").InternalValue = 2
Imported_Load.Properties[1].InternalValue = 2
Any suggestions on below error.
Tagged:
0
Comments
-
it says it's a type mismatch, could this just be that it's expecting a float and you're providing an integer but in the standalone application it automatically makes the conversion?
0 -
0
-
What about
Properties[46]
? That's where the problem is right?0 -
Same as above. Not yet fixed.
Yes. Problem at that point.
If we fix one, remaining we can replicate it @James Derrick
0