.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Performance AutoCAD 2010 update 1 with .NET application very bad.

5 REPLIES 5
Reply
Message 1 of 6
marco
345 Views, 5 Replies

Performance AutoCAD 2010 update 1 with .NET application very bad.

Hello,

I installed Update 1 to AutoCAD 2010 recently and noticed the performance of my .NET application decreased dramaticaly.
I built in some stopwatches to test on both plain AutoCAD and the updated version (on the same machine). With update 1 installed the application needed up to 3 times more time than in plain 2010.

Has anyone else experienced this and does anyone know why this is happening?

Marco
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: marco

I've had no reports of anything like that, but it most likely
depends on what your app is doing. Is it using the command
line? If so, how? What else does it do?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6340087@discussion.autodesk.com...
Hello,

I installed Update 1 to AutoCAD 2010 recently and noticed the performance of my
.NET application decreased dramaticaly.
I built in some stopwatches to test on both plain AutoCAD and the updated
version (on the same machine). With update 1 installed the application needed up
to 3 times more time than in plain 2010.

Has anyone else experienced this and does anyone know why this is happening?

Marco
Message 3 of 6
marco
in reply to: marco

The application we are building uses a ObjectEventHandler to respond to changes of dynamic blocks.
When an object is changed first we check if it's a dynamic block. If not the method stops.
If it is a dynamic block we read it's XRecord data and dynamic properties.
The Xrecord data is used to change attribute values, layer and color of the BlockReference.

No other user intervention is needed except for changing the dynamic properties.

Marco Edited by: marco@safe on Feb 19, 2010 4:26 PM
Message 4 of 6
marco
in reply to: marco

We hunted the performance loss down to the reading of the XRecord data.
Message 5 of 6
Anonymous
in reply to: marco

How much xrecord data is there?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6342127@discussion.autodesk.com...
We hunted the performance loss down to the reading of the XRecord data.
Message 6 of 6
marco
in reply to: marco

Depending on the blockrecord it can be quite a lot of records. The content of the records is just some short strings,integers and doubles.
I attach a XML/structure with the data of one blockrecord.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report