Ejemplo n.º 1
0
        public bool CanAddPlanSetup(StructureSet structureSet)
        {
            var local  = this;
            var retVal = X.Instance.CurrentContext.GetValue(sc =>
            {
                return(local._client.CanAddPlanSetup(structureSet._client));
            });

            return(retVal);
        }
Ejemplo n.º 2
0
        public ExternalPlanSetup AddExternalPlanSetup(StructureSet structureSet)
        {
            var local  = this;
            var retVal = X.Instance.CurrentContext.GetValue(sc =>
            {
                return(new ExternalPlanSetup(local._client.AddExternalPlanSetup(structureSet._client)));
            });

            return(retVal);
        }
Ejemplo n.º 3
0
        public bool CanRemoveEmptyPhantom(StructureSet structureset, out string errorMessage)
        {
            var errorMessage_OUT = default(string);
            var local            = this;
            var retVal           = X.Instance.CurrentContext.GetValue(sc =>
            {
                return(local._client.CanRemoveEmptyPhantom(structureset._client, out errorMessage_OUT));
            });

            errorMessage = errorMessage_OUT;
            return(retVal);
        }
Ejemplo n.º 4
0
        public ExternalPlanSetup AddExternalPlanSetupAsVerificationPlan(StructureSet structureSet,
                                                                        ExternalPlanSetup verifiedPlan)
        {
            var local  = this;
            var retVal = X.Instance.CurrentContext.GetValue(sc =>
            {
                return(new ExternalPlanSetup(
                           local._client.AddExternalPlanSetupAsVerificationPlan(structureSet._client,
                                                                                verifiedPlan._client)));
            });

            return(retVal);
        }
Ejemplo n.º 5
0
        public void RemoveEmptyPhantom(StructureSet structureset)
        {
            var local = this;

            X.Instance.CurrentContext.Thread.Invoke(() => { local._client.RemoveEmptyPhantom(structureset._client); });
        }