Indexes   

HybridShapeCylinder (Object)

Represents the hybrid shape Cylinder feature object.
Role: To access the data of the hybrid shape Cylinder feature object. This data includes:

Use the CATIAHybridShapeFactory to create a HybridShapeCylinder object.

See also:
HybridShapeFactory

Property Index

Center
Returns or sets the center of the cylinder object.
Direction
Returns or sets the direction of the cylinder object.
Length1
Returns or sets the length of the cylinder object in the given extrusion direction.
Length2
Returns or sets the length of the cylinder object in the opposite direction of given extrusion direction.
Orientation
Returns or sets the the inversion of extrusion direction.
Radius
Returns or sets the radius of the cylinder object.
SymmetricalExtension
Returns or sets the symmetrical extension on Cylinder lengths.

Method Index

InvertOrientation
Inverts the Orientation of Cylinder object.

Properties


o Property Center() As
Returns 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 Reference 
 Set CylinderCenter = Cylinder.Center
 
o Property Direction() As
Returns or sets the direction of the cylinder object.
Example:
This example retrieves in CylinderDirection the direction of extrusion of the Cylinder, for the Cylinder hybrid shape feature.
 Dim CylinderDirection As HybridShapeDirection 
 Set CylinderDirection = Cylinder.Direction
 
o Property Length1() As
Returns or sets the length of the cylinder object in the given extrusion direction.
Example:
This example retrieves in CylinderLength1 the length of the Cylinder in the given extrusion direction, for the Cylinder hybrid shape feature.
 Dim CylinderLength1 As Length
 Set CylinderLength1 = Cylinder.Length1
 
o 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 CylinderLength2 the length of the Cylinder in the opposite direction of the given extrusion direction, for the Cylinder hybrid shape feature.
 Dim CylinderLength2 As Length
 Set CylinderLength2 = Cylinder.Length2
 
o Property Orientation( iOrientation)
Returns or sets the the inversion of extrusion direction.
Example:
This example retrieves in IsInverted the inversion status of extrusion direction for the Cylinder hybrid shape feature.
 Dim IsInverted As boolean
 Set IsInverted = Cylinder.Orientation
 
o Property Radius() As
Returns 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 Length
 Set CylinderRadius = Cylinder.Radius
 
o Property SymmetricalExtension() As
Returns or sets the symmetrical extension on Cylinder lengths.
Example:
This example retrieves IsSymmetrical the SymmetricalExtension status of Cylinder Lengths for the Cylinder hybrid shape feature.
 Dim IsSymmetrical As boolean
 Set IsSymmetrical = Cylinder.SymmetricalExtension
 

Methods


o Sub InvertOrientation()
Inverts the Orientation of Cylinder object.
Example:
This example inverts the orientation for the Cylinder hybrid shape feature.
 Cylinder.InvertOrientation
 

Copyright © 2006, Dassault Systèmes. All rights reserved.