Search found 2838 matches

by support
14 Jan 2019, 21:25
Forum: CAD .NET
Topic: Print selection
Replies: 1
Views: 98

Re: Print selection

Hello Pascal, You can save a part of the CAD image to a MemoryStream using the following signature of an overloaded method CADImage.SaveToStream: public virtual void SaveToStream( Stream str, ImageFormat ImgFormat, DRect aCurRect, Rectangle clipRect ) ImgFormat parameter specifies the file format of...
by support
19 Dec 2018, 14:25
Forum: CAD .NET
Topic: Issue with DrawSnapTrace in v12
Replies: 1
Views: 167

Re: Issue with DrawSnapTrace in v12

Hello Stefan

Could you please give us the file sample and a screenshot, showing the point you need to snap to?
You can send these to support@cadsofttools.com
Thanks
by support
17 Dec 2018, 15:45
Forum: CAD .NET
Topic: Line programmatically
Replies: 1
Views: 210

Re: Line programmatically

Hello,

The AddEntities Demo project contains a code sample that shows how to do this.
by support
14 Dec 2018, 15:20
Forum: CAD .NET
Topic: Universal Windows Platform
Replies: 2
Views: 484

Re: Universal Windows Platform

Hello Pascal

Yes, there are plans to release an assembly in NET Standard 2 but unfortunately we cannot tell you now, when exactly will we do this.
by support
13 Dec 2018, 16:11
Forum: CAD .NET
Topic: Change length of line
Replies: 11
Views: 4432

Re: Change length of line

Hello Stefan

We were unable to reproduce your mistake, everything works correct on our computers. I've sent a demo project along with some tips to your e-mail address, please check if it works correctly for you.
by support
13 Dec 2018, 10:22
Forum: CAD .NET
Topic: Change length of line
Replies: 11
Views: 4432

Re: Change length of line

Hello Stefan,

You can use the following code to update the line inside insert:

Code: Select all

cadImage.Converter.Loads(Line) 
        cadImage.Converter.Loads(block) 
        cadImage.SetNewPosEntity(0, 0, 0, insert)
by support
05 Dec 2018, 19:37
Forum: CAD .NET
Topic: Modified line disappears when zoomed in
Replies: 1
Views: 377

Re: Modified line disappears when zoomed in

Hello Stefan,

Could you please make a simple test project which demonstrates this problem and attach it to your reply?

Mikhail
by support
05 Dec 2018, 18:55
Forum: CAD .NET
Topic: Issues with SelectExt()
Replies: 2
Views: 241

Re: Issues with SelectExt()

Hello Stefan, In v12 the CADSelector.SelectExt() method behaviour depends on a CADSelector.UseShiftToAddSelected property value as described here . The third parameter of the method (clearPrevSelection) actually takes the Shift key state (pressed and held or not pressed). In case multiple selection ...
by support
13 Nov 2018, 22:14
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 4005

Re: Save CADInsert in DXF not work

coo5hda wrote:
13 Nov 2018, 20:44
This point is always (0,0,0)?
No, you can use any (X,Y,Z) value, depending on where you want to place the CADInsert object. (0, 0, 0) is just an example.

Mikhail
by support
13 Nov 2018, 20:05
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 4005

Re: Save CADInsert in DXF not work

There are two problems in your code: 1) You didn't add the CADBlock to the BLOCKS section, the following code is missing: private void AddEntToSection(ConvSection aSection, CADEntity aEntity) { editor.Image.Converter.Loads(aEntity); editor.Image.Converter.GetSection(aSection).AddEntity(aEntity); } ....
by support
13 Nov 2018, 19:26
Forum: Plugins for 3rd-party software
Topic: CadView for TotalCommander -- defaults when opening file
Replies: 2
Views: 3640

Re: CadView for TotalCommander -- defaults when opening file

Hello Zarko, It is possible to specify the following default settings which will be applied when displaying a file in TC Lister window: Default image background color Default color for objects Default image rotation angle The usage of the active viewport (use the active viewport or fit a drawing to ...
by support
13 Nov 2018, 18:45
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 4005

Re: Save CADInsert in DXF not work

Hello, The elements (CADPolylines in the given case) are actually stored in a CADBlock, not in a CADInsert. CADInsert just refers to the CADBlock through a CADInsert.Block property. Could you please post your code which creates a CADBlock and CADInsert and adds these objects to a CADEditorControl.Im...
by support
06 Nov 2018, 20:31
Forum: CAD .NET
Topic: Selector.MultipleSelect(dRect, True, False) returns empty collection
Replies: 2
Views: 2327

Re: Selector.MultipleSelect(dRect, True, False) returns empty collection

Hello Stefan, In v12 the CADSelector.MultipleSelect() method behaviour depends on a CADSelector.UseShiftToAddSelected property value which determines one of the available selection modes: CADSelector.UseShiftToAddSelected = False (by default) - allows each selected object (group of objects) to be ad...
by support
31 Oct 2018, 22:16
Forum: CAD .NET
Topic: Rotate CADInsert
Replies: 3
Views: 2453

Re: Rotate CADInsert

Hello,

Do you need to specify the rotation angle (CADInsert.Angle) with the mouse? If so, in what way?

Mikhail
by support
30 Oct 2018, 22:30
Forum: CAD .NET
Topic: CAD Viewer problem
Replies: 3
Views: 3105

Re: CAD Viewer problem

Hello, I have noticed that your code includes DoBlackColor() call, in the ViewerDemo project the given method renders the CAD image in black and white. To determine what rendering mode is currently used, you should check a CADImage.DrawMode property value which may be the following: public enum CADD...