pycatia.hybrid_shape_interfaces.hybrid_shape_fill¶
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_fill.HybridShapeFill(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeFillThe Fill feature : an Fill is made up of a face to process and one Fill parameter.- add_bound(i_boundary: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddBound(Reference iBoundary)Adds an boundary to the hybrid shape fill feature object.Parameters:iBoundaryThe boundary(curve) to be added to the hybrid shape fill featureobject.Example:The following example adds the iBoundary curve to the Fillobject.Fill.AddBound iBoundary
- Parameters:
i_boundary (Reference) –
- Return type:
None
- add_support_at_bound(i_boundary: Reference, i_support: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddSupportAtBound(Reference iBoundary,Reference iSupport)Inserts the support at specified boundary in the Fill.Parameters:iBoundaryReference of the boundary object to which support has to be added.iSupportReference of the support object to be added.Example:This example adds supports in the Fill feature Fill tospecified iBoundary boundaryFill.AddSupportAtBound iBoundary,iSupport
- property advanced_tolerant_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AdvancedTolerantMode() As longReturns or sets the tolerant mode taken into account during fillconstruction.Legal values:0Unknown tolerant mode.1None tolerant mode. Error thrown if maximum deviation exceeds CATIAresolution.2Automatic tolerant mode. Error thrown if maximum deviation exceeds 100times CATIA resolution.3Manual tolerant mode. Error thrown if maximum deviation exceeds inputuser deviation.Example:This example retrieves in oMode the tolerant mode for the Fill hybridshape feature.Dim oModeSet oMode = Fill.AdvancedTolerantMode
- Return type:
int
- append_constraint(i_constraint: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AppendConstraint(Reference iConstraint)Appends an constraint to the hybrid shape fill feature object. ========ONLY USE IN FSS ==============Parameters:iConstraintThe constraint to be appended.Example:The following example appends the iConstraint constraint to the Fillobject.Fill.AppendConstraint iConstraint
- Parameters:
i_constraint (Reference) –
- Return type:
None
- property constraint: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Constraint() As ReferenceReturns or sets the passing point for the Fill.Example:This example retrieves in Element the passing point for the Fill hybridshape feature.Dim Element As ReferenceSet Element = Fill.Constraint
- Return type:
- property continuity: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Continuity() As longReturns or sets the continuity between the support andfill.Legal values:0Continuity in point (C0)1Continuity in tangency (C1)2Continuity in curvature (C2)Example:This example retrieves in oContinuity the continuity type for the Fillhybrid shape feature.Dim oContinuitySet oContinuity = Fill.Continuity
- Return type:
int
- property detection: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Detection() As shortReturns or sets the Canonical portion detection option.Legal values:0No detection of canonical surface2Detection of canonical surfaces
- Return type:
int
- get_bound_at_position(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundAtPosition(long iPos) As ReferenceRetrieves the boundary at specified position in the hybrid shape fillfeature object.Parameters:iPosThe position of the boundary to retrieve.Example:The following example gets the oBoundary boundary of the Fill object atthe position iPos.Dim oBoundary As ReferenceSet oBoundary = Fill.GetBoundAtPosition (iPos).
- Parameters:
i_pos (int) –
- Return type:
- get_bound_position(i_boundary: Reference) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundPosition(Reference iBoundary) As longRetrieves the position of a boundary used by the hybrid shape fill featureobject.Parameters:iBoundaryThe boundary whose position has to be retrieved.Example:The following example gets the oPos position of the iBoundary boundaryin the Fill object.Dim oPos As longoPos = Fill.GetBoundPosition (iBoundary).
- Parameters:
i_boundary (Reference) –
- Return type:
int
- get_bound_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundSize() As longReturns the number of boundaries in the Fill object.Parameters:oSizeNumber of boundaries in the Fill.Example:This example retrieves the number of boundaries in the Fillhybrid shape fill.Dim oSize As longoSize = Fill.GetBoundSize
- Return type:
int
- get_boundary_continuity(i_pos: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundaryContinuity(long iPos) As longReturns the continuity mode for a boundary at specified position in theFill.Parameters:iPosPosition at which the continuity should be retrieved.oContinuityContinuity retrieved between the support and thefill.Legal values:0Continuity in point (C0)1Continuity in tangency (C1)2Continuity in curvature (C2)Example:This example retrieves in oContinuity the continuity at the specifiedposition of Fill hybrid shape fill feature.oContinuity = Fill.GetBoundaryContinuity iPos
- Parameters:
i_pos (int) –
- Return type:
int
- get_constraint_at_position(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetConstraintAtPosition(long iPos) As ReferenceRetrieves the constraint at specified position in the hybrid shape fillfeature object. ======== ONLY USE IN FSS ==============Parameters:iPosThe position of the constraint to retrieve.Example:The following example gets the oConstraint constraint of the Fillobject at the position iPos.Dim oConstraint As ReferenceSet oConstraint = Fill.GetConstraintAtPosition (iPos).
- Parameters:
i_pos (int) –
- Return type:
- get_constraints_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetConstraintsSize() As longReturns the number of constraints in the Fill object.Parameters:oSizeNumber of constraints in the Fill.Example:This example retrieves the number of constraints in the Fillhybrid shape fill.Dim oSize As longoSize = Fill.GetConstraintsSize
- Return type:
int
- get_support_at_position(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetSupportAtPosition(long iPos) As ReferenceRetrieves the support at specified position in the hybrid shape fillfeature object.Parameters:iPosThe position of the support to retrieve.Example:The following example gets the oSupport support of the Fill object atthe position iPos.Dim oSupport As ReferenceSet oSupport = Fill.GetSupportAtPosition (iPos).
- Parameters:
i_pos (int) –
- Return type:
- insert_bound_after_position(i_boundary: Reference, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InsertBoundAfterPosition(Reference iBoundary,long iPos)Inserts the boundary after specified position in the Fill.Parameters:iBoundaryReference of the boundary object to be inserted.iPosPosition after which the element should beinserted.Example:This example inserts the boundary in the Fill feature Fillafter position iPosFill.InsertBoundAfterPosition iBoundary,iPos
- Parameters:
i_boundary (Reference) –
i_pos (int) –
- Return type:
None
- property maximum_deviation_value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MaximumDeviationValue() As doubleSets or Gets the maximum deviation allowed for smoothing operation in fillcommnd. This value must be set in SI unit (m).Example: This example retrieves in DeviationValue the maximum deviationvalue for the Fill hybrid shape feature.Dim DeviationValue As doubleSet DeviationValue = Fill.MaximumDeviationValue
- Return type:
float
- property plane_only_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PlaneOnlyMode() As booleanReturns or sets whether Planar Boundaries only should be considered duringfill operation.Legal values:TRUEPlanar boundaries are only considered during FilloperationFALSENon-Planar boundaries are also considered during Filloperation
- Return type:
bool
- remove_all_bound() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllBound()Removes all boundaries of the hybrid shape fill feature object.Example:The following example removes all boundaries of the Fillobject.Fill.RemoveAllBound
- Return type:
None
- remove_all_constraints() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllConstraints()Removes all constraints.
- Return type:
None
- remove_bound_at_position(i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveBoundAtPosition(long iPos)Removes boundary at specified position in hybrid shape fill featureobject.Parameters:iPosThe position of the boundary to remove.Example:The following example removes the boundary object from the Fill objectat the position iPos.Fill.RemoveBoundAtPosition iPos.
- Parameters:
i_pos (int) –
- Return type:
None
- remove_constraint(i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveConstraint(long iPos)Removes constraint at specified position in hybrid shape fill featureobject. ======== ONLY USE IN FSS ==============Parameters:iPosThe position of the constraint to remove.Example:The following example removes the constraint object from the Fillobject at the position iPos.Fill.RemoveConstraint iPos.
- Parameters:
i_pos (int) –
- Return type:
None
- remove_support_at_position(i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveSupportAtPosition(long iPos)Removes support at specified position in hybrid shape fill featureobject.Parameters:iPosThe position of the support to remove.Example:The following example removes the support object from the Fill objectat the position iPos.Fill.RemoveSupportAtPosition iPos.
- Parameters:
i_pos (int) –
- Return type:
None
- replace_bound_at_position(i_boundary: Reference, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceBoundAtPosition(Reference iBoundary,long iPos)Replaces the boundary at specified position in the Fill.Parameters:iBoundaryReference of the boundary object to be replaced.iPosPosition at which the boundary should be replaced.Example:This example replaces the boundary in the Fill feature Fill atspecified position iPosFill.ReplaceBoundAtPosition iBoundary,iPos
- Parameters:
i_boundary (Reference) –
i_pos (int) –
- Return type:
None
- replace_constraint(i_pos: int, i_constraint: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceConstraint(long iPos,Reference iConstraint)Replaces the constraint at specified position in the Fill.Parameters:iPosPosition at which the constraint should be replaced.iConstraintReference of the constraint object to be replaced.Example:This example replaces the constraint in the Fill feature Fillat specified position iPosFill.ReplaceConstraint iPos,iConstraint
- Parameters:
i_pos (int) –
i_constraint (Reference) –
- Return type:
None
- replace_support_at_position(i_support: Reference, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub ReplaceSupportAtPosition(Reference iSupport,long iPos)Replaces the support at specified position in the Fill.Parameters:iSupportReference of the support object to be replaced.iPosPosition at which the support should be replaced.Example:This example replaces the support in the Fill feature Fill atspecified position iPosFill.ReplaceSupportAtPosition iSupport,iPos
- Parameters:
i_support (Reference) –
i_pos (int) –
- Return type:
None
- set_boundary_continuity(i_continuity: int, i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetBoundaryContinuity(long iContinuity,long iPos)Sets the continuity mode for a boundary at specified position in theFill.Parameters:iContinuityContinuity between the support and the fill.Legal values:0Continuity in point (C0)1Continuity in tangency (C1)2Continuity in curvature (C2)iPosPosition at which the continuity should be set.Example:This example sets the continuity in the Fill feature Fill atspecified position iPosFill.SetBoundaryContinuity iContinuity,iPos
- Parameters:
i_continuity (int) –
i_pos (int) –
- Return type:
None
- property tolerant_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TolerantMode() As booleanDeprecated:V5R26 Use HybridShapeFill.AdvancedTolerantMode Returns or sets the Tolerant mode option.Role: To activate or not the tolerant mode option TRUE : Tolerant mode is active.Uses deviation parameter to do tolerant fill. FALSE : Tolerant mode is not active.Example: This example retrieves in tolMode the tolerant mode for theFill hybrid shape feature.Dim tolMode As booleanSet tolMode = Fill.TolerantMode
- Return type:
bool