Replies: 4 comments 13 replies
-
Have you had a look at any of the examples in the documentation? E.g. https://docs.pyvista.org/api/core/_autosummary/pyvista.dataobjectfilters.scale
|
Beta Was this translation helpful? Give feedback.
-
A more detailed response:
Scale is a method, but here you are using it like a property. So this will actually overwrite the method completely, and replace it with a tuple.
This works, but you need to assign the output to a variable
This scales all the actors in the scene. But you have not yet added any actors, so this does nothing. You should call this Also note that scaling a mesh is different than scaling an actor. |
Beta Was this translation helpful? Give feedback.
-
Hi, I found a solution for scaling all actors together, which is what |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First check
Commit to Help
Sample Code What is the problem, question, or error?
Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.
Description
I used the above code to scale individual actors and also to set the plotter scale for all actors. However, none of the methods work. The reault is always the same as shown in the screenshot that follows.
System Information
Screenshots
Beta Was this translation helpful? Give feedback.
All reactions