Skip to main content

FileIO.import_cad(file_name, params)

Import a CAD file from disk. Supported CAD file formats on Windows are: *.scdoc *.scdocx *.dsco *.fmd *.agdb *.pmdb *.meshdat *.mechdat *.dsdb *.cmdb *.sat *.sab *.dwg *.dxf *.model *.exp *.CATPart *.CATProduct *.cgr *.3dxml *.prt* *.asm* *.iges *.igs *.ipt *.iam *.jt *.prt *.x_t *.x_b *.par *.psm *.asm *.sldprt *.sldasm *.step *.stp *.stl *.plmxml *.tgf Supported CAD file formats on Linux are: *.fmd *.agdb *.pmdb *.meshdat *.mechdat *.dsdb *.cmdb *.sat *.sab *.CATPart *.CATProduct *.iges *.igs *.jt *.x_t *.x_b *.step *.stp *.stl *.plmxml *.tgf Refer Reading and writing files section in User guide for a comprehensive list of supported formats. Parameters: file_name Path to the CAD file on disk. params Parameters for importing the CAD file. Returns: ImportCadResults Results from importing the CAD file. Return type: ImportCadResults

Examples