The Revol feature : an Revol is made up of a face to process and one Revol parameter. Role: To access the data of the hybrid shape revol feature object.
LICENSING INFORMATION: Creation of volume result requires GSO License
if GSO License is not granted , settting of Volume context has not effect
Properties
Property Axis() As
Role: To get_Axis on the object.
Parameters:
oDir
return value for CATScript applications, with (IDLRETVAL) function type
dd>
See also:
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
dd>
See also:
Property BeginAngle() As (Read Only)
Role: To get_BeginAngle on the object.
Parameters:
oAngle
return value for CATScript applications, with (IDLRETVAL) function type
dd>
See also:
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
dd>
See also:
Property BeginAngleOffset() As
Gets/Sets the first angle offset value of first upto element.
Parameters:
oAng1
first angle offset value.
dd>
Property Context() As
Returns or sets the context on Revolve feature.
Legal values:
0 This option creates surface of revolution.
1 This option creates volume of revolution.
Note: Setting volume result requires GSO License.
Example:
This example retrieves in oContext the context
for the Revol hybrid shape feature.
Dim oContext
Set oContext = Revol.Context
Property EndAngle() As (Read Only)
Role: To get_EndAngle on the object.
Parameters:
oAngle
return value for CATScript applications, with (IDLRETVAL) function type
dd>
See also:
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
dd>
See also:
Property EndAngleOffset() As
Gets/Sets the second angle offset value of second upto element.
Parameters:
oAng2
second angle offset value.
dd>
Property FirstLimitType() As
Returns or sets the First limit type.
Legal values:
0
Unknown Limit type.
1
Limit type is Dimension. It implies that limit is defined by length
2
Limit type is UptoElement. It implies that limit is defined by a geometrical element
Example:
This example retrieves in oLim1Type the first limit type
for the Revolve hybrid shape feature.
Dim oLim1Type
Set oLim1Type = Revolve.FirstLimitType
Property FirstUptoElement() As
Returns or sets the First up-to element used to limit Revolution.
Example:
This example retrieves in Lim1Elem the First up-to element
for the Revolve hybrid shape feature.
Dim Lim1Elem As Reference
Set Lim1Elem = Revolve.FirstUptoElement
Property Orientation( iOrientation)
Gets or sets orientation of the revolution.
Orientation = TRUE : The natural orientation of the axis is taken.
= FALSE : The opposite orientation is taken
This example retrieves in IsInverted orientation of the revolution
for the Revol hybrid shape feature.
Dim IsInverted As boolean
IsInverted = Revol.Orientation
Property Profil() As
Role: To get_Profil on the object.
Parameters:
oProfil
return value for CATScript applications, with (IDLRETVAL) function type
dd>
See also:
Returns:
HRESULT S_OK if Ok
E_FAIL else
return error code for C++ Implementations
dd>
See also:
Property SecondLimitType() As
Returns or sets the Second limit type.
Legal values:
0
Unknown Limit type.
1
Limit type is Dimension. It implies that limit is defined by length
2
Limit type is UptoElement. It implies that limit is defined by a geometrical element
Example:
This example retrieves in oLim2Type the second limit type
for the Revolve hybrid shape feature.
Dim oLim2Type
Set oLim2Type = RevolveSecondLimitType
Property SecondUptoElement() As
Returns or sets the Second up-to element used to limit Revolution.
Example:
This example retrieves in Lim2Elem the Second up-to element
for the Revolve hybrid shape feature.
Dim Lim2Elem As Reference
Set Lim2Elem = Revolve.SecondUptoElement