cvELD_AddAnnotation anchor.png Edit

SI0216.JPG





for (i=0; i <Selection.Count; i++){
	var oSel = selection(i);
	var oRoot = Application.ActiveSceneRoot;
	var oText = oRoot.AddGeometry("Text","NurbsCurve", oSel + "_TXT");
	//var oText = CreatePrim("Text", "NurbsCurve", oSel + "_txt", null);

		oText.text.Value = oSel;
		oText.fitsize.Value = 0.7;
		oText.rotx.AddExpression("0");
		oText.roty.AddExpression("0");
		oText.rotz.AddExpression("0");
		oText.posx.AddExpression("0");
		oText.posy.AddExpression("0");
		oText.posz.AddExpression("0");
		var l_vis = oText.Properties( "visibility" );
		l_vis.selectability.Value = false;

		oSel.addChild (oText)	
}




       
Counter: 7242, today: 1, yesterday: 0
最終更新: 2011-09-29 (木) 14:34:21 (JST) (2912d) 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