Beispiel #1
0
        internal AcadDictionary FriendAddAcadObject(string vstrName, double vdblObjectID, ref string nrstrErrMsg = "")
        {
            AcadDictionary dobjAcadDictionary3 = new AcadDictionary();
            AcadDictionary acadDictionary      = dobjAcadDictionary3;

            acadDictionary.Name = vstrName;
            acadDictionary.FriendLetNodeParentID     = base.NodeID;
            acadDictionary.FriendLetApplicationIndex = base.FriendGetApplicationIndex;
            acadDictionary.FriendLetDocumentIndex    = base.FriendGetDocumentIndex;
            acadDictionary.FriendLetDatabaseIndex    = base.FriendGetDatabaseIndex;
            acadDictionary.FriendLetOwnerID          = base.ObjectID;
            AcadDictionary acadDictionary2 = acadDictionary;
            AcadObject     nrobjAcadObject = dobjAcadDictionary3;
            bool           flag            = acadDictionary2.FriendSetObjectID(vdblObjectID, ref nrobjAcadObject, ref nrstrErrMsg);

            dobjAcadDictionary3 = (AcadDictionary)nrobjAcadObject;
            bool dblnValid = default(bool);

            if (flag)
            {
                acadDictionary.FriendAddReactorsID(base.ObjectID, 330);
                dblnValid = true;
            }
            else
            {
                hwpDxf_Functions.BkDXF_DebugPrint(acadDictionary.ObjectName + ": " + nrstrErrMsg);
            }
            acadDictionary = null;
            AcadDictionary FriendAddAcadObject = default(AcadDictionary);

            if (dblnValid && FriendAddItem(vstrName, dobjAcadDictionary3))
            {
                FriendAddAcadObject = dobjAcadDictionary3;
            }
            dobjAcadDictionary3 = null;
            return(FriendAddAcadObject);
        }
Beispiel #2
0
        public AcadDictionary GetExtensionDictionary()
        {
            AcadDictionary GetExtensionDictionary = default(AcadDictionary);

            return(GetExtensionDictionary);
        }