You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code is a modification from the standard "Ball plate" example. The use_trame=True option in Graphics(mymodel, use_trame=True) from ansys.dyna.core.pre.graphics.graphics gives an error TypeError: Server using client_type='vue3' while we expect 'vue2'. See code sample in steps to reproduce
📝 Steps to reproduce
import os
import sys
from ansys.dyna.core.pre import launch_dynapre, DynaSolution
from ansys.dyna.core.pre.dynamech import (
DynaMech,
Velocity,
PartSet,
ShellPart,
SolidPart,
NodeSet,
Contact,
ContactSurface,
ShellFormulation,
SolidFormulation,
ContactType,
AnalysisType
)
from ansys.dyna.core.pre.dynamaterial import (
MatRigid,
MatPiecewiseLinearPlasticity,
)
from ansys.dyna.core.pre.graphics.graphics import Graphics
from ansys.dyna.core.pre.model import Model
from ansys.dyna.core.pre import examples
from ansys.dyna.core.pre.misc import check_valid_ip
from ansys.dyna.core.pre import graphics
hostname = "localhost"
if len(sys.argv) > 1 and check_valid_ip(sys.argv[1]):
hostname = sys.argv[1]
solution = launch_dynapre(ip = hostname)
fns = []
path = examples.ball_plate + os.sep
fns.append(path+"ball_plate.k")
solution.open_files(fns)
mymodel=Model(solution.stub)
graph = Graphics(mymodel, use_trame=True)
graph()
🔍 Before submitting the issue
🐞 Description of the bug
My code is a modification from the standard "Ball plate" example. The
use_trame=True
option inGraphics(mymodel, use_trame=True)
fromansys.dyna.core.pre.graphics.graphics
gives an errorTypeError: Server using client_type='vue3' while we expect 'vue2'
. See code sample in steps to reproduce📝 Steps to reproduce
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Ansys 2024r1
PyAnsys Metapackege 2024.1.7
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: