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
ALawthe external law for theIntegratedLawhybrid shape feature.Dim ALaw Set ALaw = IntegratedLaw.AdvancedLaw
Note: Used for law type = 2(Linear) and 3(SType).
- Parameters:
-
- EndParam
- Parameter
This example retrieves in
EParamthe end parameter for theIntegratedLawhybrid shape feature.Dim EParam Set EParam = IntegratedLaw.EndParam
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
InterpolLawModethe Interpolation mode for theIntegratedLawhybrid shape feature.Dim InterpolLawMode Set InterpolLawMode = IntegratedLaw.ImplicitLawInterpolationMode
- 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 inIMappingLawthe mapping orientation of the law for theIntegratedLawhybrid shape feature.Dim IMappingLaw Set IMappingLaw = IntegratedLaw.InvertMappingLaw
- Parameters:
-
- PitchLawType
- Type of law
PitchLawType = 0 : None
= 1 : Constant
= 2 : Linear
= 3 : SType
= 4 : Advanced
= 5 : Implicit
This example retrieves in
PLawTypethe pitch law type for theIntegratedLawhybrid shape feature.Dim PLawType Set PLawType = IntegratedLaw.PitchLawType
Note: Used for law type = 5 (Implicit)
- Parameters:
-
- Spine
- Spine on which implicit law inputs points are defined
This example retrieves in
Spine1the spine for theIntegratedLawhybrid shape feature.Dim Spine1 Set Spine1 = IntegratedLaw.Spine
Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType)
- Parameters:
-
- StartParam
- Parameter
This example retrieves in
SParamthe start parameter for theIntegratedLawhybrid 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 dd>
- iParam
- Corresponding parameter dd>
- 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 dd>
- oPoint
- point on spine dd>
- oParam
- corresponding parameter dd>
- 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. dd>
- 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 dd>
- Sub SetEndParam( iEndParam)
-
Sets end parameter.
Note: Used for law type = 2(Linear) and 3(SType).- Parameters:
-
- iEndParam
- Parameter dd>
- Sub SetStartParam( iStartParam)
-
Sets start parameter.
Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType).- Parameters:
-
- iStartParam
- Parameter dd>