Indexes   

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:
HybridShapeFactory.AddNewIntegratedLaw

Property Index

AdvancedLaw
Gets or sets the external law.
EndParam
Gets end parameter.
ImplicitLawInterpolationMode
Gets or sets Interpolation mode for implicit law.
InvertMappingLaw
Gets or sets the mapping orientation of the law.
PitchLawType
Gets or sets pitch law type.
Spine
Gets or sets Spine for implicit law.
StartParam
Gets start parameter.

Method Index

AppendNewPointAndParam
Sets 'Point on spine' and associated parameter.
GetPointAndParam
Gets the point on spine and associated parameter at a given position.
GetSize
Gets the size of the list in the law i.
RemoveAllPointsAndParams
Removes all the points and associated parameters.
RemovePointAndParam
Removes a point and its parameter.
SetEndParam
Sets end parameter.
SetStartParam
Sets start parameter.

Properties


o 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
 
o 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
 
o 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
 
o 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
 
o 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
 
o 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
 
o 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


o 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
o 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
o 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.
o Sub RemoveAllPointsAndParams()
Removes all the points and associated parameters.
Note: Used for law type = 5(Implicit)
o Sub RemovePointAndParam( iPoint)
Removes a point and its parameter. for law type = 5(Implicit)
Parameters:
iSpecPoint
Point to remove
o Sub SetEndParam( iEndParam)
Sets end parameter.
Note: Used for law type = 2(Linear) and 3(SType).
Parameters:
iEndParam
Parameter
o Sub SetStartParam( iStartParam)
Sets start parameter.
Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType).
Parameters:
iStartParam
Parameter

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