Author Topic: Question about update custom object code  (Read 2164 times)

0 Members and 1 Guest are viewing this topic.

Dream.Fei

  • Guest
Question about update custom object code
« on: January 10, 2009, 09:11:54 PM »
Hi all, I have an question about custom object:

For example, a single custom line deriving from AcDbEntity, for the first time, I think maybe only need two variables, the StartPoint and EndPoint, so, I bulid project and use it for drawing an custom line in ACAD.

After a few days, I find maybe I need another variable, the MidPoint, so I add it to the custom define and rebuild the project.

When I open an DWG file which include custom line by the prevenient ARX, after load the new ARX, the custom line will convert to ProxyObject. That isn't what I want...

So, my question is : How to avoidance this situation?

Chuck Gabriel

  • Guest
Re: Question about update custom object code
« Reply #1 on: January 12, 2009, 09:31:04 AM »
Check out the section on "object versioning" in the ObjectARX documentation.  Sorry to post an RTFM type answer, but I don't think I can cover everything you need to know here, nor could I explain it any better than the docs.

Dream.Fei

  • Guest
Re: Question about update custom object code
« Reply #2 on: January 13, 2009, 07:24:26 AM »
Thanks for you reply.

I'll do this, and if I get any answer, I'll post it in here.

Thank you again.