<?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: Some questions about ObjectARX in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878904#M8742</link>
    <description>&lt;P&gt;Sorry, have seen yet you have implement ACRX_DXF_DEFINE_MEMBERS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change dxf name to upper case: DUTO, also in ssget.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 08:48:46 GMT</pubDate>
    <dc:creator>BerndCuder8196</dc:creator>
    <dc:date>2017-02-15T08:48:46Z</dc:date>
    <item>
      <title>Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878336#M8739</link>
      <description>&lt;P&gt;Hello, i'm trying to create a&amp;nbsp;custom ObjectARX entity to&amp;nbsp;help me in my job and i'm facing some problems. Since i wont share my custom entity with our costumers i'm creating it with ObjectARX instead ObjectDBX. First off, that is the code i got so far, a simple basic entity (.cpp file &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Duto::Duto () : AcDbEntity (), mCenter(100.0, 100.0, 0.0) {
}

Duto::~Duto () {
}&lt;BR /&gt;&lt;BR /&gt;Adesk::Boolean Duto::subWorldDraw (AcGiWorldDraw *mode) {
	assertReadEnabled () ;
	mode-&amp;gt;geometry().circle(mCenter, 50.0, AcGeVector3d(0.0, 0.0, 1.0));
	return Adesk::kTrue;

}

Acad::ErrorStatus Duto::subGetGripPoints (
	AcGePoint3dArray &amp;amp;gripPoints, AcDbIntArray &amp;amp;osnapModes, AcDbIntArray &amp;amp;geomIds
) const {
	assertReadEnabled() ;
	gripPoints.append(mCenter);
	return Acad::eOk;
}

Acad::ErrorStatus Duto::subMoveGripPointsAt (const AcDbIntArray &amp;amp;indices, const AcGeVector3d &amp;amp;offset) {
	assertWriteEnabled ();
	mCenter += offset;
	return Acad::eOk;
}


Acad::ErrorStatus Duto::subTransformBy(const AcGeMatrix3d &amp;amp;xfm)
{	
	assertWriteEnabled();
	mCenter.transformBy(xfm);
	return ( AcDbEntity::subTransformBy(xfm));
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the first weird thing, look this video:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=fRAeMQLaeL0" target="_blank"&gt;https://www.youtube.com/watch?v=fRAeMQLaeL0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i move/stretch/drag the circle the peview apears in the wrong place. The final position is right though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another problem is i can't select my entity with ssget:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;(ssget "x" '((0 . "Duto")))&lt;/PRE&gt;&lt;P&gt;But when i use the Autolisp command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(entget (car (entsel)))&lt;/PRE&gt;&lt;P&gt;and select my entity, i get this: "... (100 . "Duto") ...".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did rename the entity .cpp file as a .lsp file in order to &amp;nbsp;put it in the attachments.&lt;/P&gt;&lt;P&gt;I'm using Autocad2012/ObjectARX 2012/VS 2010. That's all, thanks in advance and sorry my english.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 23:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878336#M8739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T23:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878456#M8740</link>
      <description>For drag operations, AutoCAD clones the entity for each drag and displays the clone as the drag image.  Cloning uses the dwgOutFields() and dwgInFields() methods to copy the data from the source entity to the clone.  Your methods are not writing/reading the circle's center point, so the clone will end up with the default from the constructor.  When you pick to end the drag, then transformBy() is called on the original entity.  You do have that implemented, so that would explain why the final is where it should be.&lt;BR /&gt;&lt;BR /&gt;I don't know why ssget won't work for you, and I really don't understand how you are getting a group 100 . "Duto" from entget because that requires that you have your dxfOutFields() method implemented and that you are using "Duto" as your subclass data marker string in a call to the filer's writeItem() using AcDb::kDxfSubclass as the first argument , but the code file you attached doesn't have a dxfOutFields() method in it.</description>
      <pubDate>Wed, 15 Feb 2017 01:06:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878456#M8740</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2017-02-15T01:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878887#M8741</link>
      <description>&lt;P&gt;ssget needs the DXF name of your entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you must implement this macro in your custom entity:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ACRX_DXF_DEFINE_MEMBERS&lt;BR /&gt;(&lt;BR /&gt;&amp;nbsp;Duto, AcDbEntity,&lt;BR /&gt;&amp;nbsp;AcDb::kDHL_CURRENT, AcDb::kMReleaseCurrent,&lt;BR /&gt;&amp;nbsp;AcDbProxyEntity::kNoOperation, DUTO,&lt;BR /&gt;&amp;nbsp;"MyApp"&lt;BR /&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with DUTO in ssget (case sensitiv)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 08:42:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878887#M8741</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-02-15T08:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878904#M8742</link>
      <description>&lt;P&gt;Sorry, have seen yet you have implement ACRX_DXF_DEFINE_MEMBERS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change dxf name to upper case: DUTO, also in ssget.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 08:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6878904#M8742</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-02-15T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6881240#M8743</link>
      <description>&lt;P&gt;Implemented "dwgInFields" and "dwgOutFields", preview is working fine now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still don't understand why ssget doesn'r work for my entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 00:14:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6881240#M8743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T00:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6881327#M8744</link>
      <description>To get SSGET to work you need to change the DXFNAME in your ACRX_DXF_DEFINE_MEMBERS macro to be all uppercase like so:&lt;BR /&gt;&lt;BR /&gt;ACRX_DXF_DEFINE_MEMBERS (&lt;BR /&gt;	Duto, AcDbEntity,&lt;BR /&gt;	AcDb::kDHL_CURRENT, AcDb::kMReleaseCurrent, &lt;BR /&gt;	AcDbProxyEntity::kNoOperation, DUTO,&lt;BR /&gt;CAIROAPP&lt;BR /&gt;|Product Desc:     A description for your object&lt;BR /&gt;|Company:          Your company name&lt;BR /&gt;|WEB Address:      Your company WEB site address&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;SSGET changes the dxf name string in the filter list to be all uppercase, and the string compare done against the actual entity dxf names is case sensitive.</description>
      <pubDate>Thu, 16 Feb 2017 01:51:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6881327#M8744</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2017-02-16T01:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about ObjectARX</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6884109#M8745</link>
      <description>&lt;P&gt;The ssget problem was the name, changed to DUTO and is perfect now, thank you all guys.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 21:57:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/some-questions-about-objectarx/m-p/6884109#M8745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T21:57:06Z</dc:date>
    </item>
  </channel>
</rss>

