ジャンプ先: 概要. 戻り値. MEL 例.

概要

string shortNameOf(string $object)

このプロシージャは、$object のショート ネームを返します。この名前は固有でない場合があります。

戻り値

なし

MEL 例

		//	Create a sphere.

		//

		string $spheres[] = `polySphere -name "sphere1"`;
		string $sphere = $spheres[0];

		shortNameOf($sphere);
		//	Result: sphere1 //