pycatia.hybrid_shape_interfaces.hybrid_shape_assemble¶
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_assemble.HybridShapeAssemble(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeAssembleRepresents the hybrid shape assemble feature object.Role: To access the data of the hybrid shape assemble feature object. This dataincludes:A list of the assembled elementsSome methods to access this dataUse the CATIAHybridShapeFactory to create a HybridShapeAssembleobject.See also:HybridShapeFactory- add_element(i_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddElement(Reference iElement)Adds an element to the hybrid shape assemble featureobject.Parameters:iElementThe element to add to the hybrid shape assemble featureobject.Sub-element(s) supported (seeBoundary object): Face, TriDimFeatEdge and BiDimFeatEdge.Examples:The following example adds the iElement feature object to theHybridShapeAssemble object.HybridShapeAssemble.AddElement iElement
- Parameters:
i_element (Reference) –
- Return type:
None
- add_sub_element(i_sub_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddSubElement(Reference iSubElement)Adds a sub element to the hybrid shape assemble featureobject.Parameters:iSubElementThe sub element to remove to the hybrid shape assemble featureobject.
- Parameters:
i_sub_element (Reference) –
- Return type:
None
- append_federated_element(i_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AppendFederatedElement(Reference iElement)Appends an init to the list of elements to federate.Parameters:iElementElement to append.See also:Reference
- Parameters:
i_element (Reference) –
- Return type:
None
- get_angular_tolerance() float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngularTolerance() As doubleGet the angular tolerance.Parameters:oValueThe angular tolerance.
- Return type:
float
- get_angular_tolerance_mode() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngularToleranceMode() As booleanGet the angular tolerance mode.Parameters:oValueThe angular tolerance mode.
- Return type:
bool
- get_connex() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetConnex() As booleanGet the connex checker flag.Parameters:oConnex
- Return type:
bool
- get_deviation() float ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetDeviation() As doubleGet the deviation value.Parameters:odeviationThe deviation.
- Return type:
float
- get_element(i_rank: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetElement(long iRank) As ReferenceRetrieves an element used by the hybrid shape assemble featureobject.Parameters:iRankThe rank of the element to read.Examples:The following example gets the oElement feature object of theHybridShapeAssemble object at the position iRank.Dim oElement As ReferenceSet oElement = HybridShapeAssemble.GetElement (iRank).
- Parameters:
i_rank (int) –
- Return type:
- get_elements_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetElementsSize() As longReturns the size of the list of elements to assemble in the hybrid shapeassemble feature object.Parameters:oSizeNumber of elements in the Assemble.Example:This example retrieves the number of elements in theHybShpAssemble hybrid shape assemble.Dim oSize As longoSize = HybShpAssemble.GetElementsSize
- Return type:
int
- get_federated_element(i_rank: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetFederatedElement(long iRank) As ReferenceRetrieves an federated inits used by the hybrid shape assemble featureobject.Parameters:iRankThe rank of the element to read.oElementThe federated element.See also:Reference
- Parameters:
i_rank (int) –
- Return type:
- get_federated_elements_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetFederatedElementsSize() As longGets the number of federated inits.Parameters:SizeNumber of elements.
- Return type:
int
- get_federation_propagation() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetFederationPropagation() As longGets the propagation mode of the federation.Parameters:itype of propagation (0: No, 1: All, 2: Continuity,3:Tangency).
- Return type:
int
- get_manifold() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetManifold() As booleanGet the manifold checker flag.Parameters:oManifold
- Return type:
bool
- get_simplify() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSimplify() As booleanGet the simplify flag.Parameters:oSimplify
- Return type:
bool
- get_sub_element(i_rank: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSubElement(long iRank) As ReferenceRetrieves a sub element used by the hybrid shape assemble featureobject.Parameters:iRankThe rank of the subelement to read.
- Parameters:
i_rank (int) –
- Return type:
- get_sub_elements_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSubElementsSize() As longReturns the size of the list of sub-elements to remove in the hybrid shapeassemble feature object.Parameters:oSizeNumber of sub elements in the Assemble.Example:This example retrieves the number of sub elements in theHybShpAssemble hybrid shape assemble.Dim oSize As longoSize = HybShpAssemble.GetSubElementsSize
- Return type:
int
- get_suppress_mode() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSuppressMode() As booleanGet the SuppressMode flag.Parameters:oSuppressMode
- Return type:
bool
- get_tangency_continuity() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetTangencyContinuity() As booleanGet the tangency continuity checker flag.Parameters:oTangencyContinuity
- Return type:
bool
- property invert: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Invert() As booleanReturns or sets the invert mode.Legal values: True the result is inverted. False the result is notinverted.Example:This example sets the invert mode ofthe HybShpAssemble hybrid shape assemble feature toTrue.HybShpAssemble.Invert = True
- Return type:
bool
- remove_element(i_rank: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveElement(long iRank)Removes an element used by the hybrid shape assemble featureobject.Parameters:iRankThe rank of the element to remove.Examples:The following example removes the feature object from theHybridShapeAssemble object at the position iRank.HybridShapeAssemble.RemoveElement iRank.
- Parameters:
i_rank (int) –
- Return type:
None
- remove_federated_element(i_rank: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveFederatedElement(long iRank)Removes an element to the list of elements to federate.Parameters:iRankPosition of the element to remove.
- Parameters:
i_rank (int) –
- Return type:
None
- remove_sub_element(i_rank: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveSubElement(long iRank)Removes a sub element used by the hybrid shape assemble featureobject.Parameters:iRankThe rank of the element to remove.
- Parameters:
i_rank (int) –
- Return type:
None
- replace_element(i_pos: int, i_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceElement(long iPos,Reference iElement)Replaces the element at specified position in the hybrid shape assemblefeature object.Parameters:iPosPosition at which the element should be replaced.iElementReference of the element to be inserted.Example:This example replaces the element in the HybShpAssembleassemble feature at specified position iPosHybShpAssemble.ReplaceElement iPos,iElement
- Parameters:
i_pos (int) –
i_element (Reference) –
- Return type:
None
- set_angular_tolerance(i_value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngularTolerance(double iValue)Set the angular tolerance.Parameters:iValueThe angular tolerance.
- Parameters:
i_value (float) –
- Return type:
None
- set_angular_tolerance_mode(i_value: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngularToleranceMode(boolean iValue)Set the angular tolerance mode.Parameters:iValueThe angular tolerance mode.
- Parameters:
i_value (bool) –
- Return type:
None
- set_connex(i_connex: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetConnex(boolean iConnex)Set the connex checker flag.Parameters:iConnex
- Parameters:
i_connex (bool) –
- Return type:
None
- set_deviation(ideviation: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetDeviation(double ideviation)Set the deviation value.Parameters:ideviationThe deviation.
- Parameters:
ideviation (float) –
- Return type:
None
- set_federation_propagation(i_mode: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetFederationPropagation(long iMode)Sets the propagation mode of federation.Parameters:itype of propagation (0: No, 1: All, 2: Continuity,3:Tangency).
- Parameters:
i_mode (int) –
- Return type:
None
- set_manifold(i_manifold: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetManifold(boolean iManifold)Set the manifold checker flag.Parameters:iManifold
- Parameters:
i_manifold (bool) –
- Return type:
None
- set_simplify(i_simplify: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSimplify(boolean iSimplify)Set the simplify flag.Parameters:iSimplify
- Parameters:
i_simplify (bool) –
- Return type:
None
- set_suppress_mode(i_suppress_mode: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSuppressMode(boolean iSuppressMode)Set the SuppressMode flag.Parameters:iSuppressMode
- Parameters:
i_suppress_mode (bool) –
- Return type:
None
- set_tangency_continuity(i_tangency_continuity: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetTangencyContinuity(boolean iTangencyContinuity)Set the tangency continuity checker flag.Parameters:iTangencyContinuity
- Parameters:
i_tangency_continuity (bool) –
- Return type:
None