Find Stuctural Elements NullReferenceException
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to find the Structural elements on selection is there any difference in the code when we select the Architecture and Structural templates, I ideally I though there should not be any difference. But when I run the on the Structure template it gives me nullpointer reference error. I have the Structural wall.
[Window Title]
Run Macro Failed
[Main Instruction]
Revit failed to execute FindElement.
[Expanded Information]
A problem has been detected.
System.NullReferenceException: Object reference not set to an instance of an object.
at MacroModule.executeMacro_(MacroModule* , AString* macroName)
at MacroModule.executeMacro(MacroModule* , AString* )
at UIMacroGeneralManager.runMacro(UIMacroGeneralManager* , MacroModule* pModule, AString* macroName)
[^] Hide details [Close]