Good day, I'm having a difficulty making changes to an existing corridor. I went to [corridor creation tools] => [corridor objects] .
Problem 1: I then get a message "Object reference to set to an instance of an object".
Problem 2: I get an exception bellow
Exception caught in source file e:\Builds\cif10070318\Source\Cif\src\managed\objects\presentation\ComplexManipulatorBase.cs at method OnCreateControls ================================================================================ Exception : Object reference not set to an instance of an object. In Assembly : Bentley.CifNET.Model.DataAccess.4.0 Stack Trace : at Bentley.CifNET.Model.DataAccess.DgnECObjectSpaceDataBroker.GetRelatedInstances(IECInstance instance, DirectedRelationship relation, GetRelatedInstanceOptions options) at Bentley.CifNET.Objects.DataAccess.InstanceCache.RelationshipCache.GetRelatedInstances() at Bentley.CifNET.Objects.Engine.Instance.LoadRelationships(DirectedRelationship relation, Boolean noReadOnly) at Bentley.CifNET.Objects.Engine.BaseObjectList.CheckStateAndLoad() at Bentley.CifNET.Objects.Engine.BaseObjectList.<GetBuckets>d__98.MoveNext() at Bentley.CifNET.Objects.Engine.Instance.GetRelatedObjects(DependentObjectsFilter filter, DependentObjectsGatherer gatherer) at Bentley.CifNET.Objects.Engine.ObjectSpacesDictionary.GetDependent(Object obj, DependentObjectsFilter filter, DependentObjectsGatherer gatherer) at Bentley.CifNET.Objects.RuleManagement.RuleManager.GetInterstedLinksInternal(Object obj, ObjectChangeInfo rootChange, Boolean isRepresentationChange, Boolean isDifferentForPresentationSynchronization, Object substitute, Boolean isTarget, TypeIndex typeIndex, DirectedRelationship sourceRelation, Boolean isPresentation, Boolean allowSubstitute, Boolean notInteresredByReadOnlyRelated) at Bentley.CifNET.Objects.RuleManagement.RuleManager.<GetRulesAffectingObject>d__22.MoveNext() at Bentley.CifNET.Model.Presentation.ModelHandlerProvider.FriendRulesProvider.<GetFriendsForManipulators>d__1.MoveNext() at Bentley.CifNET.Objects.Presentation.FriendProvider.<GetFriendsForManipulators>d__3.MoveNext() at Bentley.CifNET.Objects.Presentation.FriendsManager.AddManipulatorControlsOfFriends(IObjectSpace objectSpace, IEnumerable`1 friends, ComplexManipulatorControlCache manipulator, ECInstanceList ecInstances) at Bentley.CifNET.Objects.Presentation.FriendsManager.AddManipulatorControlOfFriends(IObjectSpace objectSpace, ObjectReference objRef, ComplexManipulatorControlCache manipulator, ECInstanceList ecInstances) at Bentley.CifNET.Objects.Presentation.ComplexManipulatorBase.ComplexManipulatorObjectContext.AddAllManipulatorControlsForObject(ObjectKey ecKey, ComplexManipulatorControlCache manipulator, ECInstanceList ecInstances) at Bentley.CifNET.Objects.Presentation.ComplexManipulatorBase.CreateOrUpdateManipulators() at Bentley.CifNET.Objects.Presentation.ComplexManipulatorBase.OnCreateControls(IManipulatorUtils utils) at Bentley.CifNET.Objects.Presentation.ComplexManipulatorBase.Bentley.CifNET.Objects.Presentation.IDragManipulator.OnCreateControls(IManipulatorUtils utils)
Good day, I'm using Open Rail Designer (2019 Release 2) version 10.07.03.18.
Thanks.
I think the file was corrupt. I had to redo the work. I'm now able to make changes to my corridor.
Thanks for your input.