CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

ObjectARX 开发指南

相关分类

AcApProfileManager Class

2022-12-31 16:13| 发布者: admin| 查看: 324| 评论: 0|来自: AutoCAD

每个 AutoCAD 会话只有一个配置文件管理器对象。ObjectARX提供了一个全局函数来访问此描述文件管理器对象(称为)。此函数返回指向对象的指针,然后可以在其上调用方法。 ® ® acProfileManagerPtr()AcApProfileManager

该类为“配置文件”选项卡提供的操作提供了一个容器。没有提供获取当前配置文件名称的方法,因为它存储在名为 CPROFILE 的系统变量中,并且可以使用调用来获取。AcApProfileManageracedGetVar()

AcApProfileManager 类提供以下功能

 

能力

关联方法

检索指定配置文件的注册表路径

AcApProfileManager::P rofileRegistryKey

检索用户配置当前存在的配置文件名称

AcApProfileManager::P rofileListNames

将给定配置文件导出到 REGEDIT4 格式的 AutoCAD 注册表配置文件 (.arg)

AcApProfileManager::P rofileExport

将 AutoCAD 注册表配置文件 (.arg) 导入到给定配置文件中

AcApProfileManager::P rofileImport

从注册表中删除指定的配置文件

AcApProfileManager::P rofileDelete

将指定的配置文件重置为 AutoCAD 默认设置

AcApProfileManager::P rofileReset

使 AutoCAD 会话的指定配置文件处于活动状态或最新状态

AcApProfileManager::P rofileSetCurrent

将现有配置文件复制到新配置文件

AcApProfileManager::P rofileCopy

重命名现有配置文件

AcApProfileManager::P rofileRename

添加新的配置文件反应器对象

AcApProfileManager::addReactor

移除现有配置文件反应器对象

AcApProfileManager::removeReactor


路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-19 12:10

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部