Hi,
I have a AutoCAD file that contains various blocks. Can I modify their dimensions (or the dimensions of the entities that compose it) by code?
Thanks,
lulu.
modify block dimensions
Moderators: SDS, support, admin
Re: modify block dimensions
Hello.
You can modify properties of entities inside the block to change dimensions. For example CADLine.Point and CADLine.Point1 represent line's geometry. If these properties changed then dimensions of line entity will be changed too. The dimensions can be seen via CADEntity.Box property.
Alexander.
You can modify properties of entities inside the block to change dimensions. For example CADLine.Point and CADLine.Point1 represent line's geometry. If these properties changed then dimensions of line entity will be changed too. The dimensions can be seen via CADEntity.Box property.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: modify block dimensions
Hi,
I don't have any problem with the CADline, but how can I do to scale or to "stretch" an image inside a block?
I change the "scale" property, but I don't get anybody change...
lulu.
I don't have any problem with the CADline, but how can I do to scale or to "stretch" an image inside a block?
I change the "scale" property, but I don't get anybody change...
lulu.
Re: modify block dimensions
Hello lulu.
CAD Import .NET structure includes CADImport.CADImageEnt class for representation raster objects from drawing. CADImageEnt.Width and CADImageEnt.Height affect raster sizes. Please set required values to your object inside the block.
Alexander.
CAD Import .NET structure includes CADImport.CADImageEnt class for representation raster objects from drawing. CADImageEnt.Width and CADImageEnt.Height affect raster sizes. Please set required values to your object inside the block.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: modify block dimensions
Thank you for your reply,
I use version 6.3 but CADImageEnt.Height property doesn't exist! I set CADImageEnt.Width but the image don't change.
Can you help me?
thanks,
lulu.
I use version 6.3 but CADImageEnt.Height property doesn't exist! I set CADImageEnt.Width but the image don't change.
Can you help me?
thanks,
lulu.
Re: modify block dimensions
I work with CADImport.NET version 6.3.
Re: modify block dimensions
Hello.
Sorry, I was thinking you use version 7. Version 6.3 provide CADImageEnt.Point and CADImageEnt.Point1 properties to set required raster sizes. Please look into the help system, CADImageEnt Constructor topic for details.
Alexander.
Sorry, I was thinking you use version 7. Version 6.3 provide CADImageEnt.Point and CADImageEnt.Point1 properties to set required raster sizes. Please look into the help system, CADImageEnt Constructor topic for details.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support