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

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

            dobjAcadMLineStyles3 = null;
            return(FriendAddAcadObjectMLineStyles);
        }