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); }
public static void CmdJointsOn(vdDocument doc) { vdLayers layrs = doc.Layers; foreach (vdLayer vlay in layrs) { if (vlay.Name == "Nodes") { vlay.Frozen = true; } } }
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; } } }
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); //} }
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); } }