Search found 13 matches

by dlwotj4274
25 Sep 2019, 09:36
Forum: CAD .NET
Topic: How to get a line's start and end point
Replies: 1
Views: 2948

How to get a line's start and end point

I found that 2DLine Class has a StartPoint and EndPoint member. so I want to extract line's start point and end point in CadImage However, I'm confusing how to approach 2Dline Class in CadImage. I wrote a cod like this. public static List<2DPoint> GetLineDataFromCad(CADImage cadImage) { List<2DPoint...
by dlwotj4274
25 Sep 2019, 05:24
Forum: CAD .NET
Topic: Get a text from table
Replies: 3
Views: 4079

Re: Get a text from table

Is there way to know whether line is vertical or horizontal?
by dlwotj4274
24 Sep 2019, 04:47
Forum: CAD .NET
Topic: Get a text from table
Replies: 3
Views: 4079

Get a text from table

Hello

I'm trying to get a text from table.

I would like to extract texts from table and make a list of texts.

Should I do explode a table and get a table or

Is there any way to more easy?

Image
by dlwotj4274
30 Jul 2019, 04:35
Forum: CAD .NET
Topic: Open file problem
Replies: 1
Views: 4829

Open file problem

I'm working with CADEditorControlDemo.

Is it possible to open a dwg file without open dialog?

I would like to open a dwg file by file path which I was already known.

I know that I can use 'vDrawing.LoadFromfile(path). However is it need to have a Image in winform?
by dlwotj4274
09 Jul 2019, 09:42
Forum: CAD .NET
Topic: CADVertex ouput problem
Replies: 1
Views: 4476

CADVertex ouput problem

Hello I got polylines from block and polyines's vertexes. I made a list for each values of point x and point y from vertexs. I would like to write these values in console. It is a code that I wrote. I'm having a difficult to approach CADVertex Class. if (block.Entities .EntType == EntityType.LWPolyl...
by dlwotj4274
02 Jul 2019, 11:30
Forum: CAD .NET
Topic: Find a rectangle(box) from block
Replies: 3
Views: 8751

Re: Find a rectangle(box) from block

Thank you for your comment

I'm trying to get a rectangle from block.

Could I find a intesection(crossing) of two lines or polylines by using DPoint. Cross Method?
by dlwotj4274
01 Jul 2019, 04:02
Forum: CAD .NET
Topic: Find a rectangle(box) from block
Replies: 3
Views: 8751

Find a rectangle(box) from block

Hello I would like to get a rectangle(box) which is enclosed by lines and polylines in a block. https://i.ibb.co/mS8w6v3/block.png It is a block. it was drown by lines and polylines for rectangle. I want to get a each of boxes of handle, location something like that. Thank you for your support alway...
by dlwotj4274
26 Jun 2019, 11:01
Forum: CAD .NET
Topic: Location of block in the EditorDemo
Replies: 1
Views: 5938

Location of block in the EditorDemo

Hello When I click a block in the EditorDemo, I can see a location of block . https://i.ibb.co/zx17x5d/block-location.png I think that I can get a location of block by using CADInsert.Point. I would like to know how to get this location by CADBlock instance. I got a block instance by the blockname. ...
by dlwotj4274
21 Jun 2019, 05:55
Forum: CAD .NET
Topic: How do I get blocks name?
Replies: 5
Views: 8829

Re: How do I get blocks name?

Thanks for your support. Sorry to bothering you. Could you give me any example how to use this function? You gave me how to find texts of block. However I'm hard to find a way to use this function. Input parameter is the CADBlock block. Then Should I get a handle of blocks? For example, There is a b...
by dlwotj4274
21 Jun 2019, 03:37
Forum: CAD .NET
Topic: Find a location of specif text
Replies: 3
Views: 7385

Re: Find a location of specif text

both. I want to know location of specific text in layout and block.
by dlwotj4274
20 Jun 2019, 10:35
Forum: CAD .NET
Topic: Find a location of specif text
Replies: 3
Views: 7385

Find a location of specif text

Hello

I would like to know how to find a location of specific text
by dlwotj4274
20 Jun 2019, 03:18
Forum: CAD .NET
Topic: How do I get blocks name?
Replies: 5
Views: 8829

Re: How do I get blocks name?

Thanks for your reply. Could I ask another question? https://a.imge.to/2019/06/20/UvXGU.png It is our drawing template as block we would like to get a data from certain location of text from this blocks origin. Is it possible to implement this sequence? 1. Find the most largest block(template in dra...
by dlwotj4274
19 Jun 2019, 08:06
Forum: CAD .NET
Topic: How do I get blocks name?
Replies: 5
Views: 8829

How do I get blocks name?

How do I know whether blocks are exist or not. also I would like to know how to get their name.