qsl707 发表于 2006-8-23 09:13:00

放置文字对象到"文字"图层怎么老是失败!

&nbsp;&nbsp;&nbsp; '放置文字对象到"文字"图层<BR>&nbsp;&nbsp;&nbsp; gpCode(0) = 0<BR>&nbsp;&nbsp;&nbsp; dataValue(0) = "text"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; groupCode = gpCode<BR>&nbsp;&nbsp;&nbsp; dataCode = dataValue<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; ObjSelectionSet.Select Mode, , , groupCode, dataCode<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; For Each Entry In ObjSelectionSet<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Entry.Layer = "Text"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Entry.Update<BR>&nbsp;&nbsp;&nbsp; Next Entry<BR>&nbsp;&nbsp;&nbsp; ObjSelectionSet.Clear

wyj7485 发表于 2006-8-24 08:37:00

<P>确认是否建立了"Text"层</P>
<P>groupCode = gpCode<BR>&nbsp;&nbsp;&nbsp; dataCode = dataValue<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; ObjSelectionSet.Select Mode, , , groupCode, dataCode<BR>没必要吧,直接</P>
<P>ObjSelectionSet.Select Mode, , , gpCode<BR>, dataValue<BR></P>
页: [1]
查看完整版本: 放置文字对象到"文字"图层怎么老是失败!