Autodesk Revit - Shared Parameters 2015 -> 2016

Autodesk Revit - Shared Parameters 2015 -> 2016

Anonymous
Not applicable
698 Views
5 Replies
Message 1 of 6

Autodesk Revit - Shared Parameters 2015 -> 2016

Anonymous
Not applicable

Hello,

 

I have an error when using my plugin with Revit 2016.

 

Here's the error

 

Méthode introuvable : 'Autodesk.Revit.DB.Definition Autodesk.Revit.DB.Definitions.Create(System.String, Autodesk.Revit.DB.ParameterType)'.

 

I've seen that the 2016 API delete the Autodesk.Revit.DB.Definitions.Create function, but I can't find what can I use instead.

 

Thanks in advance,

0 Likes
699 Views
5 Replies
Replies (5)
Message 2 of 6

Revitalizer
Advisor
Advisor

Hi,

 

RevitAPI.chm says that Create method needs an "ExternalDefinitionCreationOptions" object.

 

There are 24 matching lines when searching that name in the SDK.

 

See also:

http://forums.autodesk.com/t5/revit-api/rtfm-and-using-the-search-function/td-p/5822690

 

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes
Message 3 of 6

jeremytammik
Autodesk
Autodesk

I agree with Revitaliser!

 

RTFM indeed.

 

Here is more:

 

http://thebuildingcoder.typepad.com/blog/2015/06/cnc-direct-export-wall-parts-to-dxf-and-sat.html#20...

 

Cheers,

 

Jeremy



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

0 Likes
Message 4 of 6

tdivittis
Advocate
Advocate

Why  bother replying?  If the OP was an expert, with access to the information at your fingertips, they wouldn't need to post questions here.

0 Likes
Message 5 of 6

jeremytammik
Autodesk
Autodesk

Dear Tdivittis,

 

Why have you posted this comment?

 

Both replies above contain valuable links to important relevant information, accessible at everybody's fingertips.

 

As far as can be told, they helped resolve the issue

 

Cheers,

 

Jeremy



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

0 Likes
Message 6 of 6

tdivittis
Advocate
Advocate

"RTFM indeed" caught my eye.  If I misunderstood, I sincerely apologize.

 

I'm a 'dirt guy' (civil), trying to help someone with some code for updating shared parameters using data compiled from other sources, and was a bit tired/frustrated when I wrote that comment, so it is quite possible I misread it.

0 Likes