suppress warning > new warning with only 'cancel' button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In my model there are a few familyinstances with an aligned dimension attached to them. When I rotate one of these familyinstances I receive an error dialog: "Error - cannot be ignored. The References of the highlighted Dimension are no longer parallel." Now I have the option to click 'remove references' or click 'cancel' (the button 'ok' is inaccessible / grayed out). 'Remove references' removes the references and Revit continues.
However when I try to suppress this warning (FailureDefinitionId = BuiltInFailures.DimensionFailures.LinearConstraintNotParallel) by using FailuresAccessor.delete(FailureMessageAccessor) in order to delete the references a new error dialog pops up. It is the same one as "Error - cannot be ignored. The References of the highlighted Dimension are no longer parallel" only without the button 'remove references'. Because the OK-button is not accessible I can only click 'Cancel' which rolles back previous transactions. Is there a way to get the warning suppressor to act like the 'normal user input'?
regards,
Raymond
