Search found 18 matches
- 02 Sep 2009, 17:01
- Forum: CAD .NET
- Topic: Insert image failed with V7
- Replies: 7
- Views: 42794
Re: Insert image failed with V7
I thank you Alexander for yours answers. Now I manage to insert bitmap and to retrieve block and layer. But I get a new problem with the version V7. I manage to save a loading dwg into a dxf file with this code: string sPathFileName = @"c:\tmp\map.dxf"; CADImport.Export.DirectCADtoDXF.CADtoDXF vExp ...
- 25 Aug 2009, 15:27
- Forum: CAD .NET
- Topic: Insert image failed with V7
- Replies: 7
- Views: 42794
Re: Insert image failed with V7
I test with dll demo version 7.2.1.21993. Your example works partially, now picture appears in the map. For informations, the following code was the problem : V6: image.Point = new DPoint(0, 0, 0); image.Point1 = new DPoint(dbHeightImage, -dbHeightImage, 0); image.Point2 = new DPoint(0, 0, 0); image...
- 24 Jul 2009, 17:13
- Forum: CAD .NET
- Topic: Insert image failed with V7
- Replies: 7
- Views: 42794
Insert image failed with V7
Hello, I try the new version of cadimport.dll (Version 7.2.1.21993) but some code doesn't work now. With previous version ( V6.3.2942.31653), i manage to insert image with the following code : cadPictBox.DoubleBuffering = false; CADLayer entLayer = new CADLayer(); entLayer.Name = "MyLayer"; entLayer...
- 20 Nov 2008, 16:51
- Forum: CAD .NET
- Topic: EntitiesCreator
- Replies: 1
- Views: 11356
EntitiesCreator
Hello, I need to allow user to add lines and texts in editor. So i would like to use the class EntitiesCreator. I read sample EditorDemo and i copy codes in my application but when i click in map nothing appear, i don't get start of line. So i badly use EntitiesCreator but i don't find what is missi...
- 30 Sep 2008, 12:18
- Forum: CAD .NET
- Topic: Insert picture in a .dwg
- Replies: 5
- Views: 22123
Re: Insert picture in a .dwg
Thank you Sergey, it works fine.
How can i use arial font for user name showing by attribut? I know format font for MText but not for attribut.
How can i use arial font for user name showing by attribut? I know format font for MText but not for attribut.
- 26 Sep 2008, 19:27
- Forum: CAD .NET
- Topic: Insert picture in a .dwg
- Replies: 5
- Views: 22123
Re: Insert picture in a .dwg
Hello Sergey, I thank you for your previous answer. I managed to insert picture in block. Now i would to show a text under the picture. Each inserted entity represent an user in map. The picture is every time the same but i would like to show the name of the user under the picture. I think to use at...
- 01 Sep 2008, 19:25
- Forum: CAD .NET
- Topic: Extended Entity Data
- Replies: 5
- Views: 24761
Re: Extended Entity Data
Sergey,
Yes, i mean "Extended Entity Data" for entities.
I need to read "Extended Entity Data" of all entities of a layer of a dwg file.
yannick.
Yes, i mean "Extended Entity Data" for entities.
I need to read "Extended Entity Data" of all entities of a layer of a dwg file.
yannick.
- 01 Sep 2008, 16:50
- Forum: CAD .NET
- Topic: Extended Entity Data
- Replies: 5
- Views: 24761
Extended Entity Data
Hello,
Can CADImport.net read "Extended Entity Data"?
If yes :
- how it is link with entity?
- which class represent this data
- can you post a simple sample?
Best regards, yannick.
Can CADImport.net read "Extended Entity Data"?
If yes :
- how it is link with entity?
- which class represent this data
- can you post a simple sample?
Best regards, yannick.
- 26 Aug 2008, 14:57
- Forum: CAD .NET
- Topic: Insert picture in a .dwg
- Replies: 5
- Views: 22123
Insert picture in a .dwg
Hello, I would like to insert a picture (.jpg or .ico or.bmp) in a new layer of a dwg file. I would like to create a block which contain a picture and CADMtext. After i will add some insert of this block. But i don't find how to load picture. CADImageDef.LoadFile() is protected so i can't call it. I...
- 29 Jul 2008, 12:46
- Forum: CAD .NET
- Topic: Hatch pattern
- Replies: 9
- Views: 39242
Re: Hatch pattern
Sergey, If we can sort all entities over hatch of a layer, it will resolve my problem. Is order of a layer import in layer list? -> I make a syntax error, it was in fact : Is order of a layer has importance in layers list? what is difference if a layer is added at the end of Layers or inserted at fi...
License
Hello, My product including CADImport.net would be deploy on many stations. I don't want call register form for every station. So i would like to call register with parameters define in my database. I see last register parameter is "bool addToReg". I would like avoid to write on station, could i use...
- 28 Jul 2008, 14:46
- Forum: CAD .NET
- Topic: Hatch pattern
- Replies: 9
- Views: 39242
Re: Hatch pattern
Hello Sergey, I thank you for your help. I download last cadimportnet.zip and in ViewerDemo\ViewerMainForm.cs i don't find SelectEntity. I suppose you thought cadImage.Select(e.X, e.Y). With your solution CADHatch would not be selected but i can't select other entities under CADHatch without doing a...
- 25 Jul 2008, 18:09
- Forum: CAD .NET
- Topic: Hatch pattern
- Replies: 9
- Views: 39242
Re: Hatch pattern
Is it a way to create a layer , add it hach entities and avoid hach entities could be selectable by mouse click? I create hach entities over CADPolyligne but i would like allow user to select CADPolyline. Currently when i click i select CADHatch. Can i modify a layer of dwg file in order these entit...
- 22 Jul 2008, 15:55
- Forum: CAD .NET
- Topic: How to print white text and area visible
- Replies: 1
- Views: 9772
How to print white text and area visible
Hello, -I add some CADText in a new layer and i use White color because i choose black color for cadimage background. When i print with following code, the new text doesn't appear because background of page is white: PrintingForm prtForm = new PrintingForm(); System.Windows.Forms.PrintPreviewDialog ...
- 09 Jul 2008, 16:36
- Forum: CAD .NET
- Topic: Hatch pattern
- Replies: 9
- Views: 39242
Re: Hatch pattern
Hello Sergey, 1. I need only one hatch pattern that have same visual effect for every file dwg. Currently for same code, visual effect is different according file dwg. 2. I think i explained badly my problem, so i add two screenshots : one with line pattern and one with pattern totaly filled. I need...