pycatia.hybrid_shape_interfaces.hybrid_shape_integrated_law¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.hybrid_shape_interfaces.hybrid_shape_integrated_law.HybridShapeIntegratedLaw(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeIntegratedLawRepresents the hybrid shape “integrated” law feature object.Role: To access the data of the hybrid shape “integrated” law featureobject.Use the CATIAHybridShapeFactory to create a HybridShapeIntegratedLawobject.See also:HybridShapeFactory.AddNewIntegratedLaw- property advanced_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AdvancedLaw() As ReferenceGets or sets the external law.Note: Used for law type = 4(Advanced)Parameters:AdvancedLawExternal Law This example retrieves in ALaw the external law forthe IntegratedLaw hybrid shape feature.Dim ALawSet ALaw = IntegratedLaw.AdvancedLaw
- Return type:
- append_new_point_and_param(i_point: Reference, i_param: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AppendNewPointAndParam(Reference iPoint,long iParam)Sets ‘Point on spine’ and associated parameter.Note: Used for law type = 5(Implicit)Parameters:iPointPoint on spineiParamCorresponding parameter
- Parameters:
i_point (Reference) –
i_param (int) –
- Return type:
None
- property end_param: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property EndParam() As Length (Read Only)Gets end parameter.Note: Used for law type = 2(Linear) and 3(SType).Parameters:EndParamParameter This example retrieves in EParam the end parameter forthe IntegratedLaw hybrid shape feature.Dim EParamSet EParam = IntegratedLaw.EndParam
- Return type:
- get_point_and_param(i_pos: int, o_point: Reference, o_param: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetPointAndParam(long iPos,Reference oPoint,Reference oParam)Gets the point on spine and associated parameter at a givenposition.Note: Used for law type = 5(Implicit)Parameters:iPosgiven positionoPointpoint on spineoParamcorresponding parameter
- get_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSize() As longGets the size of the list in the law i.e. number of points in the list ofthe law.Parameters:oSizesize of the list.
- Return type:
int
- property implicit_law_interpolation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ImplicitLawInterpolationMode() As longGets or sets Interpolation mode for implicit law.Note: Used for law type = 5(Implicit)Parameters:ImplicitLawInterpolationModeImplicit law interpolation mode ImplicitLawInterpolationMode =0 : CATGSMImplicitLawInterpo_None =1 : CATGSMImplicitLawInterpo_Linear =2 : CATGSMImplicitLawInterpo_Cubic This example retrieves in InterpolLawMode theInterpolation mode for the IntegratedLaw hybrid shape feature.Dim InterpolLawModeSet InterpolLawMode = IntegratedLaw.ImplicitLawInterpolationMode
- Return type:
int
- property invert_mapping_law: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InvertMappingLaw() As booleanGets or sets the mapping orientation of the law.Parameters:InvertMappingLawFalse : 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 theIntegratedLaw hybrid shape feature.Dim IMappingLawSet IMappingLaw = IntegratedLaw.InvertMappingLaw
- Return type:
bool
- property pitch_law_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PitchLawType() As longGets or sets pitch law type.Parameters:PitchLawTypeType of law PitchLawType = 0 : None = 1 : Constant = 2 : Linear = 3 : SType =4 : Advanced = 5 : ImplicitThis example retrieves in PLawType the pitch law type for the IntegratedLaw hybrid shape feature.Dim PLawTypeSet PLawType = IntegratedLaw.PitchLawType
- Return type:
int
- remove_all_points_and_params() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllPointsAndParams()Removes all the points and associated parameters.Note: Used for law type = 5(Implicit)
- Return type:
None
- remove_point_and_param(i_point: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemovePointAndParam(Reference iPoint)Removes a point and its parameter. for law type = 5(Implicit)Parameters:iSpecPointPoint to remove
- Parameters:
i_point (Reference) –
- Return type:
None
- set_end_param(i_end_param: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetEndParam(long iEndParam)Sets end parameter.Note: Used for law type = 2(Linear) and 3(SType).Parameters:iEndParamParameter
- Parameters:
i_end_param (int) –
- Return type:
None
- set_start_param(i_start_param: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetStartParam(long iStartParam)Sets start parameter.Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType).Parameters:iStartParamParameter
- Parameters:
i_start_param (int) –
- Return type:
None
- property spine: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Spine() As ReferenceGets or sets Spine for implicit law.Note: Used for law type = 5 (Implicit)Parameters:SpineSpine on which implicit law inputs points are defined This exampleretrieves in Spine1 the spine for the IntegratedLaw hybrid shapefeature.Dim Spine1Set Spine1 = IntegratedLaw.Spine
- Return type:
- property start_param: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property StartParam() As Length (Read Only)Gets start parameter.Note: Used for law type = 1(Constant) ,2(Linear) and 3(SType)Parameters:StartParamParameter This example retrieves in SParam the start parameter forthe IntegratedLaw hybrid shape feature.Dim SParamSet SParam = IntegratedLaw.StartParam
- Return type: