All Frameworks  Object Hierarchy  This Framework  Indexes   

Scaling (Object)

Represents the scaling shape.
The scaling shape is made up of a scaling reference element, such as a point, and a scaling factor.

Property Index

Factor
Returns the scaling factor.
ScalingReference
Returns or sets the scaling reference element.

Properties


o Property Factor() As (Read Only)
Returns the scaling factor.
Example:
The following example returns in factor the scaling factor of the scaling firstScaling:
 Set factor = firstScaling.Factor
 
o Property ScalingReference() As
Returns or sets the scaling reference element. It can be a point.
To set the property, you can use one of the following
Boundary objects: PlanarFace or Vertex.
Example:
The following example returns in ref the scaling reference element of the scaling firstScaling, and then sets it to the created MyRef:
 Set ref = firstScaling.ScalingSupport
 Set MyRef = part.CreateReferenceFromGeometry (Point)
 firstScaling.ScalingSupport = MyRef
 

Copyright © 2003, Dassault Systèmes. All rights reserved.