DMOOffsets (Object)

Interface to access a CATIADMOOffsets and compute Offsets

Methods


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
 
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
 
Sub CleanUp()
Cleans up.
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.
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.
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.
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.
Func OffsetShapeName() As
Returns the name of the associated shape.