Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with pyansys 0.15 example #4

Closed
rostar opened this issue Jun 16, 2017 · 1 comment
Closed

error with pyansys 0.15 example #4

rostar opened this issue Jun 16, 2017 · 1 comment

Comments

@rostar
Copy link

rostar commented Jun 16, 2017

Hi,

when I try to run the "Loading and Plotting an ANSYS Result File" example, I get the following error

raise Exception('Unsupported type {:s} for vtk copy'.format(typestring))

Exception: Unsupported type <type 'vtkobject for vtk copy

The 0.13 version example with LoadCDB works perfectly. Must have been due to some changes in the new version.

Thank you for your support.

Btw I am still struggling to find a way to plot element solutions (stresses, plastic strains etc.). Would be great if the functionality was available as well.

@akaszynski
Copy link
Collaborator

Turns out the error was related to the way different versions of vtk and python name a vtk object. I've fixed the bug in vtkInterface 0.1.3, which is live on GitHub and PyPi right now. Go ahead and run

pip install vtkInterface --upgrade

I'll work on adding element results today.

@rostar rostar closed this as completed Jun 19, 2017
akaszynski added a commit that referenced this issue Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants