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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeScalingRepresents the hybrid shape scaling feature object.Role: To access the data of the hybrid shape feature object. This dataincludes:The element to be transformed using the scalingThe reference element for the scaling which is a point or aplaneThe ratio and its valueUse the CATIAHybridShapeFactory to create HybridShapeFeatureobject.LICENSING INFORMATION: Creation of volume result requires GSOLicenseif GSO License is not granted , setting of Volume context has noteffectSee also:HybridShapeFactory- 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.Sub-element(s) supported (see Boundary object): PlanarFace orVertex.Example:This example retrieves in RefElem the reference element for the Scalinghybrid shape feature.Dim RefElem As ReferenceSet RefElem = Scaling.Center
- Return type:
- property creation_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CreationMode() As booleanReturns or sets the creation mode(creation ormodification).Legal values: True if the result is a creation feature and False if theresult is a modification feature.Example:This example sets that the mode ofthe hybShpScaling hybrid shape scaling to creationhybShpScaling.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 ReferenceReturns or sets the element to scale.Example:This example retrieves in Elem the element to scale for the Scalinghybrid shape feature.Dim Elem As ReferenceSet Elem = Scaling.ElemToScale
- 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 = 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 booleanReturns or sets the volume result.Legal values: True if the result of Scaling is required as volume (optionis effective only in case of volumes,requires GSO License) and False if it isneeded as surface .Example:This example sets that the result ofthe hybShpScaling hybrid shape scaling is volume.hybShpScaling.VolumeResult = True
- Return type:
bool