TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: TomN on December 15, 2010, 06:53:38 PM

Title: 1011 xdata (world space coords) not updating in Acad 2011
Post by: TomN on December 15, 2010, 06:53:38 PM
Hi All,
This is my first post to this forum, although I have programmed AutoCAD for several years (R10?). I'm having a problem with xdata. I have an AcDbPolyFaceMesh (representing a sheet metal panel) that I created with Lisp. I attached 1011 xdata so I could retrieve accurate coordinates if the user re-sizes the panel by stretching it. I have done this before and don't recall having a problem. However, in Acad 2011, I noticed that the data does not update after stretching the panel.  I tried the same code in the new Bricscad Platinum and the xdata updates after stretching as expected. Has anyone had this problem recently in AutoCAD?

Thanks,
Tom
Title: Re: 1011 xdata (world space coords) not updating in Acad 2011
Post by: CAB on December 15, 2010, 08:52:14 PM
Welcome to the Swamp. 8-)

I don't have 2011 but there may be someone along that has and may offer some advice.

Title: Re: 1011 xdata (world space coords) not updating in Acad 2011
Post by: TomN on December 15, 2010, 10:56:48 PM
Thanks CAB. Glad to be here.
Tom
Title: Re: 1011 xdata (world space coords) not updating in Acad 2011
Post by: MP on December 15, 2010, 11:59:54 PM
I am sad to report that I can confirm that bug based on very limited testing.

I tried a point, a line a 3dpolyline and a mesh. The mesh failed to update, the others updated ok.

Unacceptable Autodesk.
Title: Re: 1011 xdata (world space coords) not updating in Acad 2011
Post by: TomN on December 16, 2010, 11:00:18 PM
Sorry, my mistake. I neglected to translate the points from the UCS to WCS. Once I did, I got the expected result in Acad 2011.
Title: Re: 1011 xdata (world space coords) not updating in Acad 2011
Post by: CAB on December 17, 2010, 05:57:58 PM
That's good news. 8-)