Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

Re: How to change Element.Geometry?

$
0
0

Hello,

Referencing an ienumerable value will cause issues if referenced multiple times.

A quick google will bring up discussions like this:

http://stackoverflow.com/questions/8240844/handling-warning-for-possible-multiple-enumeration-of-ienumerable

 

Putting the transactions around your entire modification loop will make a massive improvement also.

 

As for your final message, it appears to be unrelated to this conversation, and isn't clear. I would suggest creating a new post, and being very clear about what your questions are.

8 decimal places? Forget about it!

 

Cheers,

 

-Matt


Viewing all articles
Browse latest Browse all 67020

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>