Export Format
|
Creo TOOLKIT function
|
Type Constant
|
---|---|---|
Bills of material
|
ProOutputFileMdlnameWrite()
|
PRO_BOM_FILE
|
Drawing setup file
|
PRO_DWG_SETUP_FILE
|
|
Feature identifier
|
PRO_FEAT_INFO, PRO_FEAT_INFO
|
|
Material file (currently assigned material)
|
PRO_MATERIAL_FILE
|
|
CL Data output, NC Sequence file
|
PRO_MFG_FEAT_CL
|
|
CL Data operation file
|
PRO_MFG_OPER_CL
|
|
Information on Creo Parametric Objects
|
PRO_MODEL_INFO
|
|
Program file
|
PRO_PROGRAM_FILE
|
|
Cable Parameters file
|
PRO_CABLE_PARAMS_FILE
|
|
Connector Parameters file
|
PRO_CONNECTOR_PARAMS_FILE
|
|
Spool file
|
PRO_SPOOL_FILE
|
|
Difference Report file
|
PRO_DIFF_REPORT_FILE
|
|
IGES file
|
PRO_IGES_FILE
|
|
DXF file
|
PRO_DXF_FILE
|
|
DWG file
|
PRO_DWG_FILE
|
|
Render file
|
PRO_RENDER_FILE
|
|
SLA ASCII file
|
PRO_SLA_ASCII_FILE
|
|
SLA Binary file
|
PRO_SLA_BINARY_FILE
|
|
INVENTOR file
|
PRO_INVENTOR_FILE
|
|
CATIA facets file
|
PRO_CATIAFACETS_FILE
|
|
IGES 3D file
|
PRO_IGES_3D_FILE
|
|
STEP file
|
PRO_STEP_FILE
|
|
VDA file
|
PRO_VDA_FILE
|
|
FIAT file
|
PRO_FIAT_FILE
|
|
CATIA DIRECT file
|
PRO_CATIA_DIRECT_FILE
|
|
ACIS file
|
PRO_ACIS_FILE
|
|
CGM file
|
PRO_CGM_FILE
|
• | For PRO_RENDER_FILE, PRO_INVENTOR_FILE, PRO_CATIAFACETS_FILE, PRO_SLA_ASCII_FILE, and PRO_SLA_BINARY_FILE, set the following argument:
|
• | For PRO_SPOOL_FILE, set arg1 to the spool name. |
• | For PRO_FEAT_INFO, PRO_MFG_FEAT_CL, and PRO_MFG_OPER_CL, set the following argument:
|
• | For PRO_IGES_3D_FILE, PRO_STEP_FILE, PRO_VDA_FILE, PRO_FIAT_FILE, PRO_CATIA_DIRECT_FILE, or PRO_ACIS_FILE, set the following argument:
|
• | For PRO_CGM_FILE, set the following arguments:
|
• | For PRO_CONNECTOR_PARAMS, set the following arguments:
|
• | For PRO_CABLE_PARAMS_FILE, set the following arguments:
|
• | For PRO_DIFF_REPORT_FILE, set the following argument:
|
• | For PRO_RELATION_FILE, set the following argument:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Export Format
|
Creo TOOLKIT Functions
|
Type Constant
|
---|---|---|
STEP
|
Pro2dExport()
|
PRO_STEP_FILE
|
IGES
|
PRO_IGES_FILE
|
|
MEDUSA
|
PRO_MEDUSA_FILE
|
|
DXF
|
PRO_DXF_FILE
|
|
DWG
|
PRO_DWG_FILE
|
|
CGM
|
PRO_CGM_FILE
|
|
TIFF
|
PRO_SNAP_TIFF_FILE
|
|
Stheno
|
PRO_STHENO_FILE
|
|
DXF
|
ProOutputFileMdlnameWrite()
|
PRO_DXF_FILE
|
DWG
|
PRO_DWG_FILE
|
|
CGM file
|
PRO_CGM_FILE
|
|
PVS file, Plot file
|
ProProductviewFormatted
Export() |
PRO_PV_FORMAT_PVS
|
ED file, Plot file
|
PRO_PV_FORMAT_ED
|
|
EDZ file
|
PRO_PV_FORMAT_EDZ
|
|
PVZ file
|
PRO_PV_FORMAT_PVZ
|
|
Plot file
|
ProPrintExecute()
|
N/A
|
• | PRO2DEXPORT_CURRENT_TO_MODEL_SPACE—Specifies that only the drawing’s current sheet will be exported as model space into the specified 2D format. This is the default value. |
• | PRO2DEXPORT_CURRENT_TO_PAPER_SPACE—Specifies that only the drawing’s current sheet will be exported as paper space into the specified 2D format. This value is only available for formats that support the concept of model space and paper space, for example, DXF and DWG. |
• | PRO2DEXPORT_ALL—Specifies that all the sheets in a drawing will be exported into the specified 2D format as paper space, if applicable to the format type. |
• | PRO2DEXPORT_SELECTED—Specifies that selected sheets in a drawing will be exported as paper space and one sheet will be exported as model space. |
• | PRO_PV_FORMAT_PVS |
• | PRO_PV_FORMAT_ED |
• | PRO_PV_FORMAT_EDZ |
• | PRO_PV_FORMAT_PVZ |
• | POSTSCRIPT—Generic Postscript |
• | COLORPOSTSC—Color Postscript |
• | MS_PRINT_MGR—MS Print Manager Note
For a list of all supported printers, please refer to the Add Printer Type list in the Printer Configuration dialog box of Creo Parametric.
|
• | File Related:
|
• | Print Command:
|
• | Printer Specific:
Note
Consult your system administrator for more information on handshaking.
|
• | mdl—Specifies the model to be printed. |
• | quality—Determines the quality of the model to be printed. It checks for no line, no overlap, simple overlap, and complex overlap. |
• | use_drawing_size—Overrides the size of the paper specified in the Printer options. |
• | draw_format—Prints the drawing format used. |
• | segmented—If true, that is the value is set to a boolean of 1, the printer prints drawing full size, but in segments that are compatible with the selected paper size. This option is available only if you are plotting a single page. |
• | layer_only—Prints the specified layer only. |
• | layer_name—Prints the name of the layer. |
• | sheets—Prints the current sheet, all sheets, or selected sheets. |
• | range—An array of two integers specifying the start and end sheet numbers. |
• | use_solid_scale—Prints using the scale used in the solid model. |
• | Placement Options:
|
• | Clipping Options:
|
• | Label Options:
|
|
|
|
|
|
|
|
|
|
|
|
• | PRO_QPRINT_LAYOUT_PROJ—Use a projected view-type layout. |
• | PRO_QPRINT_LAYOUT_MANUAL—Use a manually arranged layout. |
• | PRO_QPRINT_LAYOUT_TEMPLATE—Use a drawing template to define the layout. If this option is used, only the template name is needed to define the print; other options are not used. |
• | PRODEV_ORIENTATION_PORTRAIT |
• | PRODEV_ORIENTATION_LANDSCAPE |
• | A_SIZE_PLOT |
• | B_SIZE_PLOT |
• | C_SIZE_PLOT |
• | D_SIZE_PLOT |
• | E_SIZE_PLOT |
• | A4_SIZE_PLOT |
• | A3_SIZE_PLOT |
• | A2_SIZE_PLOT |
• | A1_SIZE_PLOT |
• | A0_SIZE_PLOT |
• | F_SIZE_PLOT Note
Variable size plots are not supported by this utility.
|
• | options—Specifies the options handle. |
• | location—Specifies the location of the view being added for projected view layout. This option is ignored for a manual view layout.
It can be of the following types:
|
• | view_name—Specifies the name of the saved model view. |
• | scale—Specifies the view scale. |
• | display_style—Specifies the view display style to use and is of the following types:
|
• | PRO_QPRINTMANUAL_3VIEW_1_23VERT |
• | PRO_QPRINTMANUAL_3VIEW_23_VERT1 |
• | PRO_QPRINTMANUAL_3VIEW_123_HORIZ |
• | PRO_QPRINTPROJ_TOP_VIEW |
• | PRO_QPRINTPROJ_RIGHT_VIEW |
• | PRO_QPRINTPROJ_LEFT_VIEW |
• | PRO_QPRINTPROJ_BOTTOM_VIEW |
• | PRO_QPRINTPROJ_BACK_NORTH |
• | PRO_QPRINTPROJ_BACK_EAST |
• | PRO_QPRINTPROJ_BACK_SOUTH |
• | PRO_QPRINTPROJ_BACK_WEST Note
Projection views takes the same view scale and display style as the main view.
|
• | solid—Specifies the solid model to be printed. |
• | pcf_path—Specifies the path to the plotter configuration file to use. If no path is specified, then the path will have the value of the configuration option quick_print_plotter_config_file. |
• | options—Specifies the details of the quick drawing operation given by the ProQuickprintOptions handle. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Export Format
|
Creo TOOLKIT Functions
|
Type Constant
|
---|---|---|
STEP file (Standard for the Exchange of Product Model Data)
|
ProIntf3DFileWrite()
ProIntf3DFileWriteWithDefaultProfile()
|
PRO_INTF_EXPORT_STEP
|
VDA file
|
PRO_INTF_EXPORT_VDA
|
|
IGES (3D) file
|
PRO_INTF_EXPORT_IGES
|
|
CATIA (.model) file
|
PRO_INTF_EXPORT_CATIA_MODEL
|
|
SAT file (ACIS format for Creo Parametric)
|
PRO_INTF_EXPORT_SAT
|
|
NEUTRAL file (ASCII text)
|
PRO_INTF_EXPORT_NEUTRAL
|
|
CADDS file
|
PRO_INTF_EXPORT_CADDS
|
|
CATIA (.session) file
|
PRO_INTF_EXPORT_CATIA_SESSION
|
|
Parasolid file
|
PRO_INTF_EXPORT_PARASOLID
|
|
UG file
|
PRO_INTF_EXPORT_UG
|
|
CATIA V5 Part file
|
PRO_INTF_EXPORT_CATIA_PART
|
|
CATIA V5 Assembly file
|
PRO_INTF_EXPORT_CATIA_PRODUCT
|
|
JT Open format
|
PRO_INTF_EXPORT_JT
|
|
CATIA Graphical Representation (CGR) format
|
PRO_INTF_EXPORT_CATIA_CGR
|
|
DWG file
|
PRO_INTF_EXPORT_DWG
|
|
DXF file
|
PRO_INTF_EXPORT_DXF
|
|
SolidWorks Part File
|
PRO_INTF_EXPORT_SW_PART
|
|
SolidWorks Assembly File
|
PRO_INTF_EXPORT_SW_ASSEM
|
|
3D Manufacturing Format (3MF)
|
PRO_INTF_EXPORT_3MF
|
|
CATIA facets file
|
ProIntfSliceFileWithOptionsMdlnameExport()
|
PRO_CATIAFACETS_FILE
|
INVENTOR file
|
PRO_INVENTOR_FILE
|
|
Render file
|
PRO_RENDER_FILE
|
|
SLA ASCII file
|
PRO_SLA_ASCII_FILE
|
|
SLA Binary file
|
PRO_SLA_BINARY_FILE
|
|
Additive manufacturing file
|
PRO_AMF_FILE
|
|
JPEG file
|
ProRasterFileWrite()
|
PRORASTERTYPE_JPEG
|
BMP file
|
PRORASTERTYPE_BMP
|
|
TIFF file
|
PRORASTERTYPE_TIFF
|
|
EPS file (Postscript)
|
PRORASTERTYPE_EPS
|
|
PVS file, OL file
(a separate OL file is created for each PART in an assembly)
|
ProProductviewFormatted
Export() |
PRO_PV_FORMAT_PVS
|
ED file, OL file
(a separate OL file is created for each PART in an assembly)
|
PRO_PV_FORMAT_ED
|
|
EDZ file
|
PRO_PV_FORMAT_EDZ
|
|
PVZ file
|
PRO_PV_FORMAT_PVZ
|
|
VRML
|
ProExportVRML()
|
N/A
|
Shrinkwrap
|
ProSolidShrinkwrap
Create() |
N/A
|
• | 3D Manufacturing Format (3MF)—From Creo Parametric 5.0.1.0 onward, you can export Creo Parametric models to the 3MF format. The export includes part-level colors, top-assembly parameters, facet geometry, and hidden entities. |
• | JT—Creo Parametric models are exported to JT with their color overrides. Components with color overrides at any level in an assembly structure
are supported. From Creo Parametric 3.0 onward, the Product Manufacturing Information (PMI) of the annotations is exported as semantic representation from Creo Parametric to JT models. The semantic export is supported only for 3D notes and basic dimensions. All the other types of annotations are exported
as graphical entities. You can export planar and zonal cross-sections attached to combined states from Creo Parametric files to JT.
Note
From Creo Parametric 2.0 M200 onward the license INTF_for_JT is required to export a Creo Parametric model to JT. If the license is not available the functions return the error PRO_TK_NO_LICENSE.
|
• | Creo View—You can export colors assigned to the components of assemblies and their sub-assembly models, including the colors of the
sub-level entities such as parts, quilts, and faces from Creo Parametric to Creo View. Creo Parametric models are exported to Creo View with their color overrides. Components with color overrides at any level in an assembly structure are supported. Along with
components, color overrides are also supported for component model items, such as, face and quilts.
|
• | SolidWorks—From Creo Parametric 3.0 onward, you can export Creo Parametric models to SolidWorks. The export includes basic geometry such as datum features, colors, attributes, and layers, part models, assembly structures, boundary representation geometry, and non-geometric data. |
• | Unigraphics—The export of Creo Parametric models to Unigraphics includes the export of basic geometry such as datum features, colors, attributes, and layers. |
• | ProIntf3DFileWrite() |
• | ProOutputInclusionAlloc() |
• | ProOutputInclusionFree() |
• | ProOutputInclusionFlagsSet() |
• | ProOutputLayerOptionsAlloc() |
• | ProOutputLayerOptionsAutoidSet() |
• | ProOutputLayerOptionsSetupfileSet() |
• | ProOutputLayerOptionsFree() |
• | ProOutputInclusionWithOptionsSet() |
• | STEP |
• | VDA |
• | IGES |
• | CATIA MODEL |
• | SAT (ACIS format in Creo Parametric) |
• | NEUTRAL |
• | CADDS |
• | CATIA SESSION |
• | PARASOLID |
• | UG |
• | CATIA V5 |
• | JT Open |
• | CATIA Graphical Representation |
• | DWG |
• | DXF |
• | Flat File—Exports all of the geometry of the assembly to a single file as if it were a part. This is similar to the Single File format in Creo Parametric for STEP output. |
• | Single File—Exports an assembly structure to a file with external references to component files. This file contains only top-level geometry. This is similar to the Dittos format in Creo Parametric for CATIA, Separate Parts Only for STEP and One Level for IGES outputs. A part or an assembly is exported as a single file for the DXF and the DWG formats. |
• | Multi Files—Exports an assembly structure to a single file and the components to component files. It creates component parts and subassemblies with their respective geometry and external references. This option supports all levels of hierarchy. This is similar to All Levels format for IGES and Separate All Parts for STEP in Creo Parametric. |
• | Parts—Exports an assembly as multiple files containing geometry information of its components and assembly features. This is similar to All Parts format for IGES in Creo Parametric. |
• | NO—This is the default value. When you set the configuration option intf3d_out_jt_brep as NO, the function ProIntf3DFileWrite() exports the Creo Parametric model to JT format as facet representation only. |
• | JT_BREP—When you set the configuration option intf3d_out_jt_brep to JT_BREP, the exported Creo Parametric model has both the JT-brep format and the faceted representation. |
• | XT_BREP—When you set the configuration option intf3d_out_jt_brep to XT_BREP, the exported Creo Parametric model has both the XT-brep format and the faceted representation. |
• | The export of a Creo Parametric 3D model to a JT file format using the function ProIntf3DFileWrite() is also impacted by the following configuration options:
|
• | The configuration option intf3d_out_export_as_facets is now obsolete. |
• | model—The model used for export. |
• | layer_setup_file—The full path of the input layer setup file. Pass the value as NULL to set default layer setup settings for input file_type. Layer setup file is not supported for PRO_INTF_EXPORT_CADDS and PRO_INTF_EXPORT_NEUTRAL file types. |
• | pro_model—The model used for export. |
• | csys_sel—The reference coordinate system. Pass the value as NULL to set default coordinate system. Reference Csys is not supported for PRO_INTF_EXPORT_CADDS and PRO_INTF_EXPORT_NEUTRAL file types. |
• | Wireframe |
• | Surfaces |
• | Solid |
• | Quilts (Shell in Creo Parametric) |
• | Datums—Determines whether datum curves are included when exporting files. If the flag is set to true the datum curve and point information is included during export. The default value is false. |
• | Blanked—Determines whether entities on blanked layers are exported. If the flag is set to true, entities on blanked layers are exported. The default value is false. |
• | Facets—Determines whether faceted geometry is included when exporting the models. The default value of the flag is false. |
• | chord_height—The chord height to use for the exported facets. |
• | angle_control—The angle control to use for the exported facets. Note
The function ProOutputInclusionFacetparamsSet() has been deprecated. Use the function ProOutputInclusionWithOptionsSet() instead.
|
• | parameters—Specifies a ProArray of parameters that consists of the following three elements:
Note
If the chord height or step size are too small or too big, then Creo Parametric resets it to the smallest or biggest acceptable value, respectively, without returning an error.
|
• | config_flags—Specifies the configuration flags that control the export operation. They are as follows:
|
• | AutoId—A flag indicating whether layers should be automatically assigned numerical ids when exporting. |
• | LayerSetupFile—The layer setup file contains the name of the layer, its display status, the interface ID and number of sub layers. |
asm1_a.wrl, asm2_a.wrl, ... asmN_a.wrl
• | PRO_PV_FORMAT_PVS |
• | PRO_PV_FORMAT_ED |
• | PRO_PV_FORMAT_EDZ |
• | PRO_PV_FORMAT_PVZ |
• | EAITranslator—Specifies the setting for the export of control parameters.
|
• | LOD—Specifies a group of parameters that control tessellation for a specific LOD. It also specifies the number of the current
LOD.
|
• | proeConfig—Specifies the options that are specific to Creo Parametric.
|
• | UseJTAngularControl—Specifies the type of angle control to be used. Angles can be controlled using the Creo Parametric angle control values or the JT angle control values. Set this parameter to true to use the JT angle control values. Specify the angle control values in the Angular option. By default, this parameter is set to false. In this case, the Creo Parametric angle control options, LOD1angle, LOD2angle, LOD3angle, and so on, are used to define the LOD generation.
|
• | Surface Subset—This type consists of a subset of the original model’s surfaces. |
• | Faceted Solid—This type is a faceted solid representing the original solid. |
• | Merged Solid—The external components from the reference assembly model are merged into a single part representing the solid geometry in all collected components. |
Export Format
|
Creo TOOLKIT Functions
|
Type Constant
|
---|---|---|
Shrinkwrap
|
ProSolidShrinkwrap
Create() |
N/A
|
• | The model to be exported as Shrinkwrap |
• | The template model where the Shrinkwrap geometry will be created. |
• | The name of the exported file if the export format is VRML or STL. |
|
|
|
|
|
|
|
|
|
• | PRO_SWCREATE_SURF_SUBSET—Surface Subset |
• | PRO_SWCREATE_FACETED_SOLID—Faceted Solid |
• | PRO_SWCREATE_MERGED_SOLID—Merged Solid |
• | PRO_SWFACETED_PART——Creo Parametric part with normal geometry. This is the default format type. |
• | PRO_SWFACETED_LIGHTWEIGHT_PART—Lightweight Creo Parametric part with lightweight, faceted geometry. |
• | PRO_SWFACETED_STL—An STL file |
• | PRO_SWFACETED_VRML—A VRML file |
• | As a U3D model embedded in a one-page PDF file |
• | As 2D raster images embedded in the pages of a PDF file representing saved views |
• | As a standalone U3D file |
|
|
|
|
|
|
|
|
• | PRO_PDFOPT_EXPORT_MODE—Enables you to select the object to be exported to PDF and the export format. The values are:
|
• | PRO_PDFOPT_PDF_SAVE—Enables you to specify the PDF format while exporting 2D drawings and solid models. The values are:
|
• | PRO_PDFOPT_FONT_STROKE—Enables you to switch between using TrueType fonts in the resulting document and drawing or "stroking" text as line segments.
The values are:
|
• | PRO_PDFOPT_COLOR_DEPTH—Enables you to choose between color, grayscale, or monochrome output. The values are:
|
• | PRO_PDFOPT_HIDDENLINE_MODE—Enables you to set the style for hidden lines in the resulting PDF document. The values are:
|
• | PRO_PDFOPT_RASTER_DPI—Enables you to set the resolution for the output of any shaded views in DPI. The value is restricted to the values in ProDotsPerInch, and the default is PRORASTERDPI_300. |
• | PRO_PDFOPT_LAYER_MODE—Enables you to set the availability of layers in the document. The values are:
|
• | PRO_PDFOPT_PARAM_MODE—Enables you to set the availability of model parameters as searchable metadata in the PDF document. The values are:
|
• | PRO_PDFOPT_ALLOW_MODE—Defines the changes that you can make in the PDF document. This option can be set only if PRO_PDFOPT_RESTRICT_OPERATIONS is set to true. The permitted viewer operations are given by the following values:
|
• | PRO_PDFOPT_ALLOW_PRINTING_MODE—Allows you to set the print resolution. This option can be set only if the options PRO_PDFOPT_RESTRICT_OPERATIONS and PRO_PDFOPT_ALLOW_PRINTING are set to true. The values are:
|
• | PRO_PDFOPT_LINECAP—Enables you to control the treatment of the ends of the geometry lines exported to PDF. The values are:
|
• | PRO_PDFOPT_LINEJOIN—Enables you to control the treatment of the joined corners of connected lines exported to PDF. The values are:
|
• | PRO_PDFOPT_SHEETS—Enables you to specify the sheets from a Creo Parametric drawing that are to be exported to PDF. The values are:
|
• | PRO_PDFOPT_LIGHT_DEFAULT—Enables you to set the default lighting style used while exporting Creo Parametric models in the U3D format to a one-page PDF file. The values are:
|
• | PRO_PDFOPT_RENDER_STYLE_DEFAULT—Enables you to set the default rendering style used while exporting Creo Parametric models in the U3D format to a one-page PDF file. The values are:
|
• | PRO_PDFOPT_SIZE—Enables you to specify the page size of the exported PDF file. The values are restricted to the value of ProPlotPaperSize. If the value is VARIABLE_SIZE_IN_MM_PLOT or VARIABLE_SIZE_PLOT, the size must be specified in the PRO_PDFOPT_HEIGHT and PRO_PDFOPT_WIDTH properties. |
• | PRO_PDFOPT_ORIENTATION—Enables you to specify the orientation of the pages in the exported PDF file. The values are:
The option PRO_PDFOPT_ORIENTATION is not available if the property PRO_PDFOPT_SIZE is set to VARIABLE_SIZE_IN_MM_PLOT or VARIABLE_SIZE_PLOT
|
• | PRO_PDFOPT_VIEW_TO_EXPORT—Enables you to specify the view or views to be exported to the PDF file. The values are:
|
• | PRO_PDFOPT_INCL_ANNOT—Enables you to specify if annotations must be included when Creo Parametric models are exported as U3D graphics in a PDF file. The values are:
|
• | PRO_PDFOPT_SEARCHABLE_TEXT—If true, stroked text is searchable. The default value is true. |
• | PRO_PDFOPT_LAUNCH_VIEWER—If true, launches the Adobe Acrobat Reader. The default value is true. |
• | PRO_PDFOPT_HYPERLINKS—Sets Web hyperlinks to be exported as label text only or sets the underlying hyperlink URLs as active. The default value is true, specifying that the hyperlinks are active. |
• | PRO_PDFOPT_BOOKMARK_ZONES—If true, adds bookmarks to the PDF showing zoomed in regions or zones in the drawing sheet. The zone on an A4-size drawing sheet is ignored. |
• | PRO_PDFOPT_BOOKMARK_VIEWS—If true, adds bookmarks to the PDF document showing zoomed in views on the drawing. |
• | PRO_PDFOPT_BOOKMARK_SHEETS—If true, adds bookmarks to the PDF document showing each of the drawing sheets. |
• | PRO_PDFOPT_BOOKMARK_FLAG_NOTES—If true, adds bookmarks to the PDF document showing the text of the flag note. |
• | PRO_PDFOPT_RESTRICT_OPERATIONS—If true, allows you to restrict or limit operations on the PDF document using the ProPDFRestrictOperationsMode modification flags. The default is false. |
• | PRO_PDFOPT_ALLOW_PRINTING—If true, allows you to print the PDF document. The default value is true. |
• | PRO_PDFOPT_ALLOW_COPYING—If true, allows you to copy content from the PDF document. The default value is true. |
• | PRO_PDFOPT_ALLOW_ACCESSIBILITY—If true, enables visually-impaired screen reader devices to extract data independent of the value of the enum ProPDFRestrictOperationsMode. The default value is true. |
• | PRO_PDFOPT_PENTABLE—If true, uses the standard Creo Parametric pentable to control the line weight, line style, and line color of the exported geometry. The default value is false. |
• | PRO_PDFOPT_PENTAB_FOR_TEXT—If true, the standard Creo Parametric pentable is used to control the thickness of the stroked text of the exported geometry. If false, the stroked text will be exported with their original thickness and the thickness value defined by the pentable will be ignored. The default value is true. |
• | PRO_PDFOPT_ADD_VIEWS—If true, allows you to add view definitions to the U3D model from a file. The default value is true. |
• | PRO_PDFOPT_TITLE—Specifies a title for the PDF document. |
• | PRO_PDFOPT_AUTHOR—Specifies the name of the person generating the PDF document. |
• | PRO_PDFOPT_SUBJECT—Specifies the subject of the PDF document. |
• | PRO_PDFOPT_KEYWORDS—Specifies relevant keywords in the PDF document. |
• | PRO_PDFOPT_PASSWORD_TO_OPEN—Sets a password to open the PDF document. If the value is not set or NULL, anyone can open the PDF document without a password. |
• | PRO_PDFOPT_MASTER_PASSWORD—Sets a password to restrict or limit the viewer operations that you can perform on the opened PDF document. If the value is set to NULL, you can make any changes to the PDF document regardless of the settings of the PRO_PDFOPT_ALLOW_* modification flags. |
• | PRO_PDFOPT_SHEET_RANGE—Specifies the range of sheets in a Creo Parametric drawing that are to be exported to a PDF file. If this property is assigned, then the integer property PRO_PDFOPT_SHEETS is set to the value PRINT_SELECTED_SHEETS. |
• | PRO_PDFOPT_SELECTED_VIEW—Sets the option PRO_PDFOPT_VIEW_TO_EXPORT to the value PRO_PDF_VIEW_SELECT_BY_NAME, if the corresponding view is successfully found. |
• | PRO_PDFOPT_HEIGHT—Enables you to set the height for a user-defined page size of the exported PDF file. The default value is 0.0. This option is available only if the enum PRO_PDFOPT_SIZE is set to VARIABLE_SIZE_IN_MM_PLOT or VARIABLE_SIZE_PLOT. |
• | PRO_PDFOPT_WIDTH—Enables you to set the width for a user-defined page size of the exported PDF file. The default value is 0.0. This option is available only if the enum PRO_PDFOPT_SIZE is set to VARIABLE_SIZE_IN_MM_PLOT or VARIABLE_SIZE_PLOT. |
• | PRO_PDFOPT_TOP_MARGIN—Enables you to specify the top margin of the view port. The default value is 0.0. |
• | PRO_PDFOPT_LEFT_MARGIN—Enables you to specify the left margin of the view port. The default value is 0.0. |
• | PRO_PDFOPT_BACKGROUND_COLOR_RED—Enables you to specify the default red background color that appears behind the U3D model. You can set any value within the range of 0.0 through 255.0. The default value is 255.0. |
• | PRO_PDFOPT_BACKGROUND_COLOR_GREEN—Enables you to specify the default green background color that appears behind the U3D model. You can set any value within the range of 0.0 through 255.0. The default value is 255.0. |
• | PRO_PDFOPT_BACKGROUND_COLOR_BLUE—Enables you to specify the default blue background color that appears behind the U3D model. You can set any value within the range of 0.0 through 255.0. The default value is 255.0. |
• | model—A drawing model to export. This drawing model must be open and the drawing window must be active. |
• | output_file—The complete path to the output file with extension. |
• | profile—The path to the profile to be used. |
Import Format
|
Creo TOOLKIT Functions
|
Type Constant
|
---|---|---|
Relations file
|
ProInputFileRead()
|
PRO_RELATION_FILE
|
Program file
|
PRO_PROGRAM_FILE
|
|
Configuration options file
|
PRO_CONFIG_FILE
|
|
Setup file
|
PRO_DWG_SETUP_FILE
|
|
Spool file
|
PRO_SPOOL_FILE
|
|
Cable Parameters file
|
PRO_CABLE_PARAMS_FILE
|
|
Connector Parameters file
|
PRO_CONNECTOR_PARAMS_FILE
|
|
Model Tree Configuration file
|
PRO_ASSEM_TREE_CFG_FILE
|
|
Wirelist file
|
PRO_WIRELIST_FILE
|
|
SLD Variant file
|
SLD_VARIANT_FILE
|
• | arg1—Represents the integer pointer to ProIdTable. ProIdTable is an integer array of component identifiers. |
• | arg2—Represents the integer pointer to the number of component identifiers. |
• | arg1—Represents a ProSolid (part pointer). |
• | arg2—Represents the cable name. |
• | arg2—Represents the individual feature relations. It is an integer pointer to the feature identifier that gets the relations contained in a feature. If this is NULL you get the relations contained in the model. |
• | arg3—It is an integer pointer. If it points to 1, then the relations in the file must be added to the current relations, otherwise the relations in the file must replace the current relations. |
• | model—A valid object in memory. |
• | filename—Input file name with the file extension. |
• | file_type—File type to be read or imported. This argument is specified using the enumerated data type ProImportExportFile. The valid values are:
Note
|
• | flags—Bitwise flags or PRO_IMPORT_EXPORT_NO_FLAGS. This flag enables the interactive user interface in Creo Parametric. For example, if an error occurs while reading or executing an imported PRO_PROGRAM_FILE file, an interactive dialog box opens in Creo Parametric asking you if you want to continue with the operation. |
• | agr1, arg2, and arg3—The application data. |
• | arg4—unused |
Import Format
|
Creo TOOLKIT Functions
|
Type Constant
|
---|---|---|
STEP file
|
Pro2dImportMdlnameCreate(),
Pro2dImportAppend()
|
PRO_STEP_FILE
|
IGES (2D) file
|
PRO_IGES_FILE
|
|
DXF file
|
PRO_DXF_FILE
|
|
DWG file
|
PRO_DWG_FILE
|
|
CGM file
|
PRO_CGM_FILE
|
|
MEDUSA file
|
PRO_MEDUSA_FILE
|
|
Creo Elements/Direct drafting files (.mi, .bi, and .bdl)
|
PRO_CCD_DRAWING_FILE
|
|
IGES (2D) file
|
ProInputFileRead()
|
PRO_IGES_SECTION
|
• | Basic entities such as point, line, arc, fillet, circle, polygon, text, spline, b-spline, center line, symmetry line, reference text line, and projected reference points |
• | 2D construction geometry such as lines, arcs, circles, splines, and so on |
• | Linear, angular, radial, diameter, ordinate, and leader dimensions |
• | Tolerance values in dimensions |
• | Leader and non-leader notes |
• | Annotation views |
• | Drawing sheets, symbol, views, and layers |
• | The attributes of color, layers, line types, and text fonts |
• | All types of hatch including user-defined hatches |
|
|
|
|
Import Format
|
Creo TOOLKIT Functions
|
Type Constant
|
||||||||
---|---|---|---|---|---|---|---|---|---|---|
ACIS file
|
ProIntfimportModelWithOptionsMdlnameCreate()
|
PRO_INTF_IMPORT_ACIS
|
||||||||
CADDS file
|
PRO_INTF_IMPORT_CADDS
|
|||||||||
CATIA (.model) file
|
PRO_INTF_IMPORT_CATIA_MODEL
|
|||||||||
CATIA (.session) file
|
PRO_INTF_IMPORT_CATIA_SESSION
|
|||||||||
DXF file
|
PRO_INTF_IMPORT_DXF
|
|||||||||
ICEM file
|
PRO_INTF_IMPORT_ICEM
|
|||||||||
IGES file
|
PRO_INTF_IMPORT_IGES
|
|||||||||
Neutral file
|
PRO_INTF_IMPORT_NEUTRAL
|
|||||||||
Parasolid-based CADDS system file
|
PRO_INTF_IMPORT_PARASOLID
|
|||||||||
POLTXT file
|
PRO_INTF_IMPORT_POLTXT
|
|||||||||
STEP file
|
PRO_INTF_IMPORT_STEP
|
|||||||||
VDA file
|
PRO_INTF_IMPORT_VDA
|
|||||||||
CATIA (.CATpart) file
|
PRO_INTF_IMPORT_CATIA_PART
|
|||||||||
UG file
|
PRO_INTF_IMPORT_UG
|
|||||||||
Creo View (.ol and .ed) files
|
PRO_INTF_IMPORT_PRODUCTVIEW
|
|||||||||
JT Open format
|
PRO_INTF_IMPORT_JT
|
|||||||||
CATIA Graphical Representation (CGR) format
|
PRO_INTF_IMPORT_CATIA_CGR
|
|||||||||
SolidWorks Part (.sldprt) file
|
PRO_INTF_IMPORT_SW_PART
|
|||||||||
SolidWorks Asembly (.sldasm) file
|
PRO_INTF_IMPORT_SW_ASSEM
|
|||||||||
Inventor Part (.ipt) file
|
PRO_INTF_IMPORT_INVENTOR_PART
|
|||||||||
Inventor Assembly (.iam) file
|
PRO_INTF_IMPORT_INVENTOR_ASSEM
|
|||||||||
STL file
|
PRO_INTF_IMPORT_STL
|
|||||||||
VRML file
|
PRO_INTF_IMPORT_VRML
|
|||||||||
CATIA (.product) file
|
PRO_INTF_IMPORT_CATIA_PRODUCT
|
|||||||||
Creo Elements/Direct file (Assemblies and parts)
|
PRO_INTF_IMPORT_CC
|
|||||||||
Solid Edge Part (.par) file
|
PRO_INTF_IMPORT_SEDGE_PART
|
|||||||||
Solid Edge Assembly (.asm) file
|
PRO_INTF_IMPORT_SEDGE_ASSEMBLY
|
|||||||||
Solid Edge Sheet metal (.psm) file
|
PRO_INTF_IMPORT_SEDGE_SHEETMETAL_PART
|
|||||||||
3D Manufacturing Format (3MF)
|
PRO_INTF_IMPORT_3MF
|
• | 3D Manufacturing Format (3MF)—From Creo Parametric 5.0.1.0 onward, you can import 3MF files containing part and assembly models to Creo Parametric. You can import part-level colors, top-assembly parameters, and facet geometry from 3MF models to Creo Parametric. |
• | Autodesk Inventor—You can import Autodesk Inventor models to Creo Parametric. The import includes basic geometry such as solids, quilts, and surfaces from Autodesk Inventor models to Creo Parametric. You can also import datum features, colors, attributes, and wire body datum curves from Inventor part and assembly models.
Note
Depending on the Autodesk Inventor model, Creo Parametric imports the model as a part or an assembly. To let Creo Parametric decide if the Autodesk Inventor model must be imported as a part or assembly, in the function ProIntfimportModelWithOptionsMdlnameCreate(), you must specify the input argument ProMdlType as PRO_MDL_UNUSED.
|
• | JT—JT models are imported to Creo Parametric with their color overrides. Components with color overrides at any level in an assembly structure are supported. From Creo Parametric 3.0 onward, the Product Manufacturing Information (PMI) of the annotations is imported as semantic representation from JT models to Creo Parametric models. The semantic import is supported only for 3D notes and basic dimensions. All the other types of annotations are imported
as graphical entities. You can import the planar and zonal cross-sections of part and assembly models from JT files to Creo Parametric.
Note
From Creo Parametric M200 2.0 onward, the license INTF_for_JT is required to import a JT file to Creo Parametric. If the license is not available the functions return the error PRO_TK_NO_LICENSE.
|
• | Creo Elements/Direct—From Creo Parametric 3.0 onward, the Product Manufacturing Information (PMI) of the annotations is imported as semantic representation fromCreo Elements/Direct models to Creo Parametric models. The semantic import is supported only for 3D notes and basic dimensions. All the other types of annotations are imported as graphical entities. You can also import the clipping features owned by the Creo Elements/Direct part and assembly models as cross-sections in Creo Parametric. |
• | Creo View—You can import colors assigned to the components of assemblies and their sub-assembly models, including the colors of the sub-level entities such as parts, quilts, and faces from Creo View to Creo Parametric. Creo View models are imported to Creo Parametric with their color overrides. Components with color overrides at any level in an assembly structure are supported. Along with components, color overrides are also supported for component model items, such as, face and quilts. |
• | SolidWorks—You can import basic geometry such as solids, quilts, and surfaces from SolidWorks models to Creo Parametric. The import includes datum features, colors, attributes, and layers.
Note
Depending on the SolidWorks model, Creo Parametric imports the model as a part or an assembly. To let Creo Parametric decide if the SolidWorks model must be imported as a part or assembly, in the function ProIntfimportModelWithOptionsMdlnameCreate(), you must specify the input argument ProMdlType as PRO_MDL_UNUSED.
|
• | Solid Edge—From Creo Parametric 3.0 M010 onward, you can import Solid Edge part and assembly models to Creo Parametric. The import includes boundary representation geometry, datum features, colors, and attributes. From Creo Parametric 3.0 M030 onward, Solid Edge models are imported to Creo Parametric with their color overrides. Components with color overrides at any level in an assembly structure are supported.
From Creo Parametric 3.0 M020 onward, you can also import a Solid Edge sheet metal part to Creo Parametric.
Note
Depending on the Solid Edge model, Creo Parametric imports the model as a part or an assembly. To let Creo Parametric decide if the Solid Edge model must be imported as a part or assembly, in the function ProIntfimportModelWithOptionsMdlnameCreate(), you must specify the input argument ProMdlType as PRO_MDL_UNUSED.
|
• | Unigraphics—You can import basic geometry such as solids, quilts, and surfaces from Unigraphics models to Creo Parametric. The import includes datum features, colors, attributes, and layers.
Note
Depending on the Unigraphics model, Creo Parametric imports the model as a part or an assembly. To let Creo Parametric decide if the Unigraphics model must be imported as a part or assembly, in the function ProIntfimportModelWithOptionsMdlnameCreate(), you must specify the input argument ProMdlType as PRO_MDL_UNUSED.
|
• | import_file—Full path to the import file. |
• | profile_file—Full path to the profile file. If the value of this argument is passed as NULL, the default profile is used. |
• | type—The type of file to be imported. |
• | import_file—Full path to file to be imported. |
• | profile—The import profile path. An import profile is an XML file with the extension .dip. It contains the options that control an import operation. It also contains all the options for the supported 3D import formats.
Refer to the Creo Parametric Online Help for more information on creation and modification of import profiles. Note
The input argument profile allows you to include the import of Creo Elements/Direct containers, face parts, wire parts, and empty parts.
|
• | type—The type of file to be imported. The following formats are supported for importing structure and graphics level of details:
|
• | create_type—The type of model to create. This could be part, assembly, or drawing (for STEP associative drawings). |
• | rep type—The representation type to be used for importing. The enumerated type ProImportRepType defines the representation type and has the following values:
Note
The import representation types PRO_IMPORTREP_STRUCTURE and PRO_IMPORTREP_GRAPHICS do not create model geometry in Creo Parametric, although they allow the import of the fully-functional assemblies.
|
• | new_model_name— The name of the new top level import model. |
• | filter_func—Callback to the function ProIntfimportLayerFilter() that determines how to display and map layers from the imported model. If this is NULL, the default layer handling will take place. |
• | application_data—The application data to be passed to the filter function. Can be NULL. |
• | created_model—The handle to the created model (in case of an assembly – the handle to the top assembly). Even if this is NULL, the model is created. |
• | When importing an assembly using the function ProIntfimportModelWithOptionsMdlnameCreate() if any component of the assembly is missing, then during import an empty placeholder with the missing component name is created
in the model tree. For example, during import if the missing component is a part, an empty part is created. Similarly, if
the missing component is a subassembly, then an empty subassembly is created. Placeholders for missing components are created
only for the following formats:
|
• | Use the function ProIntfimportModelWithOptionsMdlnameCreate() with profile as NULL and rep type (representation type) as PRO_IMPORTREP_MASTER.
|
|
|
|
|
• | Number of curves on the specified layer |
• | Number of surfaces on the specified layer |
• | Number of trimmed surfaces on the specified layer |
• | Show—Display the specified layer. |
• | Blank—Make the specified layer blanked. |
• | Hidden—(Assembly mode only) Make the specified layer hidden. |
• | Skip—Do not import the entities on this layer. |
• | Ignore—Import only entities on this layer but not the layer |
|
|
|
• | PASS |
• | PASS_WITH_WARNINGS |
• | FAIL |