移動先: 概要 戻り値 MEL 例.

概要

int isSameObject(string $objectA, string $objectB)

このプロシージャは $objectA と $objectB が存在し、固有で、同じオブジェクトの場合は true を返します。

戻り値

なし

MEL 例

		//	Create a NURBS sphere.
		//
		string $createdNodes[] = `sphere -constructionHistory false`;
		string $sphere = $createdNodes[0];

		isSameObject($sphere, longNameOf($sphere));
		//	Result: 1 //

		isSameObject($sphere, "foo");
		//	Result: 0 //