Search found 5 matches

by alex7210
22 Oct 2018, 06:36
Forum: CAD .NET
Topic: Images disappear
Replies: 1
Views: 9360

Images disappear

Hello I'm using CAD .NET 11, gathter the spatial data and export to DXF file using CADtoDXF class. When I load the DXF file in AutoCAD, there is no problem. But I save it as dwg file, all the images in dxf are disconnected and disappear. I don't know how to solve this problem. Could you help me? And...
by alex7210
30 Sep 2016, 07:11
Forum: CAD VCL
Topic: How Can I Insert a block with CADAttdef?
Replies: 4
Views: 34359

Re: How Can I Insert a block with CADAttdef?

Thanks. When I assign the new Point to two properties (point, point1), it worked. CADAttdef pCADAttdef = (CADAttdef)pCADEntity; CADAttrib pCADAttrib = new CADAttrib(); pCADAttrib.AssignEntity(pCADAttdef); pCADAttrib.Value = textValue; pCADAttrib.Point = CreateDPoint(pCADAttdef.Point.X + addPoint.X ,...
by alex7210
29 Sep 2016, 10:23
Forum: CAD VCL
Topic: How Can I Insert a block with CADAttdef?
Replies: 4
Views: 34359

Re: How Can I Insert a block with CADAttdef?

Thanks Felipe. I Added the blocks from a template file. and try to add a CADInsert entity to a Drawing. Something happened I didn't expected. Everything was placed where it was expected but the entitie from CADAttdef was placed only at (0,0); I don't know what I should do to place it at the proper p...
by alex7210
28 Sep 2016, 09:57
Forum: CAD VCL
Topic: How Can I Insert a block with CADAttdef?
Replies: 4
Views: 34359

How Can I Insert a block with CADAttdef?

HI, I made a block that has a CADAttdef for text. and tried to insert it into a drawing through CADInsert entity in many ways but failed. Could you let me know how to do it? My code is as follows. static public void AddBlock(CADImage cadImage, string cadLayerName, string blockName, IPoint addPoint, ...
by alex7210
10 Aug 2016, 05:20
Forum: CAD .NET
Topic: Add DXF to the specified layer of CADImage
Replies: 1
Views: 13188

Add DXF to the specified layer of CADImage

HI,

I need to add the entity of DXF to the specified layer of CADImage.

I Found the function "CADmage.AddScaledDXF", but there was no layer parameter.

and so DXF data was added to "0" layer of CADIMage.

Is there any way to specify the target layer?

Best regards.

Alex