<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>晓东CAD家园-论坛 - ObjectARX</title>
    <link>http://bbs.xdcad.net/forum-262-1.html</link>
    <description>Latest 20 threads of ObjectARX</description>
    <copyright>Copyright(C) 晓东CAD家园-论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 19 Apr 2026 04:28:08 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.xdcad.net/static/image/common/logo_88_31.gif</url>
      <title>晓东CAD家园-论坛</title>
      <link>http://bbs.xdcad.net/</link>
    </image>
    <item>
      <title>查找已经删除的实体</title>
      <link>http://bbs.xdcad.net/thread-727644-1-1.html</link>
      <description><![CDATA[Finding Erased Entities 

问题：

How to force an AcDbBlockTableRecordIterator not to skip erased entities?

解答：

To avoid skipping the erased entities, you must specify false for last parameter
in the newIterator() method of AcDbBlockTableRecord  .]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Thu, 04 Feb 2021 07:30:00 +0000</pubDate>
    </item>
    <item>
      <title>AutoCAD Automation Interfaces 的存取</title>
      <link>http://bbs.xdcad.net/thread-727643-1-1.html</link>
      <description><![CDATA[Accessing AutoCAD Automation Interfaces Within ARX

问题：

What is the correct method of accessing the AutoCAD automation interfaces from
within an ARX object?

解答：

The following code snippet shows how to do it:.

**** 本内容被作者隐藏 ****

NOT ...]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Thu, 04 Feb 2021 02:10:00 +0000</pubDate>
    </item>
    <item>
      <title>AcDbBlockReference::explode 失败</title>
      <link>http://bbs.xdcad.net/thread-727615-1-1.html</link>
      <description><![CDATA[AcDbBlockReference::explode fails

问题：

Why does AcDbBlockReference::explode produce incorrect results if there are
AcDbText or AcDbAttribute definition entities in the block that is exploded?

解答：

This isa known problem that is desribed in De .]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Tue, 02 Feb 2021 02:00:01 +0000</pubDate>
    </item>
    <item>
      <title>从 AcDbPolyline 派生遇到的问题</title>
      <link>http://bbs.xdcad.net/thread-727614-1-1.html</link>
      <description><![CDATA[AcDb: deriving from AcDbPolyline

问题：

Deriving from AcDbPolyline works correctly, however, it seems DWG files
containing instances of my custom entity derived from AcDbPolyline do not
contain proxy graphic information for them. Why?

解答：

Auto]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Tue, 02 Feb 2021 00:10:00 +0000</pubDate>
    </item>
    <item>
      <title>使用ARX创建一个MLINE</title>
      <link>http://bbs.xdcad.net/thread-727602-1-1.html</link>
      <description><![CDATA[How to create an Mline using ObjectARX?  

问题：

How do I create an MLINE entity in AutoCAD using ObjectARX? When I try this, an
MLINE is not created and an error message does not occur indicating this was
unsuccessful.

解答：

The most likely cau]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Sat, 30 Jan 2021 16:59:01 +0000</pubDate>
    </item>
    <item>
      <title>禁用 COPY,PASTE 命令</title>
      <link>http://bbs.xdcad.net/thread-727600-1-1.html</link>
      <description><![CDATA[Disabling copy, paste functionality   

问题：

You can do this by placing the entities on a locked layer. The same can be achieved
with API as follows. Make sure that you have layer named \&quot;Layer1\&quot; which is locked
(or modify the code to your needs).]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Sat, 30 Jan 2021 16:14:50 +0000</pubDate>
    </item>
    <item>
      <title>AcDbAttribute::setPosition() 似乎有问题，如何解决？</title>
      <link>http://bbs.xdcad.net/thread-727580-1-1.html</link>
      <description><![CDATA[AcDbAttribute::setPosition() function doesn\'t seem to function properly

问题：

I use following codes to set attribute postion
pAttdef-&gt;setHorizontalMode(AcDb::kTextCenter);
pAttdef-&gt;setVerticalMode(AcDb::kTextVertMid);
pAttdef-&gt;setAlignmentPoint(ba]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Thu, 28 Jan 2021 19:43:36 +0000</pubDate>
    </item>
    <item>
      <title>获取ACAD文本窗口内容</title>
      <link>http://bbs.xdcad.net/thread-727554-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Wed, 27 Jan 2021 07:53:48 +0000</pubDate>
    </item>
    <item>
      <title>保存和关闭文档后AcApDocManager::disableDocumentActivation() 方法无效的问题</title>
      <link>http://bbs.xdcad.net/thread-727545-1-1.html</link>
      <description><![CDATA[AcApDocManager::disableDocumentActivation() doesn\'t work after save &amp; close document

By Philippe Leefsma

问题:

AcApDocManager::disableDocumentActivation() should disable switching documents, opening new documents and closing documents. Usually, it]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Tue, 26 Jan 2021 16:42:13 +0000</pubDate>
    </item>
    <item>
      <title>AcDbObjectId == Operator Causes Crash in Mixed Managed /CLR code</title>
      <link>http://bbs.xdcad.net/thread-727501-1-1.html</link>
      <description><![CDATA[AcDbObjectId == Operator Causes Crash in Mixed Managed /CLR code

问题：

Any use of the == operator with AcDbObjectId causes a crash in my AutoCAD 2005 or AutoCAD 2006 code.  What can I do to avoid this?  Example:

AcDbObjectId ida, idb;

if(ida ==]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Wed, 20 Jan 2021 16:07:52 +0000</pubDate>
    </item>
    <item>
      <title>AcDbHatch associativity</title>
      <link>http://bbs.xdcad.net/thread-727500-1-1.html</link>
      <description><![CDATA[AcDbHatch associativity

问题：

After I made a hatch object, added it to the database, set the style, and so on, it is not associative to the object. What must I do to make it associative?

解答：
Use the hatch object that was just created as a pers ...]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Wed, 20 Jan 2021 16:07:04 +0000</pubDate>
    </item>
    <item>
      <title>用ARX增加 layer filter</title>
      <link>http://bbs.xdcad.net/thread-727444-1-1.html</link>
      <description><![CDATA[Add a layer filter using ARX - access the layer table extension dictionary 


问题：

Layer filters are used to hide or display layers based on certain properties
in the Layer Properties Dialog. Is there an API that will programmatically add
a layer]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Sat, 16 Jan 2021 19:18:32 +0000</pubDate>
    </item>
    <item>
      <title>解决 AcDbDictionary::setAt()方法返回Acad::eWrongObjectType错误</title>
      <link>http://bbs.xdcad.net/thread-727423-1-1.html</link>
      <description><![CDATA[问题：

Acad::eWrongObjectType error with AcDbDictionary::setAt()


解答：

So what could cause the AcDbDictionary::setAt() to return Acad::eWrongObjectType error?

Unfortunately, this error is not documented for the AcDbDictionary::setAt method but  .]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Fri, 15 Jan 2021 16:54:42 +0000</pubDate>
    </item>
    <item>
      <title>关于系统变量TDUSRTIMER 和 AcDbDate对象</title>
      <link>http://bbs.xdcad.net/thread-727422-1-1.html</link>
      <description><![CDATA[问题：

About TDUSRTIMER and AcDbDate

解答：

The TDUSRTIMER system variable does not store the elapsed milliseconds, but instead stores the time elapsed form the last reset in a Julian date format. The easiest way to get the time elapsed in seconds ...]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Fri, 15 Jan 2021 16:53:24 +0000</pubDate>
    </item>
    <item>
      <title>Copying an existing block entity with new block name and definition</title>
      <link>http://bbs.xdcad.net/thread-727379-1-1.html</link>
      <description><![CDATA[问题：

I want to copy an existing block reference, however, the new block reference,
while identical to the original block reference, will have a different name. How
is this achieved?

解答：

1. Select the block reference (AcDbBlockReference) you  ...]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Tue, 12 Jan 2021 18:40:48 +0000</pubDate>
    </item>
    <item>
      <title>AcDb: ePermanentlyErased when open cloned object during wblock-entire DWG</title>
      <link>http://bbs.xdcad.net/thread-727378-1-1.html</link>
      <description><![CDATA[问题：
Is it possible to open cloned objects in
AcEditorReactor::beginDeepCloneXlation() or endDeepClone() callbacks when WBLOCK
- entire database is performed?

Trying to open them in AcEditorReactor::beginDeepCloneXlation( AcDbIdMapping&amp;
idMap, Ac ..]]></description>
      <category>ObjectARX</category>
      <author>XDSoft</author>
      <pubDate>Tue, 12 Jan 2021 18:39:19 +0000</pubDate>
    </item>
    <item>
      <title>外部DWG创建 AcDbXRefGraph</title>
      <link>http://bbs.xdcad.net/thread-727366-1-1.html</link>
      <description><![CDATA[问题：

In ObjectARX there only seems to be one function to create an AcDbXRefGraph
of a drawing, this function is called acedGetCurDwgXRefGraph.

The problem is that this only works on the current drawing!! How can I create
an AcDbXRefGraph of an e ..]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Mon, 11 Jan 2021 17:59:43 +0000</pubDate>
    </item>
    <item>
      <title>用ARX创建线型</title>
      <link>http://bbs.xdcad.net/thread-727365-1-1.html</link>
      <description><![CDATA[问题：
How can I create a linetype using ARX?

解答：

The sample code below creates a linetype using ARX:]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Mon, 11 Jan 2021 17:57:40 +0000</pubDate>
    </item>
    <item>
      <title>Copying an existing block entity with new block name and definition</title>
      <link>http://bbs.xdcad.net/thread-727318-1-1.html</link>
      <description><![CDATA[问题：
I want to copy an existing block reference, however, the new block reference,
while identical to the original block reference, will have a different name. How
is this achieved?

解答：
1. Select the block reference (AcDbBlockReference) you wa ...]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Fri, 08 Jan 2021 05:07:52 +0000</pubDate>
    </item>
    <item>
      <title>用ARX创建线型</title>
      <link>http://bbs.xdcad.net/thread-727317-1-1.html</link>
      <description><![CDATA[问题：
How can I create a linetype using ARX?

解答：
The sample code below creates a linetype using ARX:]]></description>
      <category>ObjectARX</category>
      <author>newer</author>
      <pubDate>Fri, 08 Jan 2021 05:04:52 +0000</pubDate>
    </item>
  </channel>
</rss>