GetScales Method (IBlockInstance)

GetScales Method (IBlockInstance) | Send Feedback
See Also

ScaleX[out]
  Scale factor for the x coordinate

ScaleY[out]
  Scale factor for the y coordinate

ScaleZ[out]
  Scale factor for the z coordinate

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

# Syntax

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

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

JavaScript |
--- | ---
    GetScales(
    ) : {
       ScaleX : Number,
       ScaleY : Number,
       ScaleZ : Number
    }

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

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

#### Parameters

ScaleX[out]
  Scale factor for the x coordinate
ScaleY[out]
  Scale factor for the y coordinate
ScaleZ[out] or Return Value
  Scale factor for the z coordinate

# See Also

####

IBlockInstance Interface
IBlockInstance Members
IBlockInstance::SetScales Method

# Availability

DraftSight V1R1.1