SetScales Method (IBlockInstance)

SetScales Method (IBlockInstance) | Send Feedback
See Also

ScaleX
  Scale factor for the x coordinate

ScaleY
  Scale factor for the y coordinate

ScaleZ
  Scale factor for the z coordinate

Sets the scale factors for the x, y, and z coordinates of the Block instance.

# Syntax

Visual Basic |
--- | ---
    Sub SetScales( _
       ByVal ScaleX As System.Double, _
       ByVal ScaleY As System.Double, _
       ByVal ScaleZ As System.Double _
    )

C# |
--- | ---
    void SetScales(
       System.double ScaleX,
       System.double ScaleY,
       System.double ScaleZ
    )

JavaScript |
--- | ---
    SetScales(
       ScaleX : Number,
       ScaleY : Number,
       ScaleZ : Number
    )

COM native C++ |
--- | ---
    HRESULT SetScales(
       DOUBLE ScaleX,
       DOUBLE ScaleY,
       DOUBLE ScaleZ
    )

C++ |
--- | ---
    DSRESULT SetScales(
       double ScaleX,
       double ScaleY,
       double ScaleZ
    )

#### Parameters

ScaleX
  Scale factor for the x coordinate
ScaleY
  Scale factor for the y coordinate
ScaleZ
  Scale factor for the z coordinate

# See Also

####

IBlockInstance Interface
IBlockInstance Members
IBlockInstance::GetScales Method

# Availability

DraftSight V1R1.1