简体   繁体   English

单击3d模型中的零件,打开附件的pdf文件…Acrobat javascript

[英]open an attached pdf on click of a part in 3d model… Acrobat javascript

I want to open an attached pdf when I click on a part of 3d model. 当我单击3D模型的一部分时,我想打开一个附件pdf。 When I try 当我尝试

host.exportDataObject({ cName: "MindSphere_GettingStarted.pdf", nLaunch: 2 });

it throws an error 它抛出一个错误

TypeError: Invalid argument type.
Doc.exportDataObject:0:Doc undefined:Exec
===> Parameter cName.Line:

Object don't pass well across the 3D JavaScript engine and the host. 对象无法顺利通过3D JavaScript引擎和主机。 Try this instead 试试这个

host.exportDataObject("MindSphere_GettingStarted.pdf", null, false, 2);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM