How Can I easy convert(support) my Addin DLL. from 2012 to 2014?

How Can I easy convert(support) my Addin DLL. from 2012 to 2014?

Anonymous
Not applicable
500 Views
1 Reply
Message 1 of 2

How Can I easy convert(support) my Addin DLL. from 2012 to 2014?

Anonymous
Not applicable

Hello.

 

i (infact... my company boss) make a Addin for REVIT 2012.

 

but, our addin raise error in REVIT 2014.

like

'System.MissingMethodException ( at Revit : can not find method)'

'Autodesk.Revit.DB.Element

Autodesk.Revit.DB.Document.get_Element(System.String)'

  Location : [myAddin].S_myRevitThread.MakeData(UIDocument AUIDoc, String AFlag, String AParam)

..... etc....

 

how can i find

blocked / changed code ( and what is new code for this changes)?

0 Likes
Accepted solutions (1)
501 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

The API dropped in 2014 should be maked as obsolete in 2013.

You can look at the 2013 API documentation for alternatives.

 

For example,

Document.Element property (String) is annotated with 

[ObsoleteAttribute("This method has been obsoleted. Use GetElement() instead.")]

 

Recompile your souce code with 2014 API should give you errors for missing method and warnings for obsoleted method.

0 Likes