Search found 19 matches

by creepin
06 Apr 2011, 12:25
Forum: CADViewX
Topic: Comparison
Replies: 10
Views: 46889

Re: Comparison

Hello. The last days I tried to transfer my code from CadImport.Net to CadViewX. There are a few questions left. I Use my own Menubar and toolbar. What method must be called to start adding entities visually? Like your Polyline, Rectangle Butoons etc. In CAdImport.NET it was done by CreatorType Is i...
by creepin
04 Apr 2011, 14:54
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

Can u specify what you mean with "excluding different type"? Do u mean it does not return a cadinsert as result? I use this result to add it to a collection and i use this collection later on. so if there is another possibility to get the xref inserts, it would be no problem.
by creepin
04 Apr 2011, 12:43
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

Hey, I am currently working with version 7.2.6.23364, but I also tried it with version 7.2.7.26044.

Thanks
by creepin
31 Mar 2011, 17:49
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

Hello,

I create a new empty image, and then the user can add a reference to file using the addscaledRefEX method. after that the getextents method is called. if he now wants to save that without drawing anything on it before, you can not open the file anymore correctly.
by creepin
31 Mar 2011, 17:16
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

Yeah thats true, but calling this method when no entity is in drawing, makes the image unusable. I can't use it anymore, if i cant zoom beneath 160% and the getpoint method returns always (0,0). So the getextents method should do nothing if there is no entity in it, and not doing strange things to t...
by creepin
31 Mar 2011, 15:45
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

I think I found a mistake. Try the following in your EditorDemo: Open a new file and then, without doing anything before click "Fit Drawing to window". then the same error occurs. So I think it has to do something with the getExtents Method, which I used before saving or doing anything. The EditorDe...
by creepin
31 Mar 2011, 14:22
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

Hello. If found another Problem when creating a new image. So I open a new image, and save it without adding something to the image. When opening the so created file, the zoom is set to about 3000%, zomming back is just possible to aboaut 160% and the GetPoint method returns always (0,0), When addin...
by creepin
19 Mar 2011, 00:33
Forum: CAD .NET
Topic: Draw Polyline and Zoom
Replies: 1
Views: 11420

Draw Polyline and Zoom

Hello! While drawing a Polyline it is necessary to me to zoom in and out. The first thing i did is to comment out the "Me.entCreator.Disable()" in the zoom function in Editor Demo. So i can go on drawing the line, despite zooming. However the "up-to-there" lines disappear until i finished the drawin...
by creepin
08 Mar 2011, 13:26
Forum: CAD .NET
Topic: CadImport.NET cad-based zooming
Replies: 7
Views: 34641

Re: CadImport.NET cad-based zooming

Hello, I tried the code u gave above and also had a look at the other topics about zooming to an entity. Now the problem is, it needs 2 to 4 clicks on a button to get the entity zoomed. Here is my code: Private Function SetNewScale(ByVal topleft As Point, ByVal bottomright As Point) As Single Dim en...
by creepin
01 Feb 2011, 22:26
Forum: CADViewX
Topic: Comparison
Replies: 10
Views: 46889

Re: Comparison

Thank you for the answer. That sounds good up to now. So i have some more specific questions: - We need to create Blocks and insert them as Insert on mouse-click at mouse-click position. is this possible? - In vb.net demo version there is only a cadViewX control. Can menubar,cadpictbox and so on acc...
by creepin
31 Jan 2011, 19:32
Forum: CADViewX
Topic: Comparison
Replies: 10
Views: 46889

Comparison

Hello, I am using CadImport.Net up to now, but the speed of loading and processing images (large dwg or dxf up top 20MB) is not acceptable at all. So i tried the VB.NET demo of CADViewX and noticed it is much faster and would fit our requirements. Is there any disadvantage of CADViewX used in VB.NET...
by creepin
28 Jan 2011, 18:48
Forum: CAD .NET
Topic: Linetype and Lineweigth
Replies: 3
Views: 17271

Re: Linetype and Lineweigth

Thank you, linetype works now properly. According the Lineweight: I can assign an entity the lineweight of its layer in the propertydialog in editor demo. Can't there be any possibility to do this by program code? Otherwise i wont assign the lineweight "byLayer", but assign the direct value of the l...
by creepin
26 Jan 2011, 23:55
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

I solved the problem:

there was

REM Me.cadImageFld.UseDoubleBuffering = False

instead of

Me.cadImageFld.UseDoubleBuffering = False

in the CreateNewImage Method, now it works as it should! Dont know where it came from.

Thanks a lot!
by creepin
24 Jan 2011, 16:34
Forum: CAD .NET
Topic: create Image
Replies: 19
Views: 81842

Re: create Image

The issue is still there with the new version. I am using the EditorControlDemo, modified for my purposes. I will send you the project via eMail.

Thanks.
by creepin
24 Jan 2011, 16:32
Forum: CAD .NET
Topic: Linetype and Lineweigth
Replies: 3
Views: 17271

Linetype and Lineweigth

Hello! I got two questions: First one: How can I assign the lineweight of the layer to an entity? Assigning Layercolor works with newestEntity.Color = CADConst.clByLayer Is there a similar way for lineweight? Second Question: I tried to assign a certain linetype to an entity. I made it the following...