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

Re: Enforce Revit to perform potable command before doing the rest of my code!

$
0
0

Hello Ibrahim,

I do not know of a way to postpone a posted command, but have some other thoughts.  

 

  1. Have you seen the ElementTransformUtils.CopyElements() method?  If that will not suffice then,
  2. Chaining multiple PostCommands together scares me but, a while back I created a PostableCommandBase helper class to help me run code after a posted command completed.  Perhaps you could use it to get the results you need,  http://forums.autodesk.com/t5/revit-api-forum/a-question-about-suppressing-warning-messages-in-revit/m-p/6367827#M16595

Viewing all articles
Browse latest Browse all 66666

Trending Articles



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