SI0262.JPG




	var oSel = Selection;
	if (oSel.count == 0)
	{
		Logmessage('Need select',siError);
	}
	else
	{
		var oColl = XSIFactory.CreateObject( 'XSI.Collection' );
		for (var i=0; i<oSel.count; i++)
		{
			if (oSel(i).type != 'application' && oSel(i).type != 'Scene')
			{
				oColl.Add(oSel(i).Parent);
				oSel(i).Kinematics.AddConstraint("Pose", oColl(i));
			}
		}
	}

       
Counter: 6951, today: 1, yesterday: 2
最終更新: 2011-10-25 (火) 16:57:43 (JST) (2888d) by Land-Y
GoogleWiki
WikiMenu

ホーム ニュース フォーラム UserBlog 道場Wiki
Powered by XOOPS Cube Legacy 2.1.7 2001-2009 XOOPS Cube Project
cvELD.net project [ Softimage & XSI道場 ] since 2004 1/1