
## extract(self, file_name, password) {#str-bytes}

Extract raw 3D content from PDF file.


### Returns 


A list of all 3D contents in bytes, including the formats that Aspose.3D don't supported.


```python

def extract(self, file_name, password):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | str | File name of input PDF file |
| password | bytes | Password of the PDF file |


## extract(self, stream, password) {#io.RawIOBase-bytes}

Extract raw 3D content from PDF stream.


### Returns 


A list of all 3D contents in bytes, including the formats that Aspose.3D don't supported.


```python

def extract(self, stream, password):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | Stream of input PDF file |
| password | bytes | Password of the PDF file |



### See Also
* module [`aspose.threed.formats`](../../)
* class [`PdfFormat`](/3d/python-net/aspose.threed.formats/pdfformat)
