ObjectARX

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

custom entity inherit from AcDbPolyline can not display without app loaded

230 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: 609
Registered: ‎08-06-2002
Message 2 of 3 (221 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
Contributor
sdphg
Posts: 25
Registered: ‎05-21-2008
Message 3 of 3 (207 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community