
## seek {#int-aspose.cad.SeekOrigin}

Sets the position within the current stream.


### Returns 


The new position within the current stream.


```python
def seek(self, offset, origin):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| offset | int | A byte offset relative to the `origin` parameter. This value represents offset from the starting stream position passed in the StreamContainer constructor. |
| origin | [`SeekOrigin`](/cad/python-net/aspose.cad/seekorigin) | A value of type [`SeekOrigin`](/cad/python-net/aspose.cad/seekorigin) indicating the reference point used to obtain the new position. |



### See Also
* module [`aspose.cad`](../../)
* class [`SeekOrigin`](/cad/python-net/aspose.cad/seekorigin)
* class [`StreamContainer`](/cad/python-net/aspose.cad/streamcontainer)
