All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

HybridShapeSweepConic (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---HybridShape
            |
            +---HybridShapeSweep
              |
              +---HybridShapeSweepConic
 


Represents the hybrid shape conic sweep feature.
Role: To access the data of the conic sweep feature .

Use the HybridShapeFactory.AddNewSweepConic to create a HybridShapeConicSweep object.


Property Index

CanonicalDetection
Returns or sets whether canonical surfaces of the swept surface are detected.
FifthGuideCrv
Returns or sets the fifth guide curve.
FirstGuideCrv
Returns or sets the first guide curve.
FourthGuideCrv
Returns or sets the fourth guide curve.
GuideDeviation
Returns deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
GuideDeviationActivity
Returns or sets information whether a deviation from guide curves is allowed or not.
Parameter
Returns or sets the parameter for conic sweep operation.
ParameterLaw
Returns or sets the parameter law useful in conic sweep operation.
ParameterLawInversion
Returns or sets the parameter law inversion flag of conic sweep operation.
ParameterLawType
Returns or sets the parameter law type in conic sweep operation.
SecondGuideCrv
Returns or sets the second guide curve.
SmoothActivity
Returns or sets information whether sweeping operation is smoothed or not.
SmoothAngleThreshold
Returns angular threshold under which discontinuities .
Spine
Returns or sets the spine (optional) for sweep operation.
ThirdGuideCrv
Returns or sets the third guide curve.

Method Index

GetLongitudinalRelimiters
GetNbGuides
Gets the number of guides.
GetParameterLaw
Gets the parameter law used in conic sweep operation.
GetRelimiters
Retrieves the elements relimiting the spine (or the default spine).
GetTangency
Gets tangency surface or curve and its angle given the guide curve index.
GetTangencyAngleLawInversion
Gets information whether tangency angle law has to be inverted or not for a specified guide curve.
GetTangencyLaw
Gets tangency surface or curve and its angle given the guide curve index.
RemoveGuide
Removes a guide curve given its index.
RemoveParameter
Removes conical sweep parameter, whether it is a single value or a law.
RemoveTangency
removes tangency surface or curve and its angle given the guide curve index.
SetGuideDeviation
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
SetLongitudinalRelimiters
SetParameterLaw
Sets the parameter law that will be used in conic sweep operation.
SetRelimiters
Sets the elements relimiting the spine (or the default spine).
SetSmoothAngleThreshold
Sets angular threshold under which discontinuities.
SetTangency
Sets tangency surface or curve and its angle given the guide curve index.
SetTangencyAngleLawInversion
Sets information whether tangency angle law has to be inverted or not for a specified guide curve.
SetTangencyLaw
Sets tangency surface or curve and its angle given the guide curve index.

Properties


o Property CanonicalDetection() As long
Returns or sets whether canonical surfaces of the swept surface are detected.
Legal values:
0 No detection of canonical surface is performed.
2 Detection of canonical surfaces is performed.
o Property FifthGuideCrv() As CATIAReference
Returns or sets the fifth guide curve.
o Property FirstGuideCrv() As CATIAReference
Returns or sets the first guide curve.
o Property FourthGuideCrv() As CATIAReference
Returns or sets the fourth guide curve.
o Property GuideDeviation() As CATIALength (Read Only)
Returns deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
o Property GuideDeviationActivity() As boolean
Returns or sets information whether a deviation from guide curves is allowed or not.
Gives the information on performing smoothinh during sweeping operation.
TRUE or FALSE (FALSE if not specified).
o Property Parameter() As double
Returns or sets the parameter for conic sweep operation.
if the parameter is a law, the method returns FALSE see
HybridShapeLawDistProj
o Property ParameterLaw() As CATIAReference
Returns or sets the parameter law useful in conic sweep operation.
o Property ParameterLawInversion() As boolean
Returns or sets the parameter law inversion flag of conic sweep operation.
TRUE if parameter law is inverted. Else it is FALSE. see
HybridShapeLawDistProj
o Property ParameterLawType() As long
Returns or sets the parameter law type in conic sweep operation.
o Property SecondGuideCrv() As CATIAReference
Returns or sets the second guide curve.
o Property SmoothActivity() As boolean
Returns or sets information whether sweeping operation is smoothed or not.
TRUE or FALSE (FALSE if not specified).
o Property SmoothAngleThreshold() As CATIAAngle (Read Only)
Returns angular threshold under which discontinuities .
moving frame,tangency net on reference surface will be smoothed when sweeping.
o Property Spine() As CATIAReference
Returns or sets the spine (optional) for sweep operation.
param : oElem Spine curve.
See also:
Reference
o Property ThirdGuideCrv() As CATIAReference
Returns or sets the third guide curve.

Methods


o Sub GetLongitudinalRelimiters(CATIAReference opIAElem1,
CATIAReference opIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepConic#GetRelimiters Gets the elements relimiting the spine (or the default spine).
param : opIAElem1 First relimiting feature (plane or point)
param : opIAElem2 Second relimiting feature (plane or point)
o Sub GetNbGuides(long oNum)
Gets the number of guides.
param : oNum Number of guides curve.
o Sub GetParameterLaw(double oParamStart,
double oParamEnd,
long oLawType)
Gets the parameter law used in conic sweep operation.
param : oParamStart Parameter law start value.
param : oParamEnd Parameter law end value.
param : oLawType Parameter law type.
o Sub GetRelimiters(CATIAReference opIAElem1,
long opOrient1,
CATIAReference opIAElem2,
long opOrient2)
Retrieves the elements relimiting the spine (or the default spine).
Parameters:
opIAElem1
The first relimiting feature (plane or point)
opOrient1
Split direction for the first relimitation
0 means that the beginning of the spine (considering its orientation) is removed, 1 means that the end of the spine is removed
opIAElem2
The second relimiting feature (plane or point)
opOrient2
Split direction for the second relimitation
o Sub GetTangency(CATIAReference opIAElem,
CATIAAngle opIAAngleStart,
CATIAAngle opIAAngleEnd,
long oLawType,
long iIndex)
Gets tangency surface or curve and its angle given the guide curve index.
param : opIAElem
param : opIAAngleStart Start tangency angle from surface or curve reference.
param : opIAAngleEnd End tangency angle from surface or curve reference.
param : oLawType Type of law used for tangency angle from surface or curve reference.
param : iIndex Guide curve index : 1 to 5.
o Sub GetTangencyAngleLawInversion(long iIndex,
long oInversion)
Gets information whether tangency angle law has to be inverted or not for a specified guide curve.
param : iIndex Guide curve index : 1 to 5
param : oInversion Non-Zero for TRUE and 0 for FALSE.
o Sub GetTangencyLaw(CATIAReference opIAElem,
CATIAReference opIALaw,
long iIndex)
Gets tangency surface or curve and its angle given the guide curve index.
param : opIAElem Tangency surface or curve feature.
param : opIALaw Start tangency angle from surface or curve reference.
param : iIndex Guide curve index : 1 to 5.
o Sub RemoveGuide(long iIndex)
Removes a guide curve given its index.
it removes also tangency element if specified.
param : iIndex Guide curve index : 1 to 5. If 0, all guides are removed.
o Sub RemoveParameter()
Removes conical sweep parameter, whether it is a single value or a law.
o Sub RemoveTangency(long iIndex)
removes tangency surface or curve and its angle given the guide curve index.
param : iIndex Guide curve index : 1 to 5.
o Sub SetGuideDeviation(double iLength)
Sets deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
param : iLength Numerical value.
o Sub SetLongitudinalRelimiters(CATIAReference ipIAElem1,
CATIAReference ipIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepConic#SetRelimiters Sets the elements relimiting the spine (or the default spine).
param : ipIAElem1 First relimiting feature (plane or point)
param : ipIAElem2 Second relimiting feature (plane or point)
o Sub SetParameterLaw(double iParamStart,
double iParamEnd,
long iLawType)
Sets the parameter law that will be used in conic sweep operation.
param : iParamStart Parameter law start value.
param : iParamEnd Parameter law end value.
param : iLawType Parameter law type.
o Sub SetRelimiters(CATIAReference ipIAElem1,
long ipOrient1,
CATIAReference ipIAElem2,
long ipOrient2)
Sets the elements relimiting the spine (or the default spine).
Parameters:
ipIAElem1
The first relimiting feature (plane or point)
ipOrient1
Split direction for the first relimitation
0 means that the beginning of the spine (considering its orientation) is removed, 1 means that the end of the spine is removed
ipIAElem2
The second relimiting feature (plane or point)
ipOrient2
Split direction for the second relimitation
o Sub SetSmoothAngleThreshold(double iAngle)
Sets angular threshold under which discontinuities.
note: moving frame,tangency net on reference surface will be smoothed when sweeping.
param : iAngle Numerical value.
o Sub SetTangency(CATIAReference ipIAElem,
double iAngleStart,
double iAngleEnd,
long ilawType,
long iIndex)
Sets tangency surface or curve and its angle given the guide curve index.
param : ipIAElem Tangency surface or curve feature.
param : iAngleStart Start tangency angle from surface or curve reference.
param : iAngleEnd End tangency angle from surface or curve reference.
param : iAngleLawType Type of law used for tangency angle from surface or curve reference.
param : iIndex Guide curve index : 1 to 5.
o Sub SetTangencyAngleLawInversion(long iIndex,
long iInversion)
Sets information whether tangency angle law has to be inverted or not for a specified guide curve.
param : iIndex Guide curve index : 1 to 5
param : iInversion 1 for TRUE and 0 for FALSE.
o Sub SetTangencyLaw(CATIAReference ipIAElem,
CATIAReference ipIALaw,
long iIndex)
Sets tangency surface or curve and its angle given the guide curve index.
param : ipIAElem Tangency surface or curve feature.
param : ipIALaw Start tangency angle from surface or curve reference.
param : iIndex Guide curve index : 1 to 5.

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