pycatia.hybrid_shape_interfaces.hybrid_shape_sweep_explicit¶
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_sweep_explicit.HybridShapeSweepExplicit(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.HybridShapeSweepHybridShapeSweepExplicitRepresents the hybrid shape Sweep explicit feature object.Role: To access the data of the hybrid shape sweep explicit featureobject.LICENSING INFORMATION: Creation of volume result requires GSOLicenseif GSO License is not granted , setting of Volume context has noteffectSee also:HybridShapeFactory- property angle_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AngleLaw() As ReferenceReturns or sets the angle law feature associated to the referencesurface.Parameters:oElemAngle law element. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceSee also:HybridShapeFactory
- Return type:
- property angle_law_inversion: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AngleLawInversion() As longReturns or sets the angle law inversion information.Parameters:oElemAngle law inversion information.See also:HybridShapeFactory
- Return type:
int
- property angle_law_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AngleLawType() As longReturns or sets the angle law type associated to the referencesurface.Parameters:oElemAngle law type.See also:HybridShapeFactory
- Return type:
int
- property canonical_detection: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CanonicalDetection() As longReturns or sets whether canonical surfaces of the swept surface aredetected.Legal values:0 No detection of canonical surface is performed.2 Detection of canonical surfaces is performed.
- Return type:
int
- property context: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Context() As longReturns or sets the context on Sweep feature.0 This option creates Swept surface.1 This option creates Swept volume.Note: Setting volume result requires GSO License.Example:This example retrieves in oContext the context for the Sweep hybridshape feature.Dim oContextSet oContext = Sweep.Context
- Return type:
int
- property first_guide_crv: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstGuideCrv() As ReferenceGets the first guide curve.Parameters:oElemGuide curve. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceReturns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Return type:
- get_angle_ref(ii: int) Angle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngleRef(long ii) As AngleGets the angle value associated to the reference surface.Parameters:iIAngle value index (1: start value, 2: end value).oElemAngle value. return value for CATScript applications, with(IDLRETVAL) function typeSee also:AngleSee also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
- get_fitting_points(op_ia_elem_a: Reference, op_ia_elem_b: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetFittingPoints(Reference opIAElemA,Reference opIAElemB)Gets the fitting points : located in the profile plane, these points are used for two-guideswept surfaces to determine guide intersection locations.param opIAElem1 Fitting point associated to the firstguideparam opIAElem2 Fitting point associated to the second guide
- get_longitudinal_relimiters(op_ia_elem_a: Reference, op_ia_elem_b: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetLongitudinalRelimiters(Reference opIAElemA,Reference opIAElemB)Deprecated:V5R16 CATHybridShapeSweepExplicit#GetRelimiters Returns the elementsrelimiting the spine (or the default spine).param : opIAElem1 First relimiting feature (plane or point)param : opIAElem2 Second relimiting feature (plane or point)
- get_nb_angle(o_ang: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbAngle(long oAng)Returns the number of Angles.param : oAng Number of Angle.
- Parameters:
o_ang (int) –
- Return type:
None
- get_nb_guide(o_num: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbGuide(long oNum)Gets the number of guides curves.param : oNum Number of guide curves.
- Parameters:
o_num (int) –
- Return type:
None
- get_nb_pos_angle(o_pos_ang: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbPosAngle(long oPosAng)Gets the number of numerical positioning parameters corresponding to anglesfrom the default positions of the X axes.param : oPosAng Number of parameters
- Parameters:
o_pos_ang (int) –
- Return type:
None
- get_nb_pos_coord(o_pos_coord: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbPosCoord(long oPosCoord)Gets the number of numerical positioning parameters corresponding tocoordinates of the new axes systems origins.param oPosCoord Number of parameters
- Parameters:
o_pos_coord (int) –
- Return type:
None
- get_pos_angle(ii: int) Angle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosAngle(long ii) As AngleGets angles if both profile and first sweep plane axis systems from defaultpositions.Parameters:iIIndex of numerical positioning coordinates in profile (value 1) orfirst sweep plane (value 2) axis system.oElemAngle value. return value for CATScript applications, with(IDLRETVAL) function typeSee also:AngleSee also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
- get_pos_coord(ii: int) Length ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosCoord(long ii) As LengthGets translations coordinates if both profile axis system and first sweepplane axis system from default positions.Parameters:iIIndex of numerical positioning coordinates in profile (value 1 or2) or first sweep plane (value 3 or 4) axis system.oElemCoordinate value. return value for CATScript applications, with(IDLRETVAL) function typeSee also:LengthSee also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
- get_pos_direction(ii: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosDirection(long ii) As ReferenceGets the positioning directions : profile plane or first sweep plane X-axis direction.Parameters:iIPlane index : 1 for profile plane, 2 for first sweep plane.oElemDirection element. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceSee also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
- get_pos_point(ii: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosPoint(long ii) As ReferenceGets the points designated as the origins of the profile plane and firstsweep plane.Parameters:iIPlane index : 1 for profile plane, 2 for first sweep plane.oElemOrigin point. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceSee also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
- get_pos_swap_axes(ii: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosSwapAxes(long ii) As longGets axes inversion from previous definition for both profile plane andfirst sweep plane.Parameters:iIAxis system index (1 for profile plane, 2 for first sweep plane).oElemInversion value:Inversion values := 1 - CATGSMAxisInversionMode_None : no axis inverted.= 2 - CATGSMAxisInversionMode_X : only X axis inverted.= 3 - CATGSMAxisInversionMode_Y : only Y axis inverted.= 4 - CATGSMAxisInversionMode_Both : both axes inverted.See also:HybridShapeFactory
- Parameters:
ii (int) –
- Return type:
int
- get_relimiters(op_ia_elem1: Reference, op_orient1: int, op_ia_elem2: Reference, op_orient2: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetRelimiters(Reference opIAElem1,long opOrient1,Reference opIAElem2,long opOrient2)Retrieves the elements relimiting the spine (or the defaultspine).Parameters:opIAElem1The first relimiting feature (plane or point)opOrient1Split direction for the first relimitation0 means that the beginning of the spine (considering itsorientation) is removed, 1 means that the end of the spine is removedopIAElem2The second relimiting feature (plane or point)opOrient2Split direction for the second relimitation
- property guide_deviation: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property GuideDeviation() As Length (Read Only)Returns deviation value (length) from guide curves allowed during sweepingoperation in order to smooth it.
- Return type:
- property guide_deviation_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property GuideDeviationActivity() As booleanReturns or sets information whether a deviation from guide curves isallowed or not.Gives the information on performing smoothing during sweepingoperation.TRUE or FALSE (FALSE if not specified).
- Return type:
bool
- property guide_projection: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property GuideProjection() As booleanReturns or sets the projection of the guide curve onto the reference planein order to use it as spine, in pulling direction case only. Removes Spine ifGuideProjection is set to TRUE.Legal values: True projection is required and False if notExample:This example sets that the GuideProjection mode ofthe Sweep hybrid shape sweep explicit feature toTrue.Sweep.GuideProjection = True
- Return type:
bool
- is_sketch_axis_used_as_default(o_boolean: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub IsSketchAxisUsedAsDefault(boolean oBoolean)Queries status wherere Sketch axis used as default or not.In case of a sketch profile, specify if the 2D sketch axis must be used asdefault planar profile axis (for positioning purpose) ornot.param oBoolean TRUE if the 2D sketch axis must be used, FALSE if not.
- Parameters:
o_boolean (bool) –
- Return type:
None
- property mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Mode() As longReturns or sets positioning mode used for the profile.Parameters:oElemValues := 1 - CATGSMPositionMode_NoneOrPositioned : no positioning,= 2 - CATGSMPositionMode_ExplicitSweep : the explicit profile is to be moved from itsinitial plane to the first sweep plane,= 3 - CATGSMPositionMode_Develop : === DO NOT USE IN THIS CASE ===See also:HybridShapeFactory
- Return type:
int
- property position_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PositionMode() As longReturns or sets positioning mode.Legal values:0CATGSMPositionMode_NoneOrPositioned.1CATGSMPositionMode_ExplicitSweep. if a positioning operation isdone.Example:This example retrieves in oPosMode the position mode for the Sweep hybridshape feature.oPosMode = Sweep.PositionMode
- Return type:
int
- property positioned_profile: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PositionedProfile() As ReferenceReturns or sets the positioning transformation associated to the explicitswept surface and which result corresponds to the positionedprofile.Parameters:oElemPositioning transformation / positioned profile. return value forCATScript applications, with (IDLRETVAL) function typeSee also:ReferenceSee also:HybridShapeFactory
- Return type:
- property profile: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Profile() As ReferenceGets the profile to be swept out.Parameters:oElemProfile element. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceReturns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Return type:
- property profile_x_axis_computation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ProfileXAxisComputationMode() As longReturns or sets the computation mode of the X axis (or direction) of theinitial axis system (on the profile). Default value isCATGSMPositionDirCompMode_None when PosDirection(OutputDirection) is notspecified and CATGSMPositionDirCompMode_User if OutputDirection isspecified.Legal values:0CATGSMPositionDirCompMode_None. No X axis specified.1CATGSMPositionDirCompMode_Tangent: the X axis is implicitly the tangentof the profile at the origin (the origin then HAS to be on theprofile)2CATGSMPositionDirCompMode_User: the X axis is specified by a directionvia SetPosDirection(UserInputDirection, 1)Example:This example retrieves in oDirCompMode the Profile X Axis ComputationModefor the Sweep hybrid shape feature.oDirCompMode = Sweep.ProfileXAxisComputationMode
- Return type:
int
- property pulling_direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PullingDirection() As HybridShapeDirectionGets or sets the pulling directionIf the direction is specified, the plane normal to this direction is takenas reference surface.Example:This example retrieves in ohDir the pulling direction feature for theSweep hybrid shape feature.Dim ohDir As CATIAHybridShapeDirectionSet ohDir = Sweep.PullingDirection
- Return type:
- property reference: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Reference() As ReferenceReturns or sets the reference surface (optional).Parameters:oElemReference surface. return value for CATScript applications, with(IDLRETVAL) function typeSee also:Reference
- Return type:
- remove_angle() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAngle()Removes an Angle.
- Return type:
None
- remove_fitting_points() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveFittingPoints()Removes the fitting points.
- Return type:
None
- remove_guide() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveGuide()Removes a guide curve.
- Return type:
None
- property second_guide_crv: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondGuideCrv() As ReferenceGets the second guide curve (optional).Parameters:oElemGuide curve. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceReturns:HRESULT S_OK if Ok E_FAIL else return error code for C++ImplementationsSee also:HybridShapeFactory
- Return type:
- set_angle_ref(ii: int, elem: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngleRef(long ii,double Elem)Sets the angle value associated to the reference surface.Parameters:iIAngle value index (1: start value, 2: end value).iElemAngle value.See also:HybridShapeFactory
- Parameters:
ii (int) –
elem (float) –
- Return type:
None
- set_fitting_points(ip_ia_elem_a: Reference, ip_ia_elem_b: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetFittingPoints(Reference ipIAElemA,Reference ipIAElemB)Sets the fitting points.Does not work with NULL_var values, Use RemoveFittingPoints() methodinstead.param ipIAElem1 Fitting point associated to the first guide (must not beequal to NULL_var)param ipIAElem2 Fitting point associated to the second guide (can be equalto NULL_var)
- set_guide_deviation(i_length: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetGuideDeviation(double iLength)Sets deviation value (length) from guide curves allowed during sweeping.operation in order to smooth it.param : iLength Numerical value.
- Parameters:
i_length (float) –
- Return type:
None
- set_longitudinal_relimiters(ip_ia_elem_a: Reference, ip_ia_elem_b: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLongitudinalRelimiters(Reference ipIAElemA,Reference ipIAElemB)Deprecated:V5R16 CATHybridShapeSweepExplicit#SetRelimiters Sets the elementsrelimiting the spine (or the default spine).param : ipIAElem1 First relimiting feature (plane or point)param : ipIAElem2 Second relimiting feature (plane or point)
- set_pos_angle(ii: int, elem: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosAngle(long ii,double Elem)Sets angles if both profile and first sweep plane axis systems from defaultpositions.Parameters:iIIndex of numerical positioning coordinates in profile (value 1) orfirst sweep plane (value 2) axis system.iElemAngle value.See also:HybridShapeFactory
- Parameters:
ii (int) –
elem (float) –
- Return type:
None
- set_pos_coord(ii: int, elem: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosCoord(long ii,double Elem)Sets translations coordinates if both profile axis system and first sweepplane axis system from default positions.Parameters:iIIndex of numerical positioning coordinates in profile (value 1 or2) or first sweep plane (value 3 or 4) axis system.iElemCoordinate value.See also:HybridShapeFactory
- Parameters:
ii (int) –
elem (float) –
- Return type:
None
- set_pos_direction(ii: int, elem: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosDirection(long ii,Reference Elem)Sets the positioning directions : profile plane or first sweep plane X-axis direction.Parameters:iIPlane index : 1 for profile plane, 2 for first sweep plane.iElemDirection element.See also:ReferenceSee also:HybridShapeFactory
- Parameters:
ii (int) –
elem (Reference) –
- Return type:
None
- set_pos_point(ii: int, elem: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosPoint(long ii,Reference Elem)Sets the points designated as the origins of the profile plane and firstsweep plane.Parameters:iIPlane index : 1 for profile plane, 2 for first sweep plane.iElemOrigin point.See also:ReferenceSee also:HybridShapeFactory
- Parameters:
ii (int) –
elem (Reference) –
- Return type:
None
- set_pos_swap_axes(ii: int, elem: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosSwapAxes(long ii,long Elem)Sets axes inversion from previous definition for both profile plane andfirst sweep plane.Parameters:iIAxis system index (1 for profile plane, 2 for first sweep plane).iElemInversion value:Inversion values := 1 - CATGSMAxisInversionMode_None : no axis inverted.= 2 - CATGSMAxisInversionMode_X : only X axis inverted.= 3 - CATGSMAxisInversionMode_Y : only Y axis inverted.= 4 - CATGSMAxisInversionMode_Both : both axes inverted.See also:HybridShapeFactory
- Parameters:
ii (int) –
elem (int) –
- Return type:
None
- set_relimiters(ip_ia_elem1: Reference, ip_orient1: int, ip_ia_elem2: Reference, ip_orient2: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetRelimiters(Reference ipIAElem1,long ipOrient1,Reference ipIAElem2,long ipOrient2)Sets the elements relimiting the spine (or the defaultspine).Parameters:ipIAElem1The first relimiting feature (plane or point)ipOrient1Split direction for the first relimitation0 means that the beginning of the spine (considering itsorientation) is removed, 1 means that the end of the spine is removedipIAElem2The second relimiting feature (plane or point)ipOrient2Split direction for the second relimitation
- set_smooth_angle_threshold(i_angle: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSmoothAngleThreshold(double iAngle)Sets angular threshold.param : iAngle Numerical value.
- Parameters:
i_angle (float) –
- Return type:
None
- property smooth_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothActivity() As booleanReturns or sets information whether sweeping operation is smoothed ornot.TRUE or FALSE (FALSE if not specified).
- Return type:
bool
- property smooth_angle_threshold: Angle¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothAngleThreshold() As Angle (Read Only)Returns angular threshold.
- Return type:
- property solution_no: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SolutionNo() As longReturns or sets the choice number, which corresponds to each solution of agiven explicit sweep case.For example: a explicit sweep with reference surface leads to four possiblesolutions.
- Return type:
int
- property spine: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Spine() As ReferenceReturns or sets the spine (optional) for sweep operation.Parameters:oElemSpine curve. return value for CATScript applications, with(IDLRETVAL) function typeSee also:ReferenceSee also:HybridShapeFactory
- Return type:
- property sub_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SubType() As longReturns or sets the explicit sweep subtype.Legal subtype values are:1 Explicit profile swept surface defined with referencesurface2 Explicit profile swept surface defined with two guidecurves3 Explicit profile swept surface defined with pullingdirection
- Return type:
int
- use_sketch_axis_as_default(i_boolean: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub UseSketchAxisAsDefault(boolean iBoolean)Uses Sketch Axis As Default.In case of a sketch profile, specify if the 2D sketch axis must be used asdefault planar profile axis (for positioning purpose) ornot.param iBoolean TRUE if the 2D sketch axis must be used, FALSE if not.
- Parameters:
i_boolean (bool) –
- Return type:
None