Search found 8 matches

by CoffeeShop
16 Jul 2019, 18:02
Forum: CAD .NET
Topic: Question about CADViewerControl
Replies: 4
Views: 9135

Re: Question about CADViewerControl

I study this control for a week. Although it has a bit hard to use, but I think it awesome.

Thanks for your help, Mikhail :D
by CoffeeShop
15 Jul 2019, 05:57
Forum: CAD .NET
Topic: Question about CADViewerControl
Replies: 4
Views: 9135

Re: Question about CADViewerControl

I change buttons on design time. I want to change it by code on run time but no see property.
Ex: disable open button on toolbar
Could you help me some code? :)

what event of CADViewerControl is fired when user select graphical object on its face (not select on entity treeview)?
by CoffeeShop
12 Jul 2019, 20:51
Forum: CAD .NET
Topic: Question about CADViewerControl
Replies: 4
Views: 9135

Question about CADViewerControl

1/ how can disable left panel? I set false value for entity and property,but left panel still visible.
2/ i disable some buttons on toolbar but it not works. when i close and reopen form, it visible all like default
by CoffeeShop
11 Jul 2019, 08:28
Forum: CAD .NET
Topic: highlight an object in cadPictBox
Replies: 7
Views: 8601

Re: highlight an object in cadPictBox

Thanks Mikhail. It works ok. I can change color of Text object, but it not work on MText. I saw every object has a handle number. Is this unique on cad file? Shared Function ChangeColorByText(cadImage As CADImage, objType As EntityType, _text As String, newColor As Color) As Boolean If cadImage Is N...
by CoffeeShop
11 Jul 2019, 02:50
Forum: CAD .NET
Topic: Please let me know how I can get entire blocks and layers and their properties
Replies: 8
Views: 10351

Re: Please let me know how I can get entire blocks and layers and their properties

Hello Shiv, Thank you for the information. Is the product category reflected in a block name? Let's say, "Hm_Product1Block", "Sm_Product1Block", "Gm_Product1Block", where "Hm" means hypermarket, "Sm" means supermarket and "Gm" - grocery market. Mikhail That's right. My ideas is the same with Shiv :)
by CoffeeShop
10 Jul 2019, 20:41
Forum: CAD .NET
Topic: highlight an object in cadPictBox
Replies: 7
Views: 8601

Re: Find a location of specif text

support wrote:
10 Jul 2019, 19:22
Do you want to highlight CADInsert object(s) by a given block name?
yes.
Ex: object has 1 in 3 status: normal(black),red,blue
when open cad file, I want to change its color based on status by a given block name.
by CoffeeShop
10 Jul 2019, 16:16
Forum: CAD .NET
Topic: highlight an object in cadPictBox
Replies: 7
Views: 8601

highlight an object in cadPictBox

please help me some questions 1/ I want to highlight an object in cadPictBox when I select it in treeview. ex: block, text... 2/ when my clients open a cad file, it shows many objects in cadPictBox. how to config some objects allow selection and some not. ex: allow select block, text; not allow sele...
by CoffeeShop
10 Jul 2019, 05:47
Forum: CAD .NET
Topic: highlight an object in cadPictBox
Replies: 7
Views: 8601

Re: Find a location of specif text

Hi,
I want to highlight an object in cadPictBox by select blockname or how to know this object is selected.
How can I do it ?