找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
中国膜结构网
十大进口膜材评选 十大国产膜材评选 十大膜结构设计评选 十大膜结构公司评选
查看: 97|回复: 0

如何遍历文档acDocManager,AcApDocumentIterator

[复制链接]

1

主题

0

回帖

55

积分

管理员

积分
55
发表于 2024-9-25 13:25:32 | 显示全部楼层 |阅读模式
  1. AcApDocManager*  pDocManager = acDocManager;
  2.         if (pDocManager == NULL)
  3.                 return FALSE;
  4.         AcApDocumentIterator* iter = acDocManager->newAcApDocumentIterator();
  5.         if (iter != NULL)
  6.         {
  7.                 AcApDocument* tmpDoc = NULL;
  8.                 for (; !iter->done(); iter->step())
  9.                 {
  10.                         tmpDoc = iter->document();
  11.                         if (tmpDoc != NULL)
  12.                         {
  13.                                 //do sth;
  14.                         }
  15.                 }
  16.                 delete iter;
  17.                 iter = NULL;
  18.         }
复制代码

 

 

 

 

如何遍历文档acDocManager,AcApDocumentIterator
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|膜结构网

GMT+8, 2025-2-5 20:48 , Processed in 0.081343 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表