Properties
- Property AdvancedTolerantMode() As
-
Returns or sets the tolerant mode taken into account during fill construction.
Legal values:- 0
- Unknown tolerant mode.
- 1
- None tolerant mode. Error thrown if maximum deviation exceeds CATIA resolution.
- 2
- Automatic tolerant mode. Error thrown if maximum deviation exceeds 100 times CATIA resolution.
- 3
- Manual tolerant mode. Error thrown if maximum deviation exceeds input user deviation.
- Example:
-
This example retrieves in
oModethe tolerant mode for theFillhybrid shape feature.Dim oMode Set oMode = Fill.AdvancedTolerantMode
- Property Constraint() As
-
Returns or sets the passing point for the Fill.
- Example:
-
This example retrieves in
Elementthe passing point for theFillhybrid shape feature.Dim Element As Reference Set Element = Fill.Constraint
- Property Continuity() As
-
Returns or sets the continuity between the support and fill.
Legal values:- 0
- Continuity in point (C0)
- 1
- Continuity in tangency (C1)
- 2
- Continuity in curvature (C2)
- Example:
-
This example retrieves in
oContinuitythe continuity type for theFillhybrid shape feature.Dim oContinuity Set oContinuity = Fill.Continuity
- Property Detection() As
-
Returns or sets the Canonical portion detection option.
Legal values:- 0
- No detection of canonical surface
- 2
- Detection of canonical surfaces
- Property MaximumDeviationValue() As
-
Sets or Gets the maximum deviation allowed for smoothing operation in fill commnd.
This value must be set in SI unit (m).
- Example:
This example retrieves in
DeviationValuethe maximum deviation value for theFillhybrid shape feature.Dim DeviationValue As double Set DeviationValue = Fill.MaximumDeviationValue
- Example:
This example retrieves in
- Property PlaneOnlyMode() As
-
Returns or sets whether Planar Boundaries only should be considered during fill operation.
Legal values:- TRUE
- Planar boundaries are only considered during Fill operation
- FALSE
- Non-Planar boundaries are also considered during Fill operation
- Property TolerantMode() As
-
- Deprecated:
- V5R26
Use
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
tolModethe tolerant mode for theFillhybrid shape feature.Dim tolMode As boolean Set tolMode = Fill.TolerantMode
- Example:
This example retrieves in
Methods
- Sub AddBound( iBoundary)
-
Adds an boundary to the hybrid shape fill feature object.
- Parameters:
-
- iBoundary
- The boundary(curve) to be added to the hybrid shape fill feature object.
- Example:
-
The following example adds the
iBoundarycurve to theFillobject.Fill.AddBound iBoundary
dd>
- Parameters:
-
- iBoundary
- Reference of the boundary object to which support has to be added. dd>
- iSupport
- Reference of the support object to be added.
- Example:
-
This example adds supports in the Fill feature
Fillto specifiediBoundaryboundaryFill.AddSupportAtBound iBoundary,iSupport
- Parameters:
-
- iConstraint
- The constraint to be appended.
- Example:
-
The following example appends the
iConstraintconstraint to theFillobject.Fill.AppendConstraint iConstraint
dd>
- Parameters:
-
- iPos
- The position of the boundary to retrieve.
- Example:
-
The following example gets the
oBoundaryboundary of theFillobject at the positioniPos.Dim oBoundary As Reference Set oBoundary = Fill.GetBoundAtPosition (iPos).
dd>
- Parameters:
-
- iBoundary
- The boundary whose position has to be retrieved.
- Example:
-
The following example gets the
oPosposition of theiBoundaryboundary in theFillobject.Dim oPos As long oPos = Fill.GetBoundPosition (iBoundary).
dd>
- Parameters:
-
- oSize
- Number of boundaries in the Fill.
- Example:
-
This example retrieves the number of boundaries
in the
Fillhybrid shape fill.Dim oSize As long oSize = Fill.GetBoundSize
- Parameters:
-
- iPos
- Position at which the continuity should be retrieved. dd>
- oContinuity
- Continuity retrieved between the support and the fill.
Legal values:- 0
- Continuity in point (C0)
- 1
- Continuity in tangency (C1)
- 2
- Continuity in curvature (C2)
- Example:
-
This example retrieves in
oContinuitythe continuity at the specified position ofFillhybrid shape fill feature.oContinuity = Fill.GetBoundaryContinuity iPos
- Parameters:
-
- iPos
- The position of the constraint to retrieve.
- Example:
-
The following example gets the
oConstraintconstraint of theFillobject at the positioniPos.Dim oConstraint As Reference Set oConstraint = Fill.GetConstraintAtPosition (iPos).
dd>
- Parameters:
-
- oSize
- Number of constraints in the Fill.
- Example:
-
This example retrieves the number of constraints
in the
Fillhybrid shape fill.Dim oSize As long oSize = Fill.GetConstraintsSize
- Parameters:
-
- iPos
- The position of the support to retrieve.
- Example:
-
The following example gets the
oSupportsupport of theFillobject at the positioniPos.Dim oSupport As Reference Set oSupport = Fill.GetSupportAtPosition (iPos).
dd>
- Parameters:
-
- iBoundary
- Reference of the boundary object to be inserted. dd>
- iPos
- Position after which the element should be inserted.
- Example:
-
This example inserts the boundary in the Fill feature
Fillafter positioniPosFill.InsertBoundAfterPosition iBoundary,iPos
Fill object.
Fill.RemoveAllBound
- Parameters:
-
- iPos
- The position of the boundary to remove.
- Example:
-
The following example removes the boundary object from the
Fillobject at the positioniPos.Fill.RemoveBoundAtPosition iPos.
dd>
- Parameters:
-
- iPos
- The position of the constraint to remove.
- Example:
-
The following example removes the constraint object from the
Fillobject at the positioniPos.Fill.RemoveConstraint iPos.
dd>
- Parameters:
-
- iPos
- The position of the support to remove.
- Example:
-
The following example removes the support object from the
Fillobject at the positioniPos.Fill.RemoveSupportAtPosition iPos.
dd>
- Parameters:
-
- iBoundary
- Reference of the boundary object to be replaced. dd>
- iPos
- Position at which the boundary should be replaced.
- Example:
-
This example replaces the boundary in the Fill feature
Fillat specified positioniPosFill.ReplaceBoundAtPosition iBoundary,iPos
- Parameters:
-
- iPos
- Position at which the constraint should be replaced. dd>
- iConstraint
- Reference of the constraint object to be replaced.
- Example:
-
This example replaces the constraint in the Fill feature
Fillat specified positioniPosFill.ReplaceConstraint iPos,iConstraint
- Parameters:
-
- iSupport
- Reference of the support object to be replaced. dd>
- iPos
- Position at which the support should be replaced.
- Example:
-
This example replaces the support in the Fill feature
Fillat specified positioniPosFill.ReplaceSupportAtPosition iSupport,iPos
- Parameters:
-
- iContinuity
- Continuity between the support and the fill.
Legal values:- 0
- Continuity in point (C0)
- 1
- Continuity in tangency (C1)
- 2
- Continuity in curvature (C2)
- iPos
- Position at which the continuity should be set.
- Example:
-
This example sets the continuity in the Fill feature
Fillat specified positioniPosFill.SetBoundaryContinuity iContinuity,iPos