x


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'?

more ▼

asked Dec 20 '10 at 10:26 PM

Reapazor gravatar image

Reapazor
79 2 2 7

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.

Dec 21 '10 at 03:07 PM Reapazor
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

SceneView.lastActiveSceneView.FrameSelected();

Disclaimer: Undocumented API is not officially supported and subject to change at anytime.

more ▼

answered Dec 21 '10 at 03:24 PM

shawn gravatar image

shawn ♦♦
66 2

(comments are locked)
10|3000 characters needed characters left

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?

more ▼

answered Dec 21 '10 at 02:15 AM

Mike 3 gravatar image

Mike 3
30.5k 10 65 253

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x62
x17
x14

asked: Dec 20 '10 at 10:26 PM

Seen: 1133 times

Last Updated: Dec 20 '10 at 10:26 PM