pycatia.hybrid_shape_interfaces.hybrid_shape_unfold¶
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_unfold.HybridShapeUnfold(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeUnfoldRepresents the hybrid shape Unfold feature object.Role: To access the data of the hybrid shape Unfold feature object. This dataincludes:The shell to unfoldThe edges to tearUse the CATIAHybridShapeFactory to create a HybridShapeUnfoldobject.See also:HybridShapeFactory- add_edge_to_tear(i_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddEdgeToTear(Reference iElement)Adds an edge to tear.Parameters:iEdgeThe edge to tear to add to the hybrid shape featureobject.Sub-element(s) supported (seeBoundary object): EdgeExamples:The following example adds the iElement feature object to theHybridShapeUnfold object.HybridShapeUnfold.AddEdgeToTear iElement
- Parameters:
i_element (Reference) –
- Return type:
None
- add_element_to_transfer(i_element: Reference, i_type_of_transfer: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddElementToTransfer(Reference iElement,long iTypeOfTransfer)Appends an element to transfer.Parameters:iElementSpecification to transferiTypeOfTransfertype of tranfer0= No transfer mode specified1= Folded to unfolded2= Unfolded to folded
- Parameters:
i_element (Reference) –
i_type_of_transfer (int) –
- Return type:
None
- property direction_to_unfold: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DirectionToUnfold() As ReferenceReturns or sets the direction to unfold.
- Return type:
- property edge_to_tear_positioning_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property EdgeToTearPositioningOrientation() As longReturns or sets the positioning orientation when the reference origin islocated on an edge to tear.0= The orientation is undefined1= The orientation is the default one2= The orientation is inversed
- Return type:
int
- get_edge_to_tear(i_rank: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetEdgeToTear(long iRank) As ReferenceRetrieves an element used by the hybrid shape unfold featureobject.Parameters:iRankThe rank of the element to read.Examples:The following example gets the oElement feature object of theHybridShapeUnfold object at the position iRank.Dim oElement As ReferenceSet oElement = HybridShapeUnfold.GetEdgeToTear (iRank).
- Parameters:
i_rank (int) –
- Return type:
- get_element_to_transfer(i_rank: int, op_element: Reference, o_type_of_transfer: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetElementToTransfer(long iRank,Reference opElement,long oTypeOfTransfer)Gets an element to transfer.Parameters:iRankthe position of the specification to getopElementSpecification to transferoTypeOfTransfertype of tranfer0= No transfer mode specified1= Folded to unfolded2= Unfolded to folded
- Parameters:
i_rank (int) –
op_element (Reference) –
o_type_of_transfer (int) –
- Return type:
None
- property origin_to_unfold: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OriginToUnfold() As ReferenceReturns or sets the origin to unfold.
- Return type:
- remove_edge_to_tear(i_rank: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveEdgeToTear(long iRank)Removes an element used by the hybrid shape unfold featureobject.Parameters:iRankThe rank of the element to remove.Examples:The following example removes the feature object from theHybridShapeUnfold object at the position iRank.HybridShapeUnfold.RemoveEdgeToTear iRank.
- Parameters:
i_rank (int) –
- Return type:
None
- remove_element_to_transfer(i_rank: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveElementToTransfer(long iRank)Remove an elements to transfer.Parameters:iRankthe position of the specification to remove
- Parameters:
i_rank (int) –
- Return type:
None
- replace_elements_to_transfer(i_rank: int, i_element: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceElementsToTransfer(long iRank,Reference iElement)Replace an elements to transfer.Parameters:iRankthe position of the specification to replaceiElementthe specification to transfer to append.
- Parameters:
i_rank (int) –
i_element (Reference) –
- Return type:
None
- property surface_to_unfold: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SurfaceToUnfold() As ReferenceReturns or sets the surface to unfold.Sub-element(s) supported (see Boundary object): Face, TriDimFeatEdge andBiDimFeatEdge.
- Return type:
- property surface_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SurfaceType() As longReturns or sets the type of surface to unfold.0= The type of surface is not defined1= The type of surface is ruled2= The type of surface is all
- Return type:
int
- property target_orientation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TargetOrientationMode() As longReturns or sets the mode for target surface orientation.0= No axis inversion1= U inversion axis2= V inversion axis3= U inversion axis and V inversion axis4= U inversion axis and swap U and V axis5= V inversion axis and swap U and V axis6= U inversion axis, V inversion axis and swap U and Vaxis7= Swap U and V axis
- Return type:
int