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
dd>
- 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
dd>
- 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. dd>
- iOffset
- Offset value. dd>
- iUseConstraints
- Do we use normals constraints or not ? dd>
- iConstraints
- Constraints array. dd>
- Returns:
- OffsetDocument: Document containing the result. dd>
- 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. dd>
- iOffsetVectors
- Vectors taken into account for the computation dd>
- iOffsetValues
- Offset values. dd>
- Returns:
- OffsetDocument: Document containing the result. dd>
- 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. dd>
- iReferenceProduct
- The reference product. dd>
- iOffsetVectors
- Vectors taken into account for the computation dd>
- iOffsetValues
- Offset values. dd>
- Returns:
- OffsetDocument: Document containing the result. dd>
- 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. dd>
- iReferenceProduct
- The reference product. dd>
- iOffset
- Offset value. dd>
- iUseConstraints
- Do we use normals constraints or not ? dd>
- iConstraints
- Constraints array. dd>
- Returns:
- OffsetDocument: Document containing the result. dd>
- Func OffsetShapeName() As
- Returns the name of the associated shape.