pycatia.part_interfaces.affinity¶
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.affinity.Affinity(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapeAffinityRepresents the hybrid shape Affinity feature object.This solid feature is created from an underlying HybridShapeAffinity aggregatedby the Affinity. Role: To access the data of the hybrid shape Affinity featureobject. This data includes:The element to AffinityOrigin for the AffinityPlane for the AffinityDirection for the AffinityXRatio Value for the AffinityYRatio Value for the AffinityZRatio Value for the AffinityThe translation distance and its valueUse the CATIAHybridShapeFactory to create HybridShapeFeatureobject.See also:HybridShapeFactory- property hybrid_shape: HybridShape¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property HybridShape() As HybridShape (Read Only)Gets the underlying HybridShapeAffinity.Example:The following example explains how to retrieve the underlyingHybridShape AffinityDim oHybridShape as AnyObjectSet oHybridShape=oAffinity.HybridShapeoHybridShape.ElemToAffinity = reference1
- Return type: