pycatia.part_interfaces.scaling2

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.part_interfaces.scaling2.Scaling2(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
Scaling2

Represents the Scaling2 feature object.
This solid feature is created from an underlying HybridShapeScaling aggregated
by the Scaling. Role: To access the data of the feature object. This data
includes:

The element to be transformed using the Scaling2
The reference element for the Scaling2 which is a point or a
plane
The ratio and its value

Use the CATIAShapeFactory to create Part object.

See also:
ShapeFactory
property center: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Center() As Reference

Returns or sets the reference element.This element can be a point or a
plane.
To set the property, you can use one of the following Boundary objects:
PlanarFace or Vertex.

Example:
This example retrieves in RefElem the reference element for the
Scaling2 hybrid shape feature.

Dim RefElem As Reference
Set RefElem = Scaling2.Center
Return type:

Reference

property ratio: RealParam

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Ratio() As RealParam (Read Only)

Returns the scaling ratio.
Return type:

RealParam

property ratio_value: float

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property RatioValue() As double

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 = Scaling2.RatioValue
Return type:

float