All Frameworks  Object Hierarchy  This Framework  Indexes   

HybridShapeFill (Object)

The Fill feature : an Fill is made up of a face to process and one Fill parameter.

Property Index

Constraint
Returns or sets the passing point for the Fill.
Continuity
Returns or sets the continuity between the support and fill.
MaximumDeviationValue
Sets or Gets the maximum deviation allowed for smoothing operation in fill commnd.
PlaneOnlyMode
Returns or sets whether Planar Boundaries only should be considered during fill operation.
TolerantMode
Returns or sets the Tolerant mode option.

Method Index

AddBound
Adds an boundary to the hybrid shape fill feature object.
AddSupportAtBound
Inserts the support at specified boundary in the Fill.
AppendConstraint
Appends an constraint to the hybrid shape fill feature object.
GetBoundAtPosition
Retrieves the boundary at specified position in the hybrid shape fill feature object.
GetBoundPosition
Retrieves the position of a boundary used by the hybrid shape fill feature object.
GetBoundSize
Returns the number of boundaries in the Fill object.
GetBoundaryContinuity
Returns the continuity mode for a boundary at specified position in the Fill.
GetConstraintAtPosition
Retrieves the constraint at specified position in the hybrid shape fill feature object.
GetConstraintsSize
Returns the number of constraints in the Fill object.
GetSupportAtPosition
Retrieves the support at specified position in the hybrid shape fill feature object.
InsertBoundAfterPosition
Inserts the boundary after specified position in the Fill.
RemoveAllBound
Removes all boundaries of the hybrid shape fill feature object.
RemoveBoundAtPosition
Removes boundary at specified position in hybrid shape fill feature object.
RemoveConstraint
Removes constraint at specified position in hybrid shape fill feature object.
RemoveSupportAtPosition
Removes support at specified position in hybrid shape fill feature object.
ReplaceBoundAtPosition
Replaces the boundary at specified position in the Fill.
ReplaceConstraint
Replaces the constraint at specified position in the Fill.
ReplaceSupportAtPosition
Replaces the support at specified position in the Fill.
SetBoundaryContinuity
Sets the continuity mode for a boundary at specified position in the Fill.

Properties


o Property Constraint() As
Returns or sets the passing point for the Fill.
Example:
This example retrieves in Element the passing point for the Fill hybrid shape feature.
 Dim Element As Reference 
 Set Element = Fill.Constraint
 
o 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 oContinuity the continuity type for the Fill hybrid shape feature.
 Dim oContinuity
 Set oContinuity = Fill.Continuity
 
o 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 DeviationValue the maximum deviation value for the Fill hybrid shape feature.
 Dim DeviationValue As double
 Set DeviationValue = Fill.MaximumDeviationValue
 
o 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
o Property TolerantMode() As
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 the Fill hybrid shape feature.
 Dim tolMode As boolean
 Set tolMode = Fill.TolerantMode
 

Methods


o 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 iBoundary curve to the Fill object.
 Fill.AddBound iBoundary
 
o Sub AddSupportAtBound( iBoundary,
iSupport)
Inserts the support at specified boundary in the Fill.
Parameters:
iBoundary
Reference of the boundary object to which support has to be added.
iSupport
Reference of the support object to be added.
Example:
This example adds supports in the Fill feature Fill to specified iBoundary boundary
 Fill.AddSupportAtBound iBoundary,iSupport 
 
o Sub AppendConstraint( iConstraint)
Appends an constraint to the hybrid shape fill feature object.
Parameters:
iConstraint
The constraint to be appended.
Example:
The following example appends the iConstraint constraint to the Fill object.
 Fill.AppendConstraint iConstraint
 
o Func GetBoundAtPosition( iPos) As
Retrieves the boundary at specified position in the hybrid shape fill feature object.
Parameters:
iPos
The position of the boundary to retrieve.
Example:
The following example gets the oBoundary boundary of the Fill object at the position iPos.
 Dim oBoundary As Reference
 Set oBoundary = Fill.GetBoundAtPosition (iPos).
 
o Func GetBoundPosition( iBoundary) As
Retrieves the position of a boundary used by the hybrid shape fill feature object.
Parameters:
iBoundary
The boundary whose position has to be retrieved.
Example:
The following example gets the oPos position of the iBoundary boundary in the Fill object.
 Dim oPos As  long
 oPos = Fill.GetBoundPosition (iBoundary).
 
o Func GetBoundSize() As
Returns the number of boundaries in the Fill object.
Parameters:
oSize
Number of boundaries in the Fill.
Example:
This example retrieves the number of boundaries in the Fill hybrid shape fill.
 Dim oSize As  long
 oSize = Fill.GetBoundSize
 
o Func GetBoundaryContinuity( iPos) As
Returns the continuity mode for a boundary at specified position in the Fill.
Parameters:
iPos
Position at which the continuity should be retrieved.
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 oContinuity the continuity at the specified position of Fill hybrid shape fill feature.
 oContinuity = Fill.GetBoundaryContinuity iPos
 
o Func GetConstraintAtPosition( iPos) As
Retrieves the constraint at specified position in the hybrid shape fill feature object.
Parameters:
iPos
The position of the constraint to retrieve.
Example:
The following example gets the oConstraint constraint of the Fill object at the position iPos.
 Dim oConstraint As Reference
 Set oConstraint = Fill.GetConstraintAtPosition (iPos).
 
o Func GetConstraintsSize() As
Returns the number of constraints in the Fill object.
Parameters:
oSize
Number of constraints in the Fill.
Example:
This example retrieves the number of constraints in the Fill hybrid shape fill.
 Dim oSize As  long
 oSize = Fill.GetConstraintsSize
 
o Func GetSupportAtPosition( iPos) As
Retrieves the support at specified position in the hybrid shape fill feature object.
Parameters:
iPos
The position of the support to retrieve.
Example:
The following example gets the oSupport support of the Fill object at the position iPos.
 Dim oSupport As Reference
 Set oSupport = Fill.GetSupportAtPosition (iPos).
 
o Sub InsertBoundAfterPosition( iBoundary,
iPos)
Inserts the boundary after specified position in the Fill.
Parameters:
iBoundary
Reference of the boundary object to be inserted.
iPos
Position after which the element should be inserted.
Example:
This example inserts the boundary in the Fill feature Fill after position iPos
 Fill.InsertBoundAfterPosition iBoundary,iPos 
 
o Sub RemoveAllBound()
Removes all boundaries of the hybrid shape fill feature object.
Example:
The following example removes all boundaries of the Fill object.
 Fill.RemoveAllBound
 
o Sub RemoveBoundAtPosition( iPos)
Removes boundary at specified position in hybrid shape fill feature object.
Parameters:
iPos
The position of the boundary to remove.
Example:
The following example removes the boundary object from the Fill object at the position iPos.
 Fill.RemoveBoundAtPosition iPos.
 
o Sub RemoveConstraint( iPos)
Removes constraint at specified position in hybrid shape fill feature object.
Parameters:
iPos
The position of the constraint to remove.
Example:
The following example removes the constraint object from the Fill object at the position iPos.
 Fill.RemoveConstraint iPos.
 
o Sub RemoveSupportAtPosition( iPos)
Removes support at specified position in hybrid shape fill feature object.
Parameters:
iPos
The position of the support to remove.
Example:
The following example removes the support object from the Fill object at the position iPos.
 Fill.RemoveSupportAtPosition iPos.
 
o Sub ReplaceBoundAtPosition( iBoundary,
iPos)
Replaces the boundary at specified position in the Fill.
Parameters:
iBoundary
Reference of the boundary object to be replaced.
iPos
Position at which the boundary should be replaced.
Example:
This example replaces the boundary in the Fill feature Fill at specified position iPos
 Fill.ReplaceBoundAtPosition iBoundary,iPos 
 
o Sub ReplaceConstraint( iPos,
iConstraint)
Replaces the constraint at specified position in the Fill.
Parameters:
iPos
Position at which the constraint should be replaced.
iConstraint
Reference of the constraint object to be replaced.
Example:
This example replaces the constraint in the Fill feature Fill at specified position iPos
 Fill.ReplaceConstraint iPos,iConstraint 
 
o Sub ReplaceSupportAtPosition( iSupport,
iPos)
Replaces the support at specified position in the Fill.
Parameters:
iSupport
Reference of the support object to be replaced.
iPos
Position at which the support should be replaced.
Example:
This example replaces the support in the Fill feature Fill at specified position iPos
 Fill.ReplaceSupportAtPosition iSupport,iPos 
 
o Sub SetBoundaryContinuity( iContinuity,
iPos)
Sets the continuity mode for a boundary at specified position in the Fill.
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 Fill at specified position iPos
 Fill.SetBoundaryContinuity iContinuity,iPos 
 

Copyright © 2003, Dassault Systèmes. All rights reserved.