Example #1
0
        public override void GetTableDependecies(vdLayers layers, vdBlocks blocks, vdDimstyles dimstyles, vdLineTypes linetypes, vdTextstyles textstyles, vdImages images, vdHatchPatterns hatchpatterns, object breakOnObject, ref bool breakObjectFound)
        {
            //Since there no extra dependencies the base call is enough.

            vdTableDependeciesArgs vd = new vdTableDependeciesArgs();

            //base.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);
            base.GetTableDependecies(vd);
        }
Example #2
0
        public static void CmdJointsOn(vdDocument doc)
        {
            vdLayers layrs = doc.Layers;

            foreach (vdLayer vlay in layrs)
            {
                if (vlay.Name == "Nodes")
                {
                    vlay.Frozen = true;
                }
            }
        }
Example #3
0
        public static void CmdJointsOff(vdDocument doc)
        {
            vdLayers layrs = doc.Layers;

            for (int i = 0; i < doc.Layers.Count; i++)
            {
                if (doc.Layers[i].Name == "Nodes")
                {
                    doc.Layers[i].Frozen = false;
                    doc.Redraw(true);
                    return;
                }
            }
        }
Example #4
0
 public override void GetTableDependecies(vdLayers layers, vdBlocks blocks, vdDimstyles dimstyles, vdLineTypes linetypes, vdTextstyles textstyles, vdImages images, vdHatchPatterns hatchpatterns, object breakOnObject, ref bool breakObjectFound)
 {
     if (breakOnObject != null && breakObjectFound)
     {
         return;
     }
     if (Deleted)
     {
         return;
     }
     //base.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);
     //if (this.mhatchprops != null)
     //{
     //    mhatchprops.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);
     //}
 }
Example #5
0
        public override void GetTableDependecies(vdLayers layers, vdBlocks blocks, vdDimstyles dimstyles, vdLineTypes linetypes, vdTextstyles textstyles, vdImages images, vdHatchPatterns hatchpatterns, object breakOnObject, ref bool breakObjectFound)
        {
            if (breakOnObject != null && breakObjectFound)
            {
                return;
            }
            if (Deleted)
            {
                return;
            }
            //base.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);


            vdTableDependeciesArgs vd = new vdTableDependeciesArgs();

            //base.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);
            base.GetTableDependecies(vd);

            if (textstyles != null)
            {
                textstyles.AddItem(mTextStyle);
                if (breakOnObject != null && object.ReferenceEquals(breakOnObject, mTextStyle))
                {
                    breakObjectFound = true;
                    return;
                }
            }
            if (mTextStyle != null)
            {
                vdTableDependeciesArgs vt = new vdTableDependeciesArgs();
                //base.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);

                base.GetTableDependecies(vt);

                //mTextStyle.GetTableDependecies(layers, blocks, dimstyles, linetypes, textstyles, images, hatchpatterns, breakOnObject, ref breakObjectFound);
            }
        }