Search found 2830 matches

by support
Yesterday, 22:14
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 42

Re: Save CADInsert in DXF not work

coo5hda wrote:
Yesterday, 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
Yesterday, 20:05
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 42

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
Yesterday, 19:26
Forum: Plugins for 3rd-party software
Topic: CadView for TotalCommander -- defaults when opening file
Replies: 1
Views: 16

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
Yesterday, 18:45
Forum: CAD .NET
Topic: Save CADInsert in DXF not work
Replies: 5
Views: 42

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: 232

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: 237

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: 132

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...
by support
30 Oct 2018, 17:21
Forum: CAD .NET
Topic: CAD Viewer problem
Replies: 3
Views: 132

Re: CAD Viewer problem

Hello,

Could you please also attach the source code of your CAD Viewer for better understanding of the problem?

Mikhail
by support
29 Oct 2018, 20:10
Forum: CAD .NET
Topic: Rotate CADInsert
Replies: 3
Views: 237

Re: Rotate CADInsert

Hello,

You can rotate a CADInsert by changing the CADInsert.Angle property.

Mikhail
by support
29 Oct 2018, 18:32
Forum: CAD .NET
Topic: Overlapping objects
Replies: 4
Views: 235

Re: Overlapping objects

Hello Pascal,

Could you please post a visual representation of the task?

Mikhail
by support
29 Oct 2018, 17:58
Forum: CAD .NET
Topic: Add polylines in container
Replies: 3
Views: 155

Re: Add polylines in container

Hello,

Code example which creates a new CADBlock and CADInsert objects can be found in the AddEntities demo project: look at the AddInsert() method in Form1.cs. To add the polylines (CADPolyLine or CADLWPolyLine) into a block, you should use a CADBlock.AddEntity() method.

Mikhail
by support
26 Oct 2018, 23:41
Forum: CAD .NET
Topic: Add polylines in container
Replies: 3
Views: 155

Re: Add polylines in container

Hello,

You can use a CADBlock object as the container for polylines and place the block instance (CADInsert) on the Model layout to allow the user to move the polylines.

Mikhail
by support
26 Oct 2018, 22:52
Forum: CAD .NET
Topic: Overlapping objects
Replies: 4
Views: 235

Re: Overlapping objects

Hello Pascal,

Could you please specify for what objects you need to determine the overlapping? For example, text, rotated text, hatch, fill, etc.

Mikhail
by support
23 Oct 2018, 18:25
Forum: CAD .NET
Topic: Saving drawing with 'SaveToStream' creates broken file
Replies: 3
Views: 287

Re: Saving drawing with 'SaveToStream' creates broken file

Hello Stefan,

The code is correct. Could you please mail us the drawing which you save through a MemoryStream and get a corrupted DWG file?

Mikhail
by support
22 Oct 2018, 14:52
Forum: CAD .NET
Topic: Saving drawing with 'SaveToStream' creates broken file
Replies: 3
Views: 287

Re: Saving drawing with 'SaveToStream' creates broken file

Hello Stephan,

Please post a code which generates a DWG file from a stream, we will check it.

Mikhail