Author Topic: ScaleFactor method in VB.Net ObjectARX  (Read 2308 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
ScaleFactor method in VB.Net ObjectARX
« 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

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: ScaleFactor method in VB.Net ObjectARX
« Reply #1 on: August 19, 2013, 01:23:57 PM »
Hi,

You can scale any entity using TransformBy(Matrix3d.Scaling())
Speaking English as a French Frog