Message 1 of 2
Unable to commit in BIM360 file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have one tool to update some parameter values. However, while its going to update the same parameter into BIM360 shared model its throwing an error ..
Please, help how to manage this:
After that Applied this:
class SurveyElevationCommitPreprocessor : IFailuresPreprocessor
{
public FailureProcessingResult PreprocessFailures(FailuresAccessor failuresAccessor)
{
IList<FailureMessageAccessor> failList = new List<FailureMessageAccessor>();
failList = failuresAccessor.GetFailureMessages();
foreach (FailureMessageAccessor failure in failList)
{
FailureDefinitionId failID = failure.GetFailureDefinitionId();
if (failID == BuiltInFailures.RoomFailures.RoomTagNotInRoom ||
failID == BuiltInFailures.RoomFailures.RoomTagNotInRoomToArea ||
failID == BuiltInFailures.RoomFailures.RoomTagNotInRoomToRoom ||
failID == BuiltInFailures.RoomFailures.RoomTagNotInRoomToSpace)
{
failuresAccessor.DeleteWarning(failure);
}
}
return FailureProcessingResult.ProceedWithCommit;
}
}
Not, getting expected result.