Ejemplo n.º 1
0
 internal new void FriendQuit()
 {
     if (mblnOpened)
     {
         base.FriendQuit();
         mobjAcadGroups             = null;
         mobjAcadPlotStyleNames     = null;
         mobjAcadMLineStyles        = null;
         mobjAcadPlotConfigurations = null;
         mobjAcadLayouts            = null;
         mblnOpened = false;
     }
 }
Ejemplo n.º 2
0
        internal AcadPlotConfigurations FriendAddAcadObjectPlotConfigurations(double nvdblObjectID = -1.0, ref string nrstrErrMsg = "")
        {
            AcadPlotConfigurations dobjAcadPlotConfigurations3;

            if (mobjAcadPlotConfigurations == null)
            {
                dobjAcadPlotConfigurations3 = new AcadPlotConfigurations();
                if (nvdblObjectID == -1.0)
                {
                    nvdblObjectID = base.Database.FriendGetNextObjectID;
                }
                AcadPlotConfigurations acadPlotConfigurations = dobjAcadPlotConfigurations3;
                acadPlotConfigurations.FriendLetNodeParentID     = base.NodeID;
                acadPlotConfigurations.FriendLetApplicationIndex = base.FriendGetApplicationIndex;
                acadPlotConfigurations.FriendLetDocumentIndex    = base.FriendGetDocumentIndex;
                acadPlotConfigurations.FriendLetDatabaseIndex    = base.FriendGetDatabaseIndex;
                acadPlotConfigurations.FriendLetOwnerID          = base.ObjectID;
                AcadPlotConfigurations acadPlotConfigurations2 = acadPlotConfigurations;
                double     vdblObjectID    = nvdblObjectID;
                AcadObject nrobjAcadObject = dobjAcadPlotConfigurations3;
                bool       flag            = acadPlotConfigurations2.FriendSetObjectID(vdblObjectID, ref nrobjAcadObject, ref nrstrErrMsg);
                dobjAcadPlotConfigurations3 = (AcadPlotConfigurations)nrobjAcadObject;
                bool dblnValid = default(bool);
                if (flag)
                {
                    acadPlotConfigurations.FriendAddReactorsID(base.ObjectID, 330);
                    dblnValid = true;
                }
                else
                {
                    hwpDxf_Functions.BkDXF_DebugPrint(acadPlotConfigurations.ObjectName + ": " + nrstrErrMsg);
                }
                acadPlotConfigurations = null;
                if (dblnValid)
                {
                    mobjAcadPlotConfigurations = dobjAcadPlotConfigurations3;
                    FriendAddItem(mobjAcadPlotConfigurations.Name, mobjAcadPlotConfigurations);
                }
            }
            AcadPlotConfigurations FriendAddAcadObjectPlotConfigurations = mobjAcadPlotConfigurations;

            dobjAcadPlotConfigurations3 = null;
            return(FriendAddAcadObjectPlotConfigurations);
        }