Role: To access the data of the hybrid shape Cylinder feature object. This data includes:
- The center of the Cylinder
- The Radius of the Cylinder
- Length of Cylinder in the given extrusion direction
- Length of Cylinder opposite to extrusion direction
- Direction of extrusion for cylinder.
Use the CATIAHybridShapeFactory to create a HybridShapeCylinder object.
- See also:
Properties
- Property Center() As
-
Returns or sets the center of the cylinder object.
- Example:
-
This example retrieves in
CylinderCenterthe center of the Cylinder, for theCylinderhybrid shape feature.Dim CylinderCenter As Reference Set CylinderCenter = Cylinder.Center
- Property Direction() As
-
Returns or sets the direction of the cylinder object.
- Example:
-
This example retrieves in
CylinderDirectionthe direction of extrusion of the Cylinder, for theCylinderhybrid shape feature.Dim CylinderDirection As HybridShapeDirection Set CylinderDirection = Cylinder.Direction
- Property Length1() As
-
Returns or sets the length of the cylinder object in the given extrusion direction.
- Example:
-
This example retrieves in
CylinderLength1the length of the Cylinder in the given extrusion direction, for theCylinderhybrid shape feature.Dim CylinderLength1 As Length Set CylinderLength1 = Cylinder.Length1
- Property Length2() As
-
Returns or sets the length of the cylinder object in the opposite direction of given extrusion direction.
- Example:
-
This example retrieves in
CylinderLength2the length of the Cylinder in the opposite direction of the given extrusion direction, for theCylinderhybrid shape feature.Dim CylinderLength2 As Length Set CylinderLength2 = Cylinder.Length2
- Property Orientation( iOrientation)
-
Returns or sets the the inversion of extrusion direction.
- Example:
-
This example retrieves in
IsInvertedthe inversion status of extrusion direction for theCylinderhybrid shape feature.Dim IsInverted As boolean Set IsInverted = Cylinder.Orientation
- Property Radius() As
-
Returns or sets the radius of the cylinder object.
- Example:
-
This example retrieves in
CylinderRadiusthe radius of the Cylinder, for theCylinderhybrid shape feature.Dim CylinderRadius As Length Set CylinderRadius = Cylinder.Radius
- Property SymmetricalExtension() As
-
Gets or Sets the symmetrical extension of Cylinder (Length 2 = -Length 1).
- Parameters:
-
- iSym
- Symetry flag dd>
Methods
- Sub InvertOrientation()
-
Inverts the Orientation of Cylinder object.
- Example:
-
This example inverts the orientation for the
Cylinderhybrid shape feature.Cylinder.InvertOrientation