GSMInterfaces HybridShapeScaling (Object)
All Frameworks Object Hierarchy This Framework Indexes
HybridShapeScaling (Object)
Represents the hybrid shape scaling feature object.
Role: To access the data of the hybrid shape feature object.
This data includes:
- The element to be transformed using the scaling
- The reference element for the scaling which is a point or a plane
- The ratio and its value
Use the CATIAHybridShapeFactory to create HybridShapeFeature object.
LICENSING INFORMATION: Creation of volume result requires GSO License
if GSO License is not granted , settting of Volume context has not effect
- See also:
- HybridShapeFactory
Property Index
-
Center
- Returns or sets the reference element.
-
CreationMode
- Returns or sets the creation mode(creation or modification).
-
ElemToScale
- Returns or sets the element to scale.
-
RatioValue
- Returns or sets the scaling ratio value.
-
Ratio
- Returns the scaling ratio.
-
VolumeResult
- Returns or sets the volume result.
Properties
-
Returns or sets the reference element.This element can be a point or a plane.
Sub-element(s) supported (see
Boundary object):
PlanarFace or
Vertex.
- Example:
-
This example retrieves in
RefElem
the reference element for the Scaling
hybrid shape feature.
Dim RefElem As Reference
Set RefElem = Scaling.Center
o Property CreationMode( | ) As |
-
Returns or sets the creation mode(creation or modification).
Legal values: True if the result is a creation feature
and False if the result is a modification feature.
- Example:
- This example sets that the mode of
the
hybShpScaling
hybrid shape scaling to creation
hybShpScaling.CreationMode = True
o Property ElemToScale( | ) As |
-
Returns or sets the element to scale.
- Example:
-
This example retrieves in
Elem
the element to scale for the Scaling
hybrid shape feature.
Dim Elem As Reference
Set Elem = Scaling.ElemToScale
o Property RatioValue( | ) As |
-
Returns or sets the scaling ratio value.
- Example:
-
This example retrieves in
Value
the ratio value for the Scaling
hybrid shape feature.
Dim Value As double
Set Value = Scaling.RatioValue
o Property Ratio( | ) As (Read Only) |
-
Returns the scaling ratio.
o Property VolumeResult( | ) As |
-
Returns or sets the volume result.
Legal values: True if the result of Scaling is required as volume
(option is effective only in case of volumes,requires GSO License) and False if it is needed as surface .
- Example:
- This example sets that the result of
the
hybShpScaling
hybrid shape scaling is volume.
hybShpScaling.VolumeResult = True
Copyright © 2003, Dassault Systèmes. All rights reserved.