Slowing down on field insert

Slowing down on field insert

bart.tuytten
Contributor Contributor
256 Views
2 Replies
Message 1 of 3

Slowing down on field insert

bart.tuytten
Contributor
Contributor

Hello,

 

I've some lisp code running inserting a field that is the sum

of a limited number of other field expressions.

Now when inserting, the result appears almost immediately

in the model space.

Then automatically the system seems like to 'recalculate' all the drawing slowing works down.
In the meanwhile the insert dissapears until the 'recalculating' is over.

 

I tried to put fieldeval to 0.

Yet this seems not to help.

Do you have an idea on what might be being processed on the moment of insert?

And what might be helping not to initiate this process unnecessarily?

 

Thank you.

 

Regards Bart Tuytten

 

 

0 Likes
Accepted solutions (1)
257 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
What's the LISP code exactly?
Sample DWG file?
0 Likes
Message 3 of 3

bart.tuytten
Contributor
Contributor
Accepted solution

Hello,

 

thank you for you quick response.

I think I just found the issue...
I had left some 'vla-regen' of the active viewport inside the code.
As there are rather plenty of fields ... it went on updating these inside the code.

I appologise I went for the forum a bit to fast maybe.

 

Regards Bart Tuytten

 

 

0 Likes