[英]Where Can I found docu for Autodesk.Viewing.MarkupsCore extension?
I am searching documentation for the Autodesk.Viewing.MarkupsCore
extension in the viewe V7, but I can't found it .我在 viewe V7 中搜索
Autodesk.Viewing.MarkupsCore
扩展的文档,但我找不到它。
https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/ https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/
Just I found in the viewer V2 : https://forge.autodesk.com/en/docs/viewer/v2/reference/javascript/markupscore/只是我在查看器 V2 中找到: https : //forge.autodesk.com/en/docs/viewer/v2/reference/javascript/markupscore/
Here is a mirror of the v6 and v7 markup tool extension (and measurement), with webpack build script:这是 v6 和 v7 标记工具扩展(和测量)的镜像,带有 webpack 构建脚本:
https://github.com/wallabyway/forge-markup-measure-extensions
https://github.com/wallabyway/forge-markup-measure-extensions
Examples:例子:
For an example of using the markup extension with PDF, see here:有关在 PDF 中使用标记扩展的示例,请参见此处:
https://forge.autodesk.com/blog/fast-pdf-viewingmarkup-inside-forge-viewer
https://forge.autodesk.com/blog/fast-pdf-viewingmarkup-inside-forge-viewer
For serializing the measurement tool bits to json and back from json:将测量工具位序列化为 json 并从 json 返回:
https://forge.autodesk.com/blog/area-planning-tool-forge-viewer-and-mysql
https://forge.autodesk.com/blog/area-planning-tool-forge-viewer-and-mysql
Adding an SVG 'stamp' to your 2D sheets:将 SVG“图章”添加到您的 2D 工作表中:
https://forge.autodesk.com/blog/add-svg-your-2d-sheets-forge-viewer
https://forge.autodesk.com/blog/add-svg-your-2d-sheets-forge-viewer
These are examples of why you might want to start customizing the markup/measure tool extension and when you need to read the actual code, override the class built-in methods or 'go-rogue' and change the code completely.这些示例说明了为什么您可能想要开始自定义标记/测量工具扩展,以及何时需要阅读实际代码,覆盖类内置方法或“go-rogue”并完全更改代码。
I personally prefer to use the information from the current version of https://forge.autodesk.com/en/docs/viewer/v7/developers_guide/overview/ and the API information ( https://autodeskviewer.com/viewers/latest /docs/index.html)我个人更喜欢使用https://forge.autodesk.com/en/docs/viewer/v7/developers_guide/overview/和 API 信息( https://autodeskviewer.com/viewers/latest /docs/index.html)
You can also review this example: https://github.com/Autodesk-Forge/library-javascript-viewer-extensions/tree/master/src/Viewing.Extension.Markup2D您还可以查看此示例: https : //github.com/Autodesk-Forge/library-javascript-viewer-extensions/tree/master/src/Viewing.Extension.Markup2D
出于某种原因,这在 V6 和 V7 文档中不可用,我会通知团队,但您现在可以在这里找到它 - https://forge.autodesk.com/en/docs/viewer/v5/reference/javascript/加成分/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.