Author Topic: Scaling a block reference object in ObjectARX VB.Net  (Read 2087 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
Scaling a block reference object in ObjectARX VB.Net
« on: May 14, 2012, 06:15:08 PM »
Hello,

  I have a block reference object:

                Dim blockRef As New Autodesk.AutoCAD.DatabaseServices.BlockReference(pt, blockId)

  I'd like to scale block in both the x, y, z directions.  Is there a property or method that allows this?  Can someone show
me an example how it would work?

Thanks,

cannorth

gile

  • Gator
  • Posts: 2520
  • Marseille, France
Re: Scaling a block reference object in ObjectARX VB.Net
« Reply #1 on: May 15, 2012, 12:54:53 AM »
Hi,

Look at the BlockReference.ScaleFactor property and the Scale3d class.

You'd have found it by yourselef looking in the ObjectARX docs or in Visual Studio Objects browser.
Speaking English as a French Frog