- Home /
Is the Edit menu not accessible through ExecuteMenuItem?
EditorApplication.ExecuteMenuItem("Edit/Frame Selected"); responds with ExecuteMenuItem failed because there is no menu named
Is the edit menu 'forbidden'?
Indeed I think this is something found in 3.x, I remember filing a bug during the beta. I shall see, thx for responding I wasn't too sure if it was too late and I was just being stupid.
Answer by shawn · Dec 21, 2010 at 03:24 PM
SceneView.lastActiveSceneView.FrameSelected();
Disclaimer: Undocumented API is not officially supported and subject to change at anytime.
Answer by Mike 3 · Dec 21, 2010 at 02:15 AM
Seems like it. In 2.6, you could definitely do Frame Selected using that function, so it's changed since then. Perhaps file a bug report?
Your answer
![](https://koobas.hobune.stream/wayback/20220613091833im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Does CombineChildren work in Edit Mode? 1 Answer
editable 3d text? 2 Answers
How to zoom in at a good pace? 1 Answer
Edit Collider snap to vertical 1 Answer
I cant edit the components!!! Unity - 2018.1.Of2 (64- Bit) 2 Answers