Search found 2826 matches

by support
06 Nov 2018, 20:31
Forum: CAD .NET
Topic: Selector.MultipleSelect(dRect, True, False) returns empty collection
Replies: 2
Views: 202

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

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

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

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

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

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

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

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

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

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

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
by support
22 Oct 2018, 14:44
Forum: CAD .NET
Topic: Images disappear
Replies: 2
Views: 170

Re: Images disappear

Hello, The raster images may get lost if they were added to a CAD drawing as IMAGE objects and the image files cannot be located at the file path specified in a corresponding imagedef object. As for the export to DWG, it is supported starting from version 12.1 by using an additional dynamic link lib...
by support
02 Oct 2018, 19:32
Forum: CAD .NET
Topic: Issue with AutoCAD Color Index
Replies: 2
Views: 711

Re: Issue with AutoCAD Color Index

Tiago,

The given issue has been resolved. To get a CADImport.dll build with the bug fix, please contact us at the Technical Support e-mail.

Mikhail
by support
26 Sep 2018, 23:20
Forum: CAD .NET
Topic: Issue with AutoCAD Color Index
Replies: 2
Views: 711

Re: Issue with AutoCAD Color Index

Hello Tiago, It appears that a ColorToDXF function cannot distinguish AutoCAD Color Index (ACI) pallete colors which have the same RGB equivalents. For example: ACI #1 and ACI #10 = RGB (255, 0, 0) - Red color, ACI #2 and ACI #50 = RGB (255, 255, 0) - Yellow color. As for the color with index 255, i...
by support
25 Sep 2018, 13:53
Forum: CAD .NET
Topic: Additional text on (below) dimension lines
Replies: 1
Views: 287

Re: Additional text on (below) dimension lines

Hello Stefan, AutoCAD allows to add a text below the dimension line by using a Text override property and the portion <>\X: https://autocadtips.files.wordpress.com/2010/12/dimprop.jpg The text which goes after "<>\X" is displayed below the dimension line: https://autocadtips.files.wordpress.com/2010...