一半君的总结纸

听话只听一半君

#82 How do I delete an imported camera that Maya identifies as “non-deletable?”

You may find at some point that Maya has imported an extra default Camera into your scene and refuses to allow you to delete it. Take for example an extra orthographic Camera named “front1” that has found its way into your Outliner. You attempt to delete it:

// Error: Non-deletable node 'front1Shape' cannot be deleted. //
// Error: Non-deletable node 'front1' cannot be deleted. //

Now what?

Maya’s cameras can be queried for their non-deletable status using the “camera” command:

camera -q -startupCamera persp;
// Result: 1 //

Try this on the rogue “front1” camera. If it is a startup camera, clear this attribute with:

camera -e -startupCamera false front1;

Now Maya will allow you to delete it.

09 February 2002

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: