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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapeScaling2Represents the Scaling2 feature object.This solid feature is created from an underlying HybridShapeScaling aggregatedby the Scaling. Role: To access the data of the feature object. This dataincludes:The element to be transformed using the Scaling2The reference element for the Scaling2 which is a point or aplaneThe ratio and its valueUse 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 ReferenceReturns or sets the reference element.This element can be a point or aplane.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 theScaling2 hybrid shape feature.Dim RefElem As ReferenceSet RefElem = Scaling2.Center
- Return type:
- 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:
- property ratio_value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RatioValue() As doubleReturns or sets the scaling ratio value.Example:This example retrieves in Value the ratio value for the Scaling hybridshape feature.Dim Value As doubleSet Value = Scaling2.RatioValue
- Return type:
float