<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Howto modify DXF codes inside custom entities in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648111#M5626</link>
    <description>&lt;P&gt;Deal alexander:&lt;/P&gt;
&lt;P&gt;Unfortunately the custom entity is not derived from AcDbText(I see it from exported dxf), and we don't have the dbx module file. What else can we do?&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 12:23:50 GMT</pubDate>
    <dc:creator>kuang_hf</dc:creator>
    <dc:date>2019-03-10T12:23:50Z</dc:date>
    <item>
      <title>Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8647236#M5623</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;We have drawings with some kind of custom entities from third party and a plugin arx to show them. I want to change some properties like layer, text style in these custom entities. Here is my code snippet:&lt;/P&gt;
&lt;P&gt;ads_point pt;&lt;BR /&gt;int ret = acedEntSel(_T("Select an entity:\n"), ent, pt);&lt;BR /&gt;struct resbuf *ebuf = acdbEntGet(ent);&lt;BR /&gt;if (ebuf)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; struct resbuf *eb = ebuf;&lt;BR /&gt;&amp;nbsp; while (eb)&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if (eb-&amp;gt;restype == 7) // text style&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ACHAR *pStyle = eb-&amp;gt;resval.rstring;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; eb-&amp;gt;resval.rstring = (ACHAR*)acad_malloc(20);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; _tcscpy(eb-&amp;gt;resval.rstring, _T("test")); // assume a text style named 'test' already exists&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int ret;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if ((ret=acdbEntMod(ebuf)) != RTNORM) &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; { &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acutRelRb(ebuf); &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ; // Error&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; eb = eb-&amp;gt;rbnext;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; acutRelRb(ebuf);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;My problem is, if I select the custom entity, as soon as I call&amp;nbsp;acdbEntMod, acad crashes...&amp;nbsp; But if I select a standard entity like dbtext, the code runs ok. So what's wrong with it?&lt;/P&gt;
&lt;P&gt;BTW, I notice acad has a standard checking function, which can successfully change the text style of that custom entity. So it's feasible.&amp;nbsp; But how does acad change it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 12:07:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8647236#M5623</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-09T12:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8647885#M5624</link>
      <description>&lt;P&gt;Maybe&amp;nbsp; Like&amp;nbsp; follow,&amp;nbsp; you can try.&lt;/P&gt;
&lt;P&gt;if (eb-&amp;gt;restype ==RTSHORT &amp;amp;&amp;amp; eb-&amp;gt;resval.rint ==7) // text style&lt;BR /&gt;{&lt;BR /&gt;eb=eb-&amp;gt;rbnext;&lt;BR /&gt;...&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 03:08:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8647885#M5624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-10T03:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648061#M5625</link>
      <description>&lt;P&gt;If this custom entity is derived from AcDbText or AcDbMText you can use setTextStyle method instead&amp;nbsp; of changing value of DXF group 7.&lt;/P&gt;
&lt;P&gt;For changing layer you can use setLayer method&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 11:00:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648061#M5625</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T11:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648111#M5626</link>
      <description>&lt;P&gt;Deal alexander:&lt;/P&gt;
&lt;P&gt;Unfortunately the custom entity is not derived from AcDbText(I see it from exported dxf), and we don't have the dbx module file. What else can we do?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 12:23:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648111#M5626</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T12:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648121#M5627</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045844"&gt;@kuang_hf&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Deal alexander:&lt;/P&gt;
&lt;P&gt;Unfortunately the custom entity is not derived from AcDbText(I see it from exported dxf), and we don't have the dbx module file. What else can we do?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you have not dbx-module this custom entity have to become proxy-entity. So you can not do anything with it.&lt;/P&gt;
&lt;P&gt;Start this command in AutoCAD commandline, select your custom entity and post result to forum (as text):&lt;/P&gt;
&lt;PRE&gt;(entget (car (entsel)) '("*"))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 12:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648121#M5627</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648137#M5628</link>
      <description>&lt;P&gt;The command result:&lt;/P&gt;
&lt;P&gt;命令: (entget (car (entsel)) '("*"))&lt;BR /&gt;选择对象: ((-1 . &amp;lt;图元名: 7ffffb05a40&amp;gt;) (0 . "TCH_TEXT") (330 . &amp;lt;图元名: 7ffffb03820&amp;gt;) (5 &lt;BR /&gt;. "21B4") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "PUB_TITLE") (62 . &lt;BR /&gt;0) (100 . "TDbEntity") (46 . 0.0) (47 . 100.0) (68 . 1) (100 . "TDbText") (10 &lt;BR /&gt;-95621.2 -323770.0 0.0) (40 . 3.0) (1 . "test string") (50 . 0.0) (7 . &lt;BR /&gt;"CJ-ST") (70 . 0) (72 . 7))&lt;/P&gt;
&lt;P&gt;I also think it maybe impossible to change anything of it. But acad's standard check function can change the custom entities' text style and layer according a dws file.&amp;nbsp; That's what I'm wondering...&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 13:18:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648137#M5628</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648177#M5629</link>
      <description>&lt;P&gt;You can change layer of this entity with AcDbEntity::setLayer method. As far as this entity is not derived from AcDbText or AcDbMText you can not use AcDbText::setTextStyle or AcDbMText::setTextStyle methods. If there is a COM-wrapper for this entity you can try use it:&lt;/P&gt;
&lt;PRE&gt;(vlax-dump-object (vlax-ename-&amp;gt;vla-object (car (entsel))) t)&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648177#M5629</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T14:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648190#M5630</link>
      <description>&lt;P&gt;The command result is :&lt;/P&gt;
&lt;P&gt;no function definition: VLAX-ENAME-&amp;gt;VLA-OBJECT.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:46:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648190#M5630</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648191#M5631</link>
      <description>&lt;PRE&gt;(vl-load-com)&lt;/PRE&gt;
&lt;P&gt;This line can be executed once before executing&lt;/P&gt;
&lt;PRE&gt;(vlax-dump-object (vlax-ename-&amp;gt;vla-object (car (entsel))) t)&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:00:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648191#M5631</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T15:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648194#M5632</link>
      <description>&lt;P&gt;选择对象: ; IComLineText: IComLineText Interface&lt;BR /&gt;;特性值:&lt;BR /&gt;; Alignment = "左下(BL)"&lt;BR /&gt;; Application (RO) = #&amp;lt;VLA-OBJECT IAcadApplication 0000000140607198&amp;gt;&lt;BR /&gt;; Document (RO) = #&amp;lt;VLA-OBJECT IAcadDocument 0000000028bad400&amp;gt;&lt;BR /&gt;; Handle (RO) = "21B4"&lt;BR /&gt;; HasExtensionDictionary (RO) = 0&lt;BR /&gt;; Height = "3.0"&lt;BR /&gt;; Hyperlinks (RO) = #&amp;lt;VLA-OBJECT IAcadHyperlinks 00000000315d3a48&amp;gt;&lt;BR /&gt;; Layer = "PUB_TITLE"&lt;BR /&gt;; LayoutRotation = 0.0&lt;BR /&gt;; Linetype = "ByLayer"&lt;BR /&gt;; LinetypeScale = 1.0&lt;BR /&gt;; Lineweight = -1&lt;BR /&gt;; Material = "ByLayer"&lt;BR /&gt;; ObjectID (RO) = 42&lt;BR /&gt;; ObjectID32 (RO) = 42&lt;BR /&gt;; ObjectName (RO) = "TDbText"&lt;BR /&gt;; OwnerID (RO) = 43&lt;BR /&gt;; OwnerID32 (RO) = 43&lt;BR /&gt;; PlotStyleName = "ByBlock"&lt;BR /&gt;; Rotation = 0.0&lt;BR /&gt;; Scale = 100.0&lt;BR /&gt;; Text = "^C1^C～^C7^C轴立面图"&lt;BR /&gt;; TextStyle = "CJ-ST"&lt;BR /&gt;; TrueColor = #&amp;lt;VLA-OBJECT IAcadAcCmColor 00000000315d3c80&amp;gt;&lt;BR /&gt;; Visible = -1&lt;BR /&gt;;支持的方法:&lt;BR /&gt;; ArrayPolar (3)&lt;BR /&gt;; ArrayRectangular (6)&lt;BR /&gt;; Copy ()&lt;BR /&gt;; Delete ()&lt;BR /&gt;; GetBoundingBox (2)&lt;BR /&gt;; GetExtensionDictionary ()&lt;BR /&gt;; GetXData (3)&lt;BR /&gt;; Highlight (1)&lt;BR /&gt;; IntersectWith (2)&lt;BR /&gt;; Mirror (2)&lt;BR /&gt;; Mirror3D (3)&lt;BR /&gt;; Move (2)&lt;BR /&gt;; Rotate (2)&lt;BR /&gt;; Rotate3D (3)&lt;BR /&gt;; ScaleEntity (2)&lt;BR /&gt;; SetXData (2)&lt;BR /&gt;; TransformBy (1)&lt;BR /&gt;; Update ()&lt;BR /&gt;T&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seem to have no proper COM methods?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:59:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648194#M5632</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648198#M5633</link>
      <description>&lt;P&gt;Try this code:&lt;/P&gt;
&lt;PRE&gt;(vla-put-TextStyle (vlax-ename-&amp;gt;vla-object (car (entsel))) "test")&lt;/PRE&gt;
&lt;P&gt;Textstyle "test" have to be in this dwg-file before this call.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:05:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648198#M5633</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648202#M5634</link>
      <description>&lt;P&gt;It works!!!&lt;/P&gt;
&lt;P&gt;Thanks for your help, Alexander. You're so welcome. BTW, can it be finished in C++ code?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:09:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648202#M5634</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T15:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648205#M5635</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045844"&gt;@kuang_hf&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It works!!!&lt;/P&gt;
&lt;P&gt;Thanks for your help, Alexander. You're so welcome. BTW, can it be finished in C++ code?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is possible but very complicated. It's easier to do this with VisualLisp.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648205#M5635</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-10T15:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648207#M5636</link>
      <description>&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 15:13:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8648207#M5636</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-10T15:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8657889#M5637</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;STRONG&gt;Alexander,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Sorry to bother you again.&amp;nbsp; The custom entities I mentioned above is from a third party company, and they provide two kinds of plug-ins.&amp;nbsp; The first one is full functional, which can let you edit properties, copy, delete their custom entities. The second is a restricted one, which can let you copy and delete their entities, but editing is not allowed.&amp;nbsp; If I install the first one, I can change entities' text style as you provided. But if I install the second 'restricted' one,&amp;nbsp;&amp;nbsp;vlax-dump-object command fails with 'Automation error'. Seems that this kind of plug-in does not provide COM interfaces. BUT in this case, acad still can change the text style through 'Standard Check' function!&amp;nbsp; Is there another way to fulfill this, like modify hard pointers etc., or there are other kinds of COM interface ?&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 08:42:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8657889#M5637</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-03-14T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8658230#M5638</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045844"&gt;@kuang_hf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry. I have not any idea.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 11:13:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8658230#M5638</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2019-03-14T11:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Howto modify DXF codes inside custom entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8830972#M5639</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Dear Alexander,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I got a better method. Derive a filer from AcDbDwgFiler,&amp;nbsp; and use dwgOutFields to read the fields from an entity, and use dwgInFields to replace the specified ID.&amp;nbsp; Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AcDbEntity * pEnt;&lt;BR /&gt;if (acdbOpenObject(pEnt, id, AcDb::kForWrite) == Acad::eOk)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MyFiler filer(); // this filer will do some replacing job in readXXX functions&lt;BR /&gt;pEnt-&amp;gt;dwgOutFields(&amp;amp;filer);&lt;BR /&gt;pEnt-&amp;gt;dwgInFields(&amp;amp;filer);&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pEnt-&amp;gt;close();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 08:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/howto-modify-dxf-codes-inside-custom-entities/m-p/8830972#M5639</guid>
      <dc:creator>kuang_hf</dc:creator>
      <dc:date>2019-06-04T08:55:38Z</dc:date>
    </item>
  </channel>
</rss>

