Search found 11 matches

by corentin
18 Jun 2009, 12:25
Forum: CAD .NET
Topic: Save as DXF cadimport V7
Replies: 3
Views: 15627

Re: Save as DXF cadimport V7

Thank you Sergey, no file is created. But I have two new trouble: with library V7, when I try to create a "CadMText" , if I open the file created and I see the "TreeView" in "CADImport.NET EDITOR" the CadMText entity is became a CadText. Moreover I would like to use different Fonts for this CadMText...
by corentin
15 Jun 2009, 11:51
Forum: CAD .NET
Topic: Save as DXF cadimport V7
Replies: 3
Views: 15627

Save as DXF cadimport V7

Hello Sergey. The library CadImport V7 has resolved all my troubles, but today a new problem appeared. using the fallowwing code: private: void create_DXF(String^ pathTXT,String^ pathDXF,int W,int H) { CADImport::CADImage^ img = gcnew CADImport::CADImage(); CADImport::DRect size = CADImport::DRect(0...
by corentin
21 Apr 2009, 16:55
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

Hello Sergey. I have tested your code, it works perfectly,but when i remove entities and layers and i save to DXF file. ( i have 4 layers) If i open the file was been created , layers are come back. ( i have 6 layers) to save i use the fallowing code: this->CADviewer->SaveAsDXF(); how can i do??
by corentin
21 Apr 2009, 12:06
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

hello sergey,

can you explain to me , how can i delete a layer (with the entities) in a DXF file , when i use the cad viewer in the library cadimport.net ???

thanks you
by corentin
15 Apr 2009, 12:00
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

hello Sergey. today i have two troubles: 1) save my new DXF. 2) coordinates in the plan. For save my plan , i have test your code: this.cadViewerControl1.SaveAsDXF(@"c:\test.dxf"); but unfortunately save don't works. the file isn't create. have you an idea? For coodinates in the plan i will send you...
by corentin
14 Apr 2009, 20:15
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

Hello Sergey! I have bought a professional licence. I always have the same trouble with coordinates, i will send you an example. i have register my licence: ArrayList^ regDat = gcnew ArrayList(); regDat->Add("xxxxxx"); regDat->Add("xxxxxxx"); String^ Key = "xxxxxxxx"; Protection::Register(Key, regDa...
by corentin
09 Apr 2009, 20:21
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

Thank you, for your help. I have found un Bug with the "CADViewerControl" class. I use the GetRealPoint(x,y) method to determinate where i click, but when the scale is more than 100%, coordinates in the "StatusBarPanel" is wrong, i can't explain this. i have the same trouble with this code: int x =v...
by corentin
08 Apr 2009, 11:49
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

thank you , for your reply.

i have an other question,
With the viewer i can't use any event ,like "mouseclick"etc... how can i do , for use it??

thank.
by corentin
06 Apr 2009, 18:06
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

thanks you, it works perfectly.

but i use the viewer form and when in click to show the layer form, my new layer, isn't in the list although my polyline is on the screen! have you an idea?
by corentin
06 Apr 2009, 16:59
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

Re: copy layer from DXF to DXF

hello!

can you explain to me ,how create a new layer please?
by corentin
06 Apr 2009, 13:07
Forum: CAD .NET
Topic: copy layer from DXF to DXF
Replies: 16
Views: 67423

copy layer from DXF to DXF

Hello, Sergey!

I would like to be able to import a second DXF and copy one layer, and paste this layer( with the entities) on my first DXF all entities.
I have try a lot of exemple in this forum, but i have not find any solution.

have you an exemple for me please?.