pycatia.hybrid_shape_interfaces.hybrid_shape_cylinder¶
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_cylinder.HybridShapeCylinder(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeCylinderRepresents the hybrid shape Cylinder feature object.Role: To access the data of the hybrid shape Cylinder feature object. This dataincludes:The center of the CylinderThe Radius of the CylinderLength of Cylinder in the given extrusion directionLength of Cylinder opposite to extrusion directionDirection of extrusion for cylinder.Use the CATIAHybridShapeFactory to create a HybridShapeCylinderobject.See 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 center of the cylinder object.Example:This example retrieves in CylinderCenter the center of the Cylinder,for the Cylinder hybrid shape feature.Dim CylinderCenter As ReferenceSet CylinderCenter = Cylinder.Center
- Return type:
- property direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction() As HybridShapeDirectionReturns or sets the direction of the cylinder object.Example:This example retrieves in CylinderDirection the direction of extrusionof the Cylinder, for the Cylinder hybrid shapefeature.Dim CylinderDirection As HybridShapeDirectionSet CylinderDirection = Cylinder.Direction
- Return type:
- invert_orientation() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InvertOrientation()Inverts the Orientation of Cylinder object.Example:This example inverts the orientation for the Cylinder hybrid shapefeature.Cylinder.InvertOrientation
- Return type:
None
- property length1: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Length1() As LengthReturns or sets the length of the cylinder object in the given extrusiondirection.Example:This example retrieves in CylinderLength1 the length of the Cylinder inthe given extrusion direction, for the Cylinder hybrid shapefeature.Dim CylinderLength1 As LengthSet CylinderLength1 = Cylinder.Length1
- Return type:
- property length2: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Length2() As LengthReturns or sets the length of the cylinder object in the opposite directionof given extrusion direction.Example:This example retrieves in CylinderLength2 the length of the Cylinder inthe opposite direction of the given extrusion direction, for the Cylinderhybrid shape feature.Dim CylinderLength2 As LengthSet CylinderLength2 = Cylinder.Length2
- Return type:
- property orientation: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Orientation(boolean iOrientation)Returns or sets the the inversion of extrusion direction.Example:This example retrieves in IsInverted the inversion status of extrusiondirection for the Cylinder hybrid shape feature.Dim IsInverted As booleanSet IsInverted = Cylinder.Orientation
- Return type:
bool
- property radius: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Radius() As LengthReturns or sets the radius of the cylinder object.Example:This example retrieves in CylinderRadius the radius of the Cylinder,for the Cylinder hybrid shape feature.Dim CylinderRadius As LengthSet CylinderRadius = Cylinder.Radius
- Return type:
- property symmetrical_extension: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SymmetricalExtension() As booleanGets or Sets the symmetrical extension of Cylinder (Length 2 = -Length 1).Parameters:iSymSymetry flag
- Return type:
bool