XRayManagerEnable Property |
Namespace: VIZCore3D.NET.Manager
private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Search() { List<string> keyword = new List<string>(); keyword.Add("PIPE_01_*"); keyword.Add("PIPE_02_*"); keyword.Add("PIPE_03_*"); keyword.Add("PIPE_04_*"); List<VIZCore3D.NET.Data.Node> items = vizcore3d.Object3D.Find.QuickSearch( keyword , false /* Join Condition : True - And, False - Or */ , true /* True : Assembly Only, False : Assembly + Part */ , false /* True : Visible Only, False : All Node */ , false /* True : Selected Object, False : All Node */ , false /* True : Full Match, False : Contains */ , false /* True : Include Node Path, False : Except Node Path */ ); if (vizcore3d.View.XRay.Enable == false) vizcore3d.View.XRay.Enable = true; vizcore3d.View.XRay.SelectionObject3DType = VIZCore3D.NET.Data.SelectionObject3DTypes.OPAQUE_OBJECT3D; vizcore3d.View.XRay.ColorType = VIZCore3D.NET.Data.XRayColorTypes.OBJECT_COLOR; vizcore3d.View.XRay.Select( items /* Node */ , true /* Selection */ , true /* Set Rotation Pivot */ ); }