All Frameworks  Object Hierarchy  This Framework  Indexes   

DMOOffsets (Collection)

Interface to access a CATIADMOOffsets and compute Offsets

Method Index

AddOffsetFromVectors
Creates a new Offset from a set of vectors, and adds it to the DMOOffsets collection.
Add
Creates a new Offset and adds it to the DMOOffsets collection.
CleanUp
Cleans up.
ComputeAnOffsetFromVectorsWithAReference
Compute an offset on the selected products, according to some vectors and a reference product.
ComputeAnOffsetFromVectors
Compute an offset on the selected products, according to some vectors
ComputeAnOffsetWithAReference
Compute an offset on the selected products, according to a reference product.
ComputeAnOffset
Compute a offset on the selected products.
OffsetShapeName
Returns the name of the associated shape.

Methods


o Func AddOffsetFromVectors( iProductToOffset,
iOffsetVectors,
iOffsetValues,
iShapeName,
iActivatedShape,
iDefaultShape) As
Creates a new Offset from a set of vectors, and adds it to the DMOOffsets collection. This function is deprecated.
Returns:
The created offset
Example:
The following example creates an offset newOffset in the Offset collection.
 Set newOffset = DMOOffsets.Add
 
o Func Add( iProductToOffset,
iOffset1,
iUseConstraints,
iConstraints,
iShapeName,
iActivatedShape,
iDefaultShape) As
Creates a new Offset and adds it to the DMOOffsets collection. This function is deprecated.
Returns:
The created offset
Example:
The following example creates an offset newOffset in the Offset collection.
 Set newOffset = DMOOffsets.Add
 
o Sub CleanUp()
Cleans up.
o Func ComputeAnOffsetFromVectorsWithAReference( iGroupOfSelectedProducts,
iReferenceProduct,
iOffsetVectors,
iOffsetValues) As
Compute an offset on the selected products, according to some vectors and a reference product.
Parameters:
iGroupOfSelectedProducts
The selected products on which you want to perform the offset.
iReferenceProduct
The reference product.
iOffsetVectors
Vectors taken into account for the computation
iOffsetValues
Offset values.
Returns:
OffsetDocument: Document containing the result.
o Func ComputeAnOffsetFromVectors( GroupOfSelectedProducts,
iOffsetVectors,
iOffsetValues) As
Compute an offset on the selected products, according to some vectors
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the offset.
iOffsetVectors
Vectors taken into account for the computation
iOffsetValues
Offset values.
Returns:
OffsetDocument: Document containing the result.
o Func ComputeAnOffsetWithAReference( iGroupOfSelectedProducts,
iReferenceProduct,
iOffset,
iUseConstraints,
iConstraints) As
Compute an offset on the selected products, according to a reference product.
Parameters:
iGroupOfSelectedProducts
The selected products on which you want to perform the offset.
iReferenceProduct
The reference product.
iOffset
Offset value.
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.
Returns:
OffsetDocument: Document containing the result.
o Func ComputeAnOffset( GroupOfSelectedProducts,
iOffset,
iUseConstraints,
iConstraints) As
Compute a offset on the selected products.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the offset.
iOffset
Offset value.
iUseConstraints
Do we use normals constraints or not ?
iConstraints
Constraints array.
Returns:
OffsetDocument: Document containing the result.
o Func OffsetShapeName() As
Returns the name of the associated shape.

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