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

Re: managing transaction in a function initiated from a modeless dialog

$
0
0
I use an idling event handler to initiate a transaction and run code from a list of custom class objects previously posted to a queue. The classes used implement a custom interface that contains an Execute (Document) method and can also contain data such as a list of elementids to work with. Its kind of like a simplified version of IExternalCommand. Does the job nicely.

Viewing all articles
Browse latest Browse all 66677

Trending Articles



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