Inventor API: 2017版本支持3D PDF

来源:互联网 发布:超人幻想 知乎 编辑:程序博客网 时间:2024/06/04 00:34

原文链接:

http://adndevblog.typepad.com/manufacturing/2016/04/3d-pdf-options.html

新发布的2017版支持3D PDF 格式。对应的API也提供了。和其它Translator Addin 类似,也有一些配置选项。帮助文档的的说明里列出了一些,其它的如下:


1) Publish Options (Inventor.NameValueMap)

AttachedFiles (String array)
  - each string contains the full path of the file to be attached
STEPFileOptions (Inventor.NameValueMap)
  - see STEPFileOptions Options below
ExportAllProperties (Boolean)
ExportProperties (String array)
  - each string needs to be in the format of "<InternalName of property set>:<name of property>", 
    e.g. "{F29F85E0-4FF9-1068-AB91-08002B27B3D9}:Title"
ExportDesignViewRepresentations (String array)
  - list of the names of Design View Representations you want to export
VisualizationQuality (Inventor.AccuracyEnum)
GenerateAndAttachSTEPFile (Boolean)
LimitToEntitiesInDVRs (Boolean)
  - Limit export to entities in selected Design View Representations
FileOutputLocation (String)
ExportTemplate (String)
ViewPDFWhenFinished (Boolean)


2) STEPFileOptions Options (Inventor.NameValueMap)

ApplicationProtocolType (Integer)
  - possible values: 2 (=eAP203), 4 (=eAP214IS), 5 (=eAP242)
Author (String)
Authorization (String)
Description (String)
ExportFitTolerance (Double)
IncludeSketches (Boolean)
Organization (String)

0 0