pycatia.hybrid_shape_interfaces.hybrid_shape_scaling

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384

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.hybrid_shape_interfaces.hybrid_shape_scaling.HybridShapeScaling(com_object)

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.HybridShape
HybridShapeScaling

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 , setting of Volume context has not
effect

See also:
HybridShapeFactory
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.
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
Return type:

Reference

property creation_mode: bool

Note

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

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

bool

property elem_to_scale: Reference

Note

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

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

float

property volume_result: bool

Note

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

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

bool