Search found 19 matches
- 26 Jan 2009, 20:10
- Forum: CAD .NET
- Topic: Problem with export to DXF
- Replies: 4
- Views: 20310
Re: Problem with export to DXF
Sergey, after some testing I have follows: everything goes right if I add my custom polyline directly to cadImage: this.cadImage.Converter.Entities.Add(myPolyline); Everything that I try to add to block / insert is not visible on the screen in dxf file. Everything that I add to cadImage directly wor...
- 26 Jan 2009, 18:06
- Forum: CAD .NET
- Topic: Problem with export to DXF
- Replies: 4
- Views: 20310
Re: Problem with export to DXF
Sergey, I cannot provide you with all code it is complex, but my schema is like this: 1. I create my own class Polyline wich inherits from CADPolyline. ...Create polyline adding some vertexes and add it to block (my own class) 2. I create my own class Block which inherits from CADBlock and adds it t...
- 23 Jan 2009, 20:27
- Forum: CAD .NET
- Topic: Problem with export to DXF
- Replies: 4
- Views: 20310
Problem with export to DXF
Hello, Sergey! I have a problem with export of my drawing (created from scratch) to DXF, which I do with the following code: CADImport.Export.DirectCADtoDXF.CADtoDXF exp = new CADImport.Export.DirectCADtoDXF.CADtoDXF(cadImage); exp.SaveToFile("C:\\...\\dxf.dxf"); The resulted file is empty (4K) - se...
- 15 Jan 2009, 18:36
- Forum: CAD .NET
- Topic: Add Gradient Color
- Replies: 2
- Views: 13330
Add Gradient Color
Hi Sergey, Can you please clarify how to add gradient color to the shape built with polyline? Help file is not very explanative. The first question is adding Boundaries . Does it mean that I have to always use 2DBoundaryList to add them? Can I add any entity as a border? And where I can find Boundar...
- 14 Jan 2009, 20:59
- Forum: CAD .NET
- Topic: Problem with rotation of drawing
- Replies: 5
- Views: 21970
Re: Problem with rotation of drawing
Do you have an estimate on when this problem will be resolved?
Is there a work around for this issue?
Thank you.
Is there a work around for this issue?
Thank you.
- 09 Jan 2009, 23:27
- Forum: CAD .NET
- Topic: Problem with rotation of drawing
- Replies: 5
- Views: 21970
Problem with rotation of drawing
Sergey, I have a big problem with X-axis rotation. Can you clarify me this issue? I created 3D shape with copying one polyline to another adding some height to Z-axis vertexes... Both polylines were added to block, so as I understand they should behave the same while making X-axis rotation (the shap...
- 07 Jan 2009, 21:09
- Forum: CAD .NET
- Topic: How to draw with poliline
- Replies: 11
- Views: 42667
Re: How to draw with poliline
Sergey,
drawing with polyline I met one more problem that I need your clarification.
In my drawing I need to emphasize some parts of it either with didfferent color or different line weight. Is it possible for polylines and how? I didn't find that answer in your examples.
Elena
drawing with polyline I met one more problem that I need your clarification.
In my drawing I need to emphasize some parts of it either with didfferent color or different line weight. Is it possible for polylines and how? I didn't find that answer in your examples.
Elena
- 22 Dec 2008, 17:42
- Forum: CAD .NET
- Topic: How to draw with poliline
- Replies: 11
- Views: 42667
Re: How to draw with poliline
Sergey, your answer is not very clear for me and maybe is too emotional. I don't ask you to calculate anything, sorry if my words can be interpreted that way. I try to solve the same problem as other clients of yours in the forum do - finding an easiest way to represent 3D part. From your examples I...
- 19 Dec 2008, 19:11
- Forum: CAD .NET
- Topic: How to draw with poliline
- Replies: 11
- Views: 42667
Re: How to draw with poliline
Sergey, does your answer mean, that creating polylines with 3D coordinates I get a 2D representation of the drawing (Z-axis is outside the screen), but rotating the part around X and Y axices gives me the proper 3D representation? In other words I don't have to worry about calculating angles for dra...
- 14 Dec 2008, 19:13
- Forum: CAD .NET
- Topic: Accessing entities by key
- Replies: 4
- Views: 18002
Re: Accessing entities by key
There is also interesting thing.
For all entities except lines work also the code
For lines work only
For all entities except lines work also the code
Code: Select all
entity.KeyEnt = key;
block.AddEntity(entity);
Code: Select all
block.Entities[key]=key;
- 13 Dec 2008, 16:15
- Forum: CAD .NET
- Topic: Accessing entities by key
- Replies: 4
- Views: 18002
Re: Accessing entities by key
I use
block.Entities[key]=entity;
But the problem seems to be resolved. I didn't change the key from your example in all my functions.
block.Entities[key]=entity;
But the problem seems to be resolved. I didn't change the key from your example in all my functions.
- 13 Dec 2008, 15:41
- Forum: CAD .NET
- Topic: How to draw with poliline
- Replies: 11
- Views: 42667
Re: How to draw with poliline
Sergey, I tryed your example, it seems that it is exactly what I was looking for. I still have a problem. When I try to change z coordinates from your example, nothing change in drawing. But changing X and Y coordinates change the image. Can it be something wrong with my original parameters/mapping,...
- 12 Dec 2008, 17:08
- Forum: CAD .NET
- Topic: 3D drawing in CADImport
- Replies: 5
- Views: 20104
Re: 3D drawing in CADImport
Yes, I have on the screen some kind of zooming window with some entities f.ex. blocks in it... And the question connected to this task - can I change some properties (color, size, etc...) for the entire block. I have seen these properties for the block entity, but it doesn't seem to perform the task...
- 11 Dec 2008, 20:55
- Forum: CAD .NET
- Topic: Accessing entities by key
- Replies: 4
- Views: 18002
Accessing entities by key
Sergey, Sorry, I have one more confusion in understanding of accessing entities inside the collection of block. As I understand, I can assign any string key to the entity in order to access it directly without looping through the entire collection. However, when I check AllKeys property of my block,...
- 11 Dec 2008, 17:50
- Forum: CAD .NET
- Topic: How to draw with poliline
- Replies: 11
- Views: 42667
Re: How to draw with poliline
Sergey, thank you for your reply. It is very helpful, honestly. At this point I have only one problem with drawing polylines. I am still not sure about adding arcs. I assume that the best thing about polyline is adding entities to it without thinking about coordinates, just using start/end points. F...