pycatia.hybrid_shape_interfaces.hybrid_shape_extract_multi¶
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_extract_multi.HybridShapeExtractMulti(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeExtractMultiRepresents the hybrid shape ExtractMulti feature object.Role: To access the data of the hybrid shape ExtractMulti featureobject.Use the CATIAHybridShapeFactory to create a HybridShapeExtractMultiobject.See also:HybridShapeFactory.AddNewExtractMulti- add_constraint(i_constraint: Reference, i_type: int, i_complementaire: bool, i_is_federated: bool, i_crvtre_thsld: float, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddConstraint(Reference iConstraint,long iType,boolean iComplementaire,boolean iIsFederated,double iCrvtreThsld,long iPos)Deprecated:V5R16 CATIAHybridShapeExtractMulti#AddConstraintTolerant Adds aconstraint to the list of Extracted Elements.Parameters:iConstraintThe constraint to add.iTypethe type of propagation for the ExtractMulti.iComplementairethe Complementary flag checked/unchecked for for the constraint.iIsFederatedthe Federated flag checked/unchecked for the constraint.iCrvtreThsldthe CurvatureThreshold for the constraint.iPosThe position at which the element is to be added in the list ofconstraints.Example:This example adds a body in the list of constraints atspecified position with the type of propagation, the Federated flag and theCurvatureThreshold of the HybShpExtractMulti hybrid shapeExtractMulti.Dim iType as longDim iComplementaire as booleanDim iIsFederated as booleanDim iCrvtreThsld as doubleHybShpExtractMulti.AddConstraint iCst iType iComplementaireiIsFederated iCrvtreThsld 1
- Parameters:
i_constraint (Reference) –
i_type (int) –
i_complementaire (bool) –
i_is_federated (bool) –
i_crvtre_thsld (float) –
i_pos (int) –
- Return type:
None
- add_constraint_tolerant(i_constraint: Reference, i_type: int, i_complementaire: bool, i_is_federated: bool, i_distre_thsld: float, i_angtre_thsld: float, i_crvtre_thsld: float, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddConstraintTolerant(Reference iConstraint,long iType,boolean iComplementaire,boolean iIsFederated,double iDistreThsld,double iAngtreThsld,double iCrvtreThsld,long iPos)Adds a constraint to the list of Extracted Elements.Parameters:iConstraintThe constraint to add.iTypethe type of propagation for the ExtractMulti.iComplementairethe Complementary flag checked/unchecked for for the constraint.iIsFederatedthe Federated flag checked/unchecked for the constraint.iDistreThsldthe DistanceThreshold for the constraint.iAngtreThsldthe AngularThreshold for the constraint.iCrvtreThsldthe CurvatureThreshold for the constraint.iPosThe position at which the element is to be added in the list ofconstraints.Example:This example adds a body in the list of constraints atspecified position with the type of propagation, the Federated flag and theCurvatureThreshold of the HybShpExtractMulti hybrid shapeExtractMulti.Dim iType as longDim iComplementaire as booleanDim iIsFederated as booleanDim iDistreThsld as doubleDim iAngtreThsld as doubleDim iCrvtreThsld as doubleHybShpExtractMulti.AddConstraintTolerant iCst iTypeiComplementaire iIsFederated iCrvtreThsld 1
- Parameters:
i_constraint (Reference) –
i_type (int) –
i_complementaire (bool) –
i_is_federated (bool) –
i_distre_thsld (float) –
i_angtre_thsld (float) –
i_crvtre_thsld (float) –
i_pos (int) –
- Return type:
None
- get_angular_threshold(i_pos: int) float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngularThreshold(long iPos) As doubleReturns the AngularThreshold of the list of constraints at specifiedposition.Example:This example retrieves the AngularThreshold in the list of constraintsat specified position of the hybShpExtractMulti inAngularThH.Dim oAngtreThsld as doubleAngularThH = HybShpExtractMulti.GetAngularThreshold(1)
- Parameters:
i_pos (int) –
- Return type:
float
- get_angular_threshold_activity(i_pos: int) bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngularThresholdActivity(long iPos) As booleanReturns the AngularThresholdActivity of the list of constraints atspecified position.Example:This example retrieves the AngularThresholdActivity of the list ofconstraints at specified position of the hybShpExtractMulti in AngularActivity.Dim oAngtreThsldActivity as booleanoAngtreThsldActivity = HybShpExtractMulti.GetAngularThresholdActivity (1)
- Parameters:
i_pos (int) –
- Return type:
bool
- get_complementary_extract_multi(i_pos: int) bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetComplementaryExtractMulti(long iPos) As booleanReturns the Complementary flag checked/unchecked of the list of constraintsat specified position.Example:This example retrieves the Complementary flag in the list ofconstraints at specified position of the hybShpExtractMulti inComplementaire.Dim oComplementaire as booleanoComplementaire = HybShpExtractMulti.GetComplementaryExtractMulti(1)
- Parameters:
i_pos (int) –
- Return type:
bool
- get_curvature_threshold(i_pos: int) float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetCurvatureThreshold(long iPos) As doubleReturns the CurvatureThreshold of the list of constraints at specifiedposition.Example:This example retrieves the CurvatureThreshold in the list ofconstraints at specified position of the hybShpExtractMulti inCurvatureThH.Dim oCrvtreThsld as doubleCurvatureThH = HybShpExtractMulti.GetCurvatureThreshold(1)
- Parameters:
i_pos (int) –
- Return type:
float
- get_curvature_threshold_activity(i_pos: int) bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetCurvatureThresholdActivity(long iPos) As booleanReturns the CurvatureThresholdActivity of the list of constraints atspecified position.Example:This example retrieves the CurvatureThresholdActivity of the list ofconstraints at specified position of the hybShpExtractMulti inCurvatureActivity .Dim oCrvtreThsldActivity as booleanoCrvtreThsldActivity = HybShpExtractMulti.GetCurvatureThresholdActivity (1)
- Parameters:
i_pos (int) –
- Return type:
bool
- get_distance_threshold(i_pos: int) float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetDistanceThreshold(long iPos) As doubleReturns the DistanceThreshold of the list of constraints at specifiedposition.Example:This example retrieves the DistanceThreshold in the list of constraintsat specified position of the hybShpExtractMulti inDistanceThH.Dim oDistreThsld as doubleDistanceThH = HybShpExtractMulti.GetDistanceThreshold(1)
- Parameters:
i_pos (int) –
- Return type:
float
- get_distance_threshold_activity(i_pos: int) bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetDistanceThresholdActivity(long iPos) As booleanReturns the DistanceThresholdActivity of the list of constraints atspecified position.Example:This example retrieves the DistanceThresholdActivity of the list ofconstraints at specified position of the hybShpExtractMulti in DistanceActivity.Dim oDistreThsldActivity as booleanoDistreThsldActivity = HybShpExtractMulti.GetDistanceThresholdActivity (1)
- Parameters:
i_pos (int) –
- Return type:
bool
- get_element(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetElement(long iPos) As ReferenceReturns the sub element used as init for the propagation.Example:This example retrieves the sub element in the list of constraints atspecified position of the hybShpExtractMulti in Elem.Dim oElem as CATIAReferenceoElem = HybShpExtractMulti.GetElement(1)See also:HybridShapeFactory
- Parameters:
i_pos (int) –
- Return type:
- get_is_federated(i_pos: int) bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetIsFederated(long iPos) As booleanReturns the IsFederated flag checked/unchecked of the list of constraintsat specified position.Example:This example retrieves the federated flag in the list of constraints atspecified position of the hybShpExtractMulti inIsFederated.Dim oIsFederated as booleanoIsFederated = HybShpExtractMulti.GetIsFederated(1)
- Parameters:
i_pos (int) –
- Return type:
bool
- get_list_of_constraints(o_list_of_extracted_constraints: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetListOfConstraints(CATSafeArrayVariantoListOfExtractedConstraints)Returns the list of Extracted Elements.Parameters:oListOfExtractedConstraintsThe list of constraints. It is returned as an array ofnbconstraints in SafeArrayVariant.Example:This example returns the list of constraints of theHybShpExtractMulti hybrid shape ExtractMulti.Dim oListOfExtractedConstraints as CATSafeArrayVariantHybShpExtractMulti.GetListOfConstraints(oListOfExtractedConstraints)Note: You can access each constraint asfollows:1 is in oListOfExtractedConstraints(0)2 is in oListOfExtractedConstraints(1)nbconstraints is inoListOfExtractedConstraints(nbconstraints-1)
- Parameters:
o_list_of_extracted_constraints (tuple) –
- Return type:
None
- get_nb_constraints(o_nb_constraints: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbConstraints(long oNbConstraints)Returns number of constraints in the list of ExtractedElements.Parameters:oNbConstraintsnumber of constraints in the list of ExtractedElements.Example:This example returns number of constraints in the list ofconstraints of the HybShpExtractMulti hybrid shapeExtractMulti.Dim oNbConstraints as longHybShpExtractMulti.GetNbConstraints (oNbConstraints )
- Parameters:
o_nb_constraints (int) –
- Return type:
None
- get_propagation_type(i_pos: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPropagationType(long iPos) As longReturns the type of propagation of the list of constraints at specifiedposition.The propagation types for the ExtractMulti can have the followingvalues:1 for extraction propagation in point continuity2 for extraction propagation in tangent continuity3 for extraction without propagation4 for extraction propagation in curvature continuityExample:This example retrieves the PropagationType in the list of constraintsat specified position of the hybShpExtractMulti inTypePropag.Dim oTypePropag as longoTypePropag = HybShpExtractMulti.GetPropagationType(1)
- Parameters:
i_pos (int) –
- Return type:
int
- get_support(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSupport(long iPos) As ReferenceReturns the support of the list of constraints at specifiedposition.Parameters:oSupportThe support.
- Parameters:
i_pos (int) –
- Return type:
- remove_element(i_position: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveElement(long iPosition)Removes the body to be extracted from the list of constraints at specifiedposition.Parameters:iPositionPosition at which the body is to be removedExample:This example removes the body from the list of constraints atspecified position of the HybShpExtractMulti hybrid shapeExtractMulti.HybShpExtractMulti.RemoveElement 1
- Parameters:
i_position (int) –
- Return type:
None
- replace_element(i_extract_to_replace: Reference, i_new_extract: Reference, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceElement(Reference iExtractToReplace,Reference iNewExtract,long iPos)Replaces an element to extract in the list of constraints at specifiedposition.Parameters:iExtractToReplaceThe element to replace.iNewExtractThe new element.iPosThe position at which the element is to be replaced in the list ofconstraints.Example:This example replaces the body from the list of constraints atspecified position of the HybShpExtractMulti hybrid shapeExtractMulti.Dim RefToRep as CATIAReferenceDim RefNewExtract as CATIAReferenceHybShpExtractMulti.ReplaceElement RefToRep RefNewExtract 1
- set_angular_threshold(i_pos: int, i_angtre_thsld: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngularThreshold(long iPos,double iAngtreThsld)Sets the AngularThreshold in the list of constraints at specifiedposition.Example:This example sets the AngularThreshold of the list of constraints atspecified position of the hybShpExtractMulti inAngularThH.Dim iAngtreThsld as doubleHybShpExtractMulti.SetAngularThreshold 1 iAngtreThsld
- Parameters:
i_pos (int) –
i_angtre_thsld (float) –
- Return type:
None
- set_angular_threshold_activity(i_pos: int, i_angtre_thsld_activity: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngularThresholdActivity(long iPos,boolean iAngtreThsldActivity)Sets the AngularThresholdActivity in the list of constraints at specifiedposition.Example:This example sets the AngularThresholdActivity in the list ofconstraints at specified position of the hybShpExtractMulti in AngularActivity.Dim iAngtreThsldActivity as booleaniAngtreThsldActivity = TRUEHybShpExtractMulti.SetAngularThresholdActivity 1 iAngtreThsldActivity
- Parameters:
i_pos (int) –
i_angtre_thsld_activity (bool) –
- Return type:
None
- set_complementary_extract_multi(i_pos: int, i_complementaire: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetComplementaryExtractMulti(long iPos,boolean iComplementaire)Sets the Complementary flag checked/unchecked in the list of constraints atspecified position.Example:This example sets the Complementary flag of the list of constraints atspecified position of the hybShpExtractMulti inComplementaire.Dim iComplementaire as booleaniComplementaire = TRUEHybShpExtractMulti.SetComplementaryExtractMulti 1 iComplementaire
- Parameters:
i_pos (int) –
i_complementaire (bool) –
- Return type:
None
- set_curvature_threshold(i_pos: int, i_crvtre_thsld: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetCurvatureThreshold(long iPos,double iCrvtreThsld)Sets the CurvatureThreshold in the list of constraints at specifiedposition.Example:This example sets the CurvatureThreshold of the list of constraints atspecified position of the hybShpExtractMulti inCurvatureThH.Dim iCrvtreThsld as doubleHybShpExtractMulti.SetCurvatureThreshold 1 iCrvtreThsld
- Parameters:
i_pos (int) –
i_crvtre_thsld (float) –
- Return type:
None
- set_curvature_threshold_activity(i_pos: int, i_crvtre_thsld_activity: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetCurvatureThresholdActivity(long iPos,boolean iCrvtreThsldActivity)Sets the CurvatureThresholdActivity in the list of constraints at specifiedposition.Example:This example sets the CurvatureThresholdActivity in the list ofconstraints at specified position of the hybShpExtractMulti inCurvatureActivity .Dim iCrvtreThsldActivity as booleaniCrvtreThsldActivity = TRUEHybShpExtractMulti.SetCurvatureThresholdActivity 1iCrvtreThsldActivity
- Parameters:
i_pos (int) –
i_crvtre_thsld_activity (bool) –
- Return type:
None
- set_distance_threshold(i_pos: int, i_distre_thsld: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetDistanceThreshold(long iPos,double iDistreThsld)Sets the DistanceThreshold in the list of constraints at specifiedposition.Example:This example sets the DistanceThreshold of the list of constraints atspecified position of the hybShpExtractMulti inDistanceThH.Dim iDistreThsld as doubleHybShpExtractMulti.SetDistanceThreshold 1 iDistreThsld
- Parameters:
i_pos (int) –
i_distre_thsld (float) –
- Return type:
None
- set_distance_threshold_activity(i_pos: int, i_distre_thsld_activity: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetDistanceThresholdActivity(long iPos,boolean iDistreThsldActivity)Sets the DistanceThresholdActivity in the list of constraints at specifiedposition.Example:This example sets the DistanceThresholdActivity in the list ofconstraints at specified position of the hybShpExtractMulti in DistanceActivity.Dim iDistreThsldActivity as booleaniDistreThsldActivity = TRUEHybShpExtractMulti.SetDistanceThresholdActivity 1iDistreThsldActivity
- Parameters:
i_pos (int) –
i_distre_thsld_activity (bool) –
- Return type:
None
- set_element(i_pos: int, i_elem: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetElement(long iPos,Reference iElem)Sets the sub element used as init for the propagation.Example:This example sets the sub element in the list of constraints atspecified position of the hybShpExtractMulti in Elem.Dim iPos as longDim iElem as CATIAReferenceHybShpExtractMulti.SetElement 1 iElemSee also:HybridShapeFactory
- Parameters:
i_pos (int) –
i_elem (Reference) –
- Return type:
None
- set_is_federated(i_pos: int, i_is_federated: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetIsFederated(long iPos,boolean iIsFederated)Sets the IsFederated flag checked/unchecked in the list of constraints atspecified position.Example:This example sets the federated flag in the list of constraints atspecified position of the hybShpExtractMulti inIsFederated.Dim iIsFederated as booleaniIsFederated = TRUEHybShpExtractMulti.SetIsFederated 1 iIsFederated
- Parameters:
i_pos (int) –
i_is_federated (bool) –
- Return type:
None
- set_propagation_type(i_pos: int, i_type_propag: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPropagationType(long iPos,long iTypePropag)Sets the type of propagation for the ExtractMulti in the list ofconstraints at specified position.The propagation types for the ExtractMulti can have the followingvalues:1 for extraction propagation in point continuity2 for extraction propagation in tangent continuity3 for extraction without propagation4 for extraction propagation in curvature continuityExample:This example sets the PropagationType of the list of constraints atspecified position of the hybShpExtractMulti inTypePropag.Dim iTypePropag as longiTypePropag = 1HybShpExtractMulti.SetPropagationType 1 iTypePropag
- Parameters:
i_pos (int) –
i_type_propag (int) –
- Return type:
None
- set_support(i_pos: int, i_support: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSupport(long iPos,Reference iSupport)Sets the support of the list of constraints at specifiedposition.Parameters:oSupportThe support.
- Parameters:
i_pos (int) –
i_support (Reference) –
- Return type:
None