zoukankan      html  css  js  c++  java
  • SolidWorks eDraring Control

    Here are some key features of "SolidWorks eDrawings":

    · Viewing native documents in the eDrawings Viewer, such as SolidWorks (*.sldprt, *.sldasm, and *.slddrw) and AutoCAD (*.dxf and *.dwg) documents
    · Creating eDrawings files from your CAD application
    · Viewing COSMOSWorks and COSMOSXpress analysis data
    · Viewing MoldflowXpress data
    · Using eDrawings as a standalone viewer or as an embedded ActiveX control
    · Shading views
    · Viewing and customizing animations
    · Linking drawing views
    · Hide Others/Show All
    · Make Transparent
    · Exporting files as STL, BMP, JPEG, or TIFF files

    Getting Started

    Implementing SolidWorks eDrawings API as Microsoft ActiveX control

    The SolidWorks eDrawings API is implemented as a Microsoft ActiveX control.

    1. To create an entry point into the SolidWorks eDrawings API in VBA add an eDrawings 20XX Control to the Controls Toolbox and drag and drop the control to a user form or dialog. 

    NOTE: EModelView.dll is an ActiveX control that is registered as eDrawings 20XX Control when it is installed in \Program Files\SolidWorks Corp\SolidWorks eDrawings.

    1. Access the EModelViewControl variable representing the control in the form and experiment with some of the SolidWorks SolidWorks eDrawings API calls. For example, try using IEModelViewControl::OpenDoc to open an SolidWorks eDrawings or SolidWorks document in the control or IEModelViewControl::ViewOrientation to change the current view of the document in the control.

  • 相关阅读:
    推荐几个不错的console调试技巧
    JS字符串截取函数slice(),substring(),substr()的区别
    ES6入门基础
    setTimeout的小尴尬
    Javascript自定义事件功能与用法实例分析
    JavaScript中函数定义的三种方法
    数组方法
    数组选择排序
    数组冒泡排序
    this指向问题(1)
  • 原文地址:https://www.cnblogs.com/leojun/p/2286976.html
Copyright © 2011-2022 走看看