All Frameworks  Object Hierarchy  This Framework  Indexes   

Chamfer (Object)

Represents the chamfer shape.
A chamfer is made up of a list of geometrical elements to process, such as faces, and is defined using a couple of parameters, such as two lengthes, or a length and an angle.

Property Index

Angle
Returns the chamfer angle.
ElementsToChamfer
Returns the collection of geometrical elements to be chamfered.
Length1
Returns the chamfer first length.
Length2
Returns the chamfer second length.
Mode
Returns or sets the chamfer definition mode.
Orientation
Returns or sets the chamfer orientation.
Propagation
Returns or sets the propagation mode of the geometrical elements to be chamfered.

Method Index

AddElementToChamfer
Adds a new geometrical element to be chamfered.
WithdrawElementToChamfer
Withdraws a geometrical element from those to be chamfered.

Properties


o Property Angle() As (Read Only)
Returns the chamfer angle. This is valid only if the chamfer is defined using a length and an angle, that is if the chamfer definition mode CatChamferMode is set to catLengthAngleChamfer.
Example:
The following example returns in angle the angle of the firstChamfer chamfer:
 Set angle = firstChamfer.Angle
o Property ElementsToChamfer() As (Read Only)
Returns the collection of geometrical elements to be chamfered.
Example:
The following example returns in list the list of elements of the firstChamfer chamfer:
 Set list = firstChamfer.ElementsToChamfer
 
o Property Length1() As (Read Only)
Returns the chamfer first length. This is the first length if the chamfer is defined by two lengthes, or the chamfer if the chamfer is defined by a length and an angle.
Example:
The following example returns in length1 the first length of the firstChamfer chamfer:
 Set length1 = firstChamfer.Length1
 
o Property Length2() As (Read Only)
Returns the chamfer second length. This is valid only if the chamfer is defined using two lengthes, that is if the chamfer definition mode CatChamferMode is set to catTwoLengthChamfer.
Example:
The following example returns in length2 the second length of the firstChamfer chamfer:
 Set length2 = firstChamfer.Length2
o Property Mode() As
Returns or sets the chamfer definition mode. The chamfer definition mode enables the chamfer to be defined using either two lengthes or a length and an angle.
Example:
The following example returns in mode how the parameters of the firstChamfer chamfer are defined, and then sets it to catTwoLengthChamfer:
 Set mode = firstChamfer.Mode
 firstChamfer.Mode = catTwoLengthChamfer
 
o Property Orientation() As
Returns or sets the chamfer orientation.
Example:
The following example returns in orient the orientation mode of the firstChamfer chamfer, and then sets it to catReverseChamfer:
 Set orient = firstChamfer.Orientation
 firstChamfer.Orientation = catReverseChamfer
 
o Property Propagation() As
Returns or sets the propagation mode of the geometrical elements to be chamfered.
Example:
The following example returns in prop the propagation mode of the firstChamfer chamfer, and then sets it to catMinimalChamfer:
 Set prop = firstChamfer.Propagation
 firstChamfer.Propagation = catMinimalChamfer
 

Methods


o Sub AddElementToChamfer( iElementToChamfer)
Adds a new geometrical element to be chamfered.
Parameters:
iElementToChamfer
The new element to be chamfered
The following
Boundary object is supported: TriDimFeatEdge.
Example:
The following example adds the new element element to be chamfered for the firstChamfer chamfer:
 firstChamfer.AddElementToChamfer(element)
 
o Sub WithdrawElementToChamfer( iElementToWithdraw)
Withdraws a geometrical element from those to be chamfered.
Parameters:
iElementToWithdraw
The existing element to withdraw
The following
Boundary object is supported: TriDimFeatEdge.
Example:
The following example withdraws an existing element element to be chamfered from the firstChamfer chamfer:
 firstChamfer.WithdrawElementToChamfer(element)
 

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