Autodesk.Revit.Collections.StringStringMap ListaFiltros;

Autodesk.Revit.Collections.StringStringMap ListaFiltros;

Anonymous
Not applicable
454 Views
1 Reply
Message 1 of 2

Autodesk.Revit.Collections.StringStringMap ListaFiltros;

Anonymous
Not applicable

hello
I am making an application to load filters but it generates the following error in the following paragraph by the version of revit api
Autodesk.Revit.Collections.StringStringMap ListaFiltros;

knows which collections for revit 2014 amending?

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

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Jovana,

 

StringStringMap is an obsolete custom Revit API collection class mapping a string to a string.

 

As far as I know, you can replace it by a generic dictionary class mapping string to string, like in this sample from the Revit API help on the ExternalCommandData JournalData property:

 

  // Get the StringStringMap class which can write data into.
  IDictionary<String, String> dataMap = commandData.JournalData;
  dataMap.Clear();

 

Best regards,

 

Jeremy

 



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