pycatia.part_interfaces.scaling

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.scaling.Scaling(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
PartInterfaces.DressUpShape
Scaling

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

Note

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

Returns the scaling factor.

Example:
The following example returns in factor the scaling factor of the
scaling firstScaling:

Set factor = firstScaling.Factor
Return type:

RealParam

property scaling_reference: Reference

Note

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

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
Return type:

Reference