TheSwamp

Code Red => .NET => Topic started by: cannorth on August 19, 2013, 10:17:43 AM

Title: ScaleFactor method in VB.Net ObjectARX
Post by: cannorth on August 19, 2013, 10:17:43 AM
Hello,

  I use this method to scale a block reference:

    Private Function SetBlockScaleFactor(cur_scl As Double, ByRef cur_block_ref As Autodesk.AutoCAD.DatabaseServices.BlockReference) As Double
        cur_block_ref.ScaleFactors = New Autodesk.AutoCAD.Geometry.Scale3d(cur_scl)
    End Function

  However, I'd like to know if there is a method in VB.Net ObjectARX that scales a block reference by using a base point as an argument.

Thanks,

cannorth
Title: Re: ScaleFactor method in VB.Net ObjectARX
Post by: gile on August 19, 2013, 01:23:57 PM
Hi,

You can scale any entity using TransformBy(Matrix3d.Scaling())