ObjectARX

ObjectARX

Reply
Active Contributor
sdphg
Posts: 28
Registered: ‎05-21-2008
Message 1 of 3 (236 Views)
Accepted Solution

custom entity inherit from AcDbPolyline can not display without app loaded

236 Views, 2 Replies
06-14-2012 12:14 AM

I have a custom entity inherit from AcDbPolyline,it works fine when the dbx and arx file load.but when you save the file and open it without load those two files,the proxy information dialog show and select show proxy option,the proxy entity didn't show.but when you use CTRL+A to select all,it said the proxy entity has been selected.If I choose to inherit from AcDbEntity,everything is ok.why? 
thanks.

Distinguished Mentor
owenwengerd
Posts: 626
Registered: ‎08-06-2002
Message 2 of 3 (227 Views)

Re: custom entity inherit from AcDbPolyline can not display without app loaded

06-14-2012 05:54 AM in reply to: sdphg

AcDbPolyline does not draw proxy graphics for derived classes, at least in earlier versions of AutoCAD. You can override the AcDbEntity::saveAs() method to draw proxy graphics for your object.

--
Owen Wengerd
ManuSoft
Active Contributor
sdphg
Posts: 28
Registered: ‎05-21-2008
Message 3 of 3 (213 Views)

Re: custom entity inherit from AcDbPolyline can not display without app loaded

06-14-2012 11:21 PM in reply to: owenwengerd

thanks owen,that's the reason.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.