CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 2020 开发者帮助

AcApProfileManager 类

2024-5-18 18:26| 发布者: admin| 查看: 114| 评论: 0|原作者: admin|来自: AutoCAD

AcApProfileManager 类

每个 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

添加新的配置文件 reactor 对象

AcApProfileManager::addReactor

删除现有配置文件 reactor 对象

AcApProfileManager::removeReactor

父主题:

  1. 配置文件管理器

路过

雷人

握手

鲜花

鸡蛋

最新评论

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

GMT+8, 2025-3-5 18:02

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部