Paraview clip/slice filter "show plane" in python - paraview

I am trying to untick "show plane" using python but I didn't find any working solution. Is there some command for it?
Found this: https://public.kitware.com/pipermail/paraview/2011-July/022283.html, but trace option doesn't track ticking the "show plane" box for neither option of tracing.
Also found this: https://www.paraview.org/pipermail/paraview-developers/2013-November/002667.html but I'm not sure what to make of it.
side bar for clip settings in paraview picture

Hide3DWidgets(proxy=clip1) does the trick. See the python doc here : https://kitware.github.io/paraview-docs/latest/python/paraview.simple.html#paraview.simple.Hide3DWidgets

Related

How to get rid of GitLen+ Pro screen in VS Code?

I installed GitLens in VS Code. Then it asked if I wanted to try the GitLens+ features. I clicked "Yes". Now I am stuck at the welcome screen and can't get past it. Any ideas how to get rid of this annoying screen?
Uninstall gitlens extension. Productivity extensions shouldn't reduce productivity by putting up adds that can't easily be closed.
I had the same problem, but I was able to solve it by following the steps below.
Open the sidebar extension
Click the down arrow to the right of the uninstall
Install another version
Install 11.7.0
Reload
But there was no Gitlens in the sidebar
So next
"git lens: show welcome view" in the command palette
Select "git lenses layout" in "view" of "quick setup"
Gitlens is displayed in the sidebar
Then install the latest version
Gitlens is displayed in the sidebar
I hope it helps you even a little.
Go to VS Code command Pallete and select GitLens+: Sign out of Gitlens+
that should get you to the previous experience.
you can also use the the VSCode Command Pallete to display the views you want, such as
I think I had the same issue on Windows (now I'm on my mac) so I went back to Windows, created a new account, and started the trial since logging off of my account on Windows didn't result in that scenario.
I couldn't reproduce it on Windows either.
I'm thinking that might be a glitch, I'm sure you already tried to close VSCode and open again, so, maybe try to sign out and sign in again.
If you want to remove the "home" view, use the elipses on the top right and untick it. Also, check if the other views are enabled.
The problem here is that when we install GitLens extension then all the GitLens features and buttons are added under the generic source control tab (Ctrl+shift+G). Even though GitLens creates a new tab of its own and it looks like all features and buttons are hiding behind the welcome screen. This is not the case and everything but the welcome screen is under the generic source control tab. Poor design choice indeed.
Hide GitLens+ Features from the Command Palette GitLens+: Hide GitLens+ Features
To restore from the Command Palette GitLens+: Restore GitLens+ Features
Step 1. Uninstall GitLens
This avoids fiddling with settings to try to stop it being nag-ware.
Step 2. Install Git Graph
This has the nicest "railway-track" display of commits that I have come across, although the dev seems to be not responding to contact during 2022.
An alternative is Git History, which remains under active development, although its railway-track display is less compact and efficient.

Export all Eclipse warnings to a file

Is there any way I can export all markers Eclipse has found when compiling? A legacy project of mine has quite a bit of warnings and I want to summarize them in a table so I can split them up by e.g. package, type and other factors. If I'm able to build some kind of report file out of them, I would be able to filter them.
I found this Marker Manager plugin, but there is no documentation anywhere and I don't see how I'm supposed to use it.
I am looking for the same problem.
One solution which I found is to select all warnings in the Problems view by clicking the right mouse button and choose "Select all". Then you could again click the right mouse button, choose "Copy" and "paste" the warning in an editor.
Maybe this could help you.
I am also looking for a possibility to automatically export the warnings in a file after a build.

No Tile Palette option available in Unity editor

The Unity documentation clearly shows Tile Palette available under Window > 2D.
But I don't have the option available:
Where can I access the Tile Palette menu?
I'm on OSX 10.13.6 and Unity version 2019.2.1f1
#AJP I was just having a similar issue using 2019.2 Personal.
I found that I needed to add the tile map package to the project, then "Tile Palette" appeared as an option under "Window".
To do this:
Go to Window > Package Manager.
Click 2d Tilemap Editor on the left of the pop up.
Then click install in the lower right hand corner (Install will be replaced with "Remove" once installed).
2dTileMapPackage
Update 2020/08/03
The issue is fixed in Unity 2019.3 and beyond, where the tile palette option shows up as expected on iOS, making it likely the issue was caused by a bug in 2019.2
As per AJP's own findings: Tile Palette is not available on Mac OSX. But if it was this would be a work around for any menu not showing up in the toolbar.
(I could only test this on windows, but I assume this works on a mac aswel, under the same locations.)
Under Edit there is the option "shortcuts". Go into this window and search for "Tile pallete". Click the Tile palette command and set your custom shortcut. You should now be able to open it without it showing up under the Window > 2D tab.
If it doesn't show up there either then my only guess would be that it isn't installed in your current Unity version (which appears to be the case on mac OSX)
If you're like me and no solution is working please READ THIS!
The problem is with Unity Hub and not Unity as a whole. I discovered this late late last night when I was reinstalling for the 5th time.
On my 5th install and reboot, I opened "Unity" instead of "Unity Hub" and sure enough there it was. I closed "Unity" and opened "Unity Hub" and sure enough when I booted into "Unity" it was gone. There is something wrong with the back end loading it would seem when loading from Unity Hub.
For a problem that seems to have plagued people for years. I'm shocked Unity developers haven't come across this solution and patched it.
You will have to install the according package like RobC and Jere already mentioned..
It's the same if you miss Sprite Editor.
You just have to install the according package which in your case is 2D Tilemap Editor
Window > Package Manager search for the according package,
in this case 2D Tilemap Editor.
If you miss the Sprite Editor the package to install is:
-"2D Sprite", I guess

Eclipse overview ruler don't show all text

I've searched for answers to this problem for days now, and still no solution.
The problem is: I work with eclipse and pydev in linux environment and in the overview ruler I only see lines that represent function definitions and imports, all other text in my .py file (or any other file for that matter) is now shown.
I tried to see annotations and other properties and that does not change a thing.
I'm adding a picture with the problem:
Well, the issue is that this feature is not currently implemented in PyDev. The overview ruler as it is is not a real minimap. It only shows entries for what would be outline entries (not a minimap for the code).

Is there some plugin for eclipse which shows a minified outline of the source?

E.g. Komodo IDE has this feature:
Can be really useful for getting an overview of a big file.
Anyone knows something similar for eclipse?
Yes its there. Look this overview-plugin. This plugin shows the overview of the current text editor in the Overview view. Also the tooltip shows the line under the cursor. Also note that you can control the zoom level in overview view.
Screen shots:
The general way of providing that kind of view (not exactly a minified view, but as useful) is through an outline.
For JSON, you would need an eclipse JSON plugin, which has a JSON outline dedicated view:
You can use the Quick Outline feature of many editors in Eclipse to get a pop-up, easily navigable outline of the file's contents. Use Ctrl+O (Command+O on Mac).
To bring up the "normal" persistent Outline View, open Quick Access with Ctrl+3 (Command+3 on Mac) then type outline and select it from the list.