Search found 20 matches

by sen
22 Jul 2016, 08:04
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Hi Mikhail,

it works perfectly

Thank
Sen
by sen
22 Jul 2016, 06:54
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Ok thank a lot , I will implemented it in our test project and inform you the result

Thank again
Sen
by sen
20 Jul 2016, 04:59
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Thank you waiting for your investigation.


TIA
Sen
by sen
14 Jul 2016, 06:28
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Hi Mikhail, The coordinate text.box.center is converted using GetRealPointNote meanwhile the CurvePolygon not necessary since its already global. I believed I have follow all your instruction but still got wrong coordinate text.box.center (after convert using GetRealPointNote ) 3783860.25 -2003823.7...
by sen
12 Jul 2016, 13:12
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Its seem the culprit is in private DPoint GetRealPointNode(DPoint val) { return cadParams.matrix.PtXMat(val); } While entity from text, I pass the Box.Center.X and Box.Center.Y to the GetRealPointNode function the result DPoint value is different from the original. But when I pass each CurvePolygon....
by sen
12 Jul 2016, 07:34
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

Re: How to know which hatch/CurvePolygon an entity belong to

Hi Mikhail, For item.ThisHatch_CP its from CurvePolygon entity from iterate loop, I modify the ImportDemo examples adding ImportCurvePolygonXML. private void ImportCurvePolygonXML(CADCurvePolygon CurvePolygon) { if (CurvePolygon.Layer.Color ==CurvePolygon.Color ) { na.Color_ByLayer = true; na.Color_...
by sen
12 Jul 2016, 07:03
Forum: CAD .NET
Topic: How to change value
Replies: 8
Views: 40860

Re: How to change value

Thank you for your information
by sen
11 Jul 2016, 14:24
Forum: CAD .NET
Topic: How to know which hatch/CurvePolygon an entity belong to?
Replies: 10
Views: 57538

How to know which hatch/CurvePolygon an entity belong to?

Hi Mikhail, How to know which hatch/CurvePolygon an entity belong to (Covering to)? I try loop using entity.box.center and CurvePolygon.boundaries properties but it's seem they each have difffrent coordinate measurement. Although in the PictureBox the entity is inside the Hatch/CurvePolygon but the ...
by sen
11 Jul 2016, 06:44
Forum: CAD .NET
Topic: How to change value
Replies: 8
Views: 40860

Re: How to change value

Hi Mikhail, It works thank you very much. Is this "CurvePolygon" inside the Block are standard in Autocad drawing or just because special design/drawing of current Autocad file (my file only) ? And regarding property Box.Center.X and Box.Center.Y is these coordinate are reliable to get the coordinat...
by sen
07 Jul 2016, 12:24
Forum: CAD .NET
Topic: How to change value
Replies: 8
Views: 40860

Re: How to change value

Hi Mikhail, Thank you it work, set UseDoubleBuffering=false the text is updated. But now how about to the change the HATCH color property. The first issue is, how to get all the HATCH entity, ? I try 2 method , it seem both could not get the HATCH entity inside the BLOCK, the DWG file is the same I ...
by sen
04 Jul 2016, 10:48
Forum: CAD .NET
Topic: How to change value
Replies: 8
Views: 40860

Re: How to change value

Hi Mikhail, I'm still not success, I remark onDraw Event in the examples but still no success. After Remark private void cadPictBox_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { //if (loadFileThread != null) //{ // if (loadFileThread.IsAlive) // { // // // // Updated later // // // t...
by sen
01 Jul 2016, 05:46
Forum: CAD .NET
Topic: How to change value
Replies: 8
Views: 40860

How to change value

Hello, How to change the values ie text, I'd try Converter.Load and Refresh the image simple do not change, where did I made mistake? I'm using DXF and dll 11 version foreach (var item in cadImage.Layouts[0].Entities) { if (item.EntType==EntityType.Text) { (item as CADText).Text = "SOMECHANGES"; } i...
by sen
01 Jul 2016, 04:56
Forum: CADEditorX
Topic: How to customize CADEditorX?
Replies: 7
Views: 51183

Re: How to customize CADEditorX?

Thank for your information.

About no.4 since using XML to interact is new to us, how to do CADImage.Convert.Entitites in CADEditorX ?

I want to get all the entities (very simple in CAD.NET), and some entities inside the block I want to change the text and color how we do this ?
by sen
01 Jul 2016, 04:31
Forum: CAD .NET
Topic: Property to see entity is delete or active
Replies: 10
Views: 42684

Re: Property to see entity is delete or active

I see thank you for your time.

Any future plan to support this in next release ?
by sen
29 Jun 2016, 10:26
Forum: CADEditorX
Topic: How to customize CADEditorX?
Replies: 7
Views: 51183

Re: How to customize CADEditorX?

Hi, I just starting CADEditorX Prev using CAD .Net examples is very easy. How to: 1. Hide all toolbar/menu/etc only to show the Image only like CAD .Net ImageControl 2. How to make the Image readonly user can only see/zoom no edit 3. I'm using trial version when I click ActiveX properties nothing ha...