Spell check by importing & exporting revit text data to word (.doc)

Hello everyone, am trying to create spell check script , but don’t know from where to start. please tell me if there is any way.Thank you

You can try using the Microsoft Word interop in a python node. Here’s an example of how to use the Word interop from the IronPython cookbook. It looks like you might be able to use the CheckSpelling method directly on a string without creating a document. Something like check = Microsoft.Office.Interop.Word._Application.CheckSpelling('sample'). If this returns true, you can then use the GetSpellingSuggestions method. I don’t have access to Word so I can’t test any of this myself, but hopefully that gives some sort of direction.

1 Like

Here’s another way: https://archi-lab.net/spell-checking-w-dynamo/