Message 1 of 2
NewCrossFitting nondescriptive exception thrown

Not applicable
11-11-2010
03:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to create a cross fitting by calling Owner.Document.Create.NewCrossFItting, passing in 4 connectors to pipes that are on the same plane and lie along orthogonal lines. I've verified that the connectors are all at the same point.
When I try to call NewCrossFitting, an InvalidOperationException is thrown, with a message stating the obvious:
"failed to insert cross"
Are there many scenarios where this exception can be thrown, or does it have one specific meaning? If the former, is there a way to make a feature request of the revit developers to write exception descriptions that aren't totally useless?