ObjectARX

ObjectARX

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

custom entity inherit from AcDbPolyline can not display without app loaded

249 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.

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.

Distinguished Mentor
owenwengerd
Posts: 686
Registered: ‎08-06-2002
Message 2 of 3 (240 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 (226 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.