Search found 2843 matches

by support
19 Mar 2019, 22:27
Forum: CAD .NET
Topic: Print selection
Replies: 3
Views: 2687

Re: Print selection

Hello Pascal, It is also possible to save this selection (CADEditorControl.ClipRectangle.ClientRectangle) to a raster image using the following signature of an overloaded method CADImage.SaveToFile: public virtual void SaveToFile( string FileName, ImageFormat ImgFormat, DRect aCurRect, Rectangle cli...
by support
11 Mar 2019, 20:42
Forum: CAD .NET
Topic: Text-Font
Replies: 3
Views: 400

Re: Text-Font

Hello, Text characters are read from a font file (.shx of .ttf) which stores the font used by the text style. It appears that the given text requires some SHX font, but the required font is missing or your program doesn’t use SHX fonts at all. Could you please try to determine a name of the required...
by support
07 Mar 2019, 23:07
Forum: CAD .NET
Topic: Text-Font
Replies: 3
Views: 400

Re: Text-Font

Hello,

Could you please post a screenshot which demonstrates the issue?

Mikhail
by support
01 Feb 2019, 19:45
Forum: CAD VCL
Topic: How to Explode a Block
Replies: 2
Views: 18817

Re: How to Explode a Block

Hello, Below you will find the requested sample code. interface uses ..., CADImage, DXFConv, sgFunction, sgConsts; ... implementation {$R *.dfm} procedure ExplodeInsert(ACADImage: TsgCADImage; AInsert: TsgDXFInsert); var I, J: Integer; vBlockEnt: TsgDXFEntity; vDXFInsert: TsgDXFInsert; vDXFLine: Tsg...
by support
24 Jan 2019, 21:57
Forum: CAD .NET
Topic: CADText it does not show the correct text
Replies: 1
Views: 1392

Re: CADText it does not show the correct text

Hello,

Could you please save the drawing containing this CADText to DXF and attach the output .dxf file to your reply?

Mikhail
by support
14 Jan 2019, 21:25
Forum: CAD .NET
Topic: Print selection
Replies: 3
Views: 2687

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

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

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

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

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

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

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

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

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

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); } ....