while calling function through user-interface(windows form) Revit transaction

while calling function through user-interface(windows form) Revit transaction

Anonymous
Not applicable
388 Views
2 Replies
Message 1 of 3

while calling function through user-interface(windows form) Revit transaction

Anonymous
Not applicable

Hi,

 

while calling function through user-interface(windows form) Revit transaction throws an error "Starting a transaction from an external application running outside of API context is not allowed." 

 

help, appreciated.

 

Thanks.

RK.

0 Likes
389 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear RK,

 

I assume you are new to Revit programming?

 

I suggest that you first of all take a look at the getting started material and work through the step-by-step instructions provided by the DevTV and My First Revit Plugin video tutorials:

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

That will show you what other important material is available that you MUST be aware of, answer this question of yours, and many, many more besides.

 

Your question has to do with a valid Revit API context and is discussed in detail in these articles:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.28


Good luck and have fun!

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi, 

Thanks for the information, i'm trying to solve.

 

-RK.

0 Likes