HybridShapeIntegratedLaw (Object)

Represents the hybrid shape "integrated" law feature object.
Role: To access the data of the hybrid shape "integrated" law feature object.

Use the CATIAHybridShapeFactory to create a HybridShapeIntegratedLaw object.

See also:

Properties


Property AdvancedLaw() As
Gets or sets the external law.
Note: Used for law type = 4(Advanced)
Parameters:
AdvancedLaw
External Law This example retrieves in ALaw the external law for the IntegratedLaw hybrid shape feature.
 Dim ALaw
 Set ALaw = IntegratedLaw.AdvancedLaw
 
Property EndParam() As (Read Only)
Gets end parameter.
Note: Used for law type = 2(Linear) and 3(SType).
Parameters:
EndParam
Parameter This example retrieves in EParam the end parameter for the IntegratedLaw hybrid shape feature.
 Dim EParam
 Set EParam = IntegratedLaw.EndParam
 
Property ImplicitLawInterpolationMode() As
Gets or sets Interpolation mode for implicit law.
Note: Used for law type = 5(Implicit)
Parameters:
ImplicitLawInterpolationMode
Implicit law interpolation mode ImplicitLawInterpolationMode = 0 : CATGSMImplicitLawInterpo_None = 1 : CATGSMImplicitLawInterpo_Linear = 2 : CATGSMImplicitLawInterpo_Cubic This example retrieves in InterpolLawMode the Interpolation mode for the IntegratedLaw hybrid shape feature.
 Dim InterpolLawMode
 Set InterpolLawMode = IntegratedLaw.ImplicitLawInterpolationMode
 
Property InvertMappingLaw() As
Gets or sets the mapping orientation of the law.
Parameters:
InvertMappingLaw
False : Law is applied from the beginning to the end of the curve (mapping is not inverted).
True : Law is applied from the end to the beginning of the curve (mapping is inverted). This example retrieves in IMappingLaw the mapping orientation of the law for the IntegratedLaw hybrid shape feature.
 Dim IMappingLaw
 Set IMappingLaw = IntegratedLaw.InvertMappingLaw
 
Property PitchLawType() As
Gets or sets pitch law type.
Parameters:
PitchLawType
Type of law PitchLawType = 0 : None = 1 : Constant = 2 : Linear = 3 : SType = 4 : Advanced = 5 : Implicit This example retrieves in PLawType the pitch law type for the IntegratedLaw hybrid shape feature.
 Dim PLawType
 Set PLawType = IntegratedLaw.PitchLawType
 
Property Spine() As
Gets or sets Spine for implicit law.
Note: Used for law type = 5 (Implicit)
Parameters:
Spine
Spine on which implicit law inputs points are defined This example retrieves in Spine1 the spine for the IntegratedLaw hybrid shape feature.
 Dim Spine1
 Set Spine1 = IntegratedLaw.Spine
 
Property StartParam() As (Read Only)
Gets start parameter.
Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType)
Parameters:
StartParam
Parameter This example retrieves in SParam the start parameter for the IntegratedLaw hybrid shape feature.
 Dim SParam
 Set SParam = IntegratedLaw.StartParam
 

Methods


Sub AppendNewPointAndParam( iPoint, iParam)
Sets 'Point on spine' and associated parameter.
Note: Used for law type = 5(Implicit)
Parameters:
iPoint
Point on spine
iParam
Corresponding parameter
Sub GetPointAndParam( iPos, oPoint, oParam)
Gets the point on spine and associated parameter at a given position.
Note: Used for law type = 5(Implicit)
Parameters:
iPos
given position
oPoint
point on spine
oParam
corresponding parameter
Func GetSize() As
Gets the size of the list in the law i.e. number of points in the list of the law.
Parameters:
oSize
size of the list.
Sub RemoveAllPointsAndParams()
Removes all the points and associated parameters.
Note: Used for law type = 5(Implicit)
Sub RemovePointAndParam( iPoint)
Removes a point and its parameter. for law type = 5(Implicit)
Parameters:
iSpecPoint
Point to remove
Sub SetEndParam( iEndParam)
Sets end parameter.
Note: Used for law type = 2(Linear) and 3(SType).
Parameters:
iEndParam
Parameter
Sub SetStartParam( iStartParam)
Sets start parameter.
Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType).
Parameters:
iStartParam
Parameter