1
在Petrel中,是否可以使用海洋在輸入樹中複製粘貼項目?我需要在某個地方有一個特定的油井或戰略副本;我怎樣才能做到這一點?使用海洋在Petrel中複製粘貼項目...?
例如,如果我想有這口井的副本(myWell):
Tubing = e.Data.GetData(typeof(TubingString)) as TubingString;
Borehole myWell=Tubing.Borehole;
到我boreholecollection(Borhol):
WellRoot Welrot = Slb.Ocean.Petrel.DomainObject.Well.WellRoot.Get(PetrelProject.PrimaryProject);
BoreholeCollection Borhol = Welrot.BoreholeCollection;
還是有DevelopmentStrategy副本(oldStrategy):
EclipseFormatSimulator.Arguments args=WellKnownSimulators.ECLIPSE100.GetEclipseFormatSimulatorArguments(theCase);
DevelopmentStrategy oldStrategy=args.Strategies.DevelopmentStrategies.First();
到DevelopmentStrategyCollection(strategycol):
那些在海燕的複製/粘貼功能,實現所謂的ICopyable
接口
SimulationRoot simroot = SimulationRoot.Get(PetrelProject.PrimaryProject);
DevelopmentStrategyCollection strategycol=simroot.DevelopmentStrategyCollection;