wjssong
路人甲
路人甲
  • 注册日期2005-03-10
  • 发帖数37
  • QQ
  • 铜币313枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1218回复:1

AE编程不认识 arcid 怎么办?

楼主#
更多 发布于:2006-06-26 10:26
<P>方法一:    </P>
<P>Dim pCmdItem As ICommandItem<BR>    ' Use ArcID module and the Name of the Save command</P>
<P>  '下面步骤在arcScene环境下通过,但是AE编程却不认识arcid,请问怎么办<BR>Set pCmdItem = Application.Document.CommandBars.Find(arcid.File_Save)<BR>pCmdItem.Execute</P>
<P>方法二:</P>
<P>  Dim pUID As New UID<BR>  Dim pCmdItem As ICommandItem<BR>  ' Use the GUID of the Save command<BR>  pUID.Value = "{22E301BD-A6B6-11D3-ABB8-0008C73FCA1C}"<BR>  ' or you can use the ProgID<BR>  ' pUID.Value = "esriArcScene.SxFileMenuItem"<BR>  pUID.SubType = 3</P>
<P>  ' 下面步骤在AE编程提示“对象或with block变量未赋值”,请问怎么解决??<BR>  Set pCmdItem = Application.Document.CommandBars.Find(pUID)<BR>  pCmdItem.Execute<BR></P>
喜欢0 评分0
wjssong
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15947
  • QQ554730525
  • 铜币25339枚
  • 威望15364点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2006-06-29 17:32
<P>在AE里没有iApplication和iDocument这样的接口,多看看帮助</P>IApplication Interface (esriFramework)
<br>
<P>    </P>
<P>Provides access to members that query or modify the application. </P>
<P>Product Availability</P>Available with ArcGIS Desktop.
举报 回复(0) 喜欢(0)     评分
游客

返回顶部