How to transform a selected entity
Moderators: SDS, support, admin
How to transform a selected entity
Dear Sergey,
I use CADImage.AddScaledDXF to transform my dxf file. But when I save it, I cann't open the
saved DXF file. I don't know why ?
Could you show me some sample code to transform the selected entity ? (such as scale, rotate )
Thanks!
Anderson
I use CADImage.AddScaledDXF to transform my dxf file. But when I save it, I cann't open the
saved DXF file. I don't know why ?
Could you show me some sample code to transform the selected entity ? (such as scale, rotate )
Thanks!
Anderson
Re: How to transform a selected entity
Dear Anderson,
Sergey.
As we previously said (post http://www.cadsofttools.com/forum/viewt ... =15&t=1413 on 09 Dec 2008) we caught this problem. We will inform you when it is solved.I use CADImage.AddScaledDXF to transform my dxf file. But when I save it, I cann't open the
saved DXF file. I don't know why ?
Please try the following code:Could you show me some sample code to transform the selected entity ? (such as scale, rotate )
Code: Select all
private void ChgInsScaleRotation_Click(object sender, System.EventArgs e)
{
if(this.cadImage == null) return;
this.cadImage.UseDoubleBuffering = false;
for (int i = 0;i < this.cadImage.Converter.GetCounts(CADImport.FaceModule.ConvSection.Entities); i++)
{
CADEntity entEntity = (CADEntity)this.cadImage.Converter.GetSection(CADImport.FaceModule.ConvSection.Entities).Entities[i];
if (entEntity.EntType == CADImport.EntityType.Insert)
{
CADInsert entIns = entEntity as CADInsert;
entIns.Scale = new DPoint(1.5, 0.5,1);
entIns.Angle = 45;
this.cadImage.Converter.Loads(entIns);
this.cadPictBox.Invalidate();
}
}
}
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: How to transform a selected entity
Dear Anderson,
Sergey.
What is the version of Visual Studio that you use?As we previously said (post http://www.cadsofttools.com/forum/viewt ... =15&t=1413 on 09 Dec 2008) we caught this problem. We will inform you when it is solved.I use CADImage.AddScaledDXF to transform my dxf file. But when I save it, I cann't open the
saved DXF file. I don't know why ?
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: How to transform a selected entity
Dear Sergey,
My version of Visual Studio is VS.net 2005
Anderson.
My version of Visual Studio is VS.net 2005
Anderson.
Re: How to transform a selected entity
Hello!
The problem has been solved.
Please contact us via e-mail to support@cadsofttools.com accordingly the question of getting updated beta version of the library.
Sergey.
The problem has been solved.
Please contact us via e-mail to support@cadsofttools.com accordingly the question of getting updated beta version of the library.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support