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.

  • 相关阅读:
    codeforces 719A:Vitya in the Countryside
    POJ3233 Matrix Power Series
    codevs1409 拦截导弹2
    BZOJ1562 [NOI2009]变换序列
    POJ1325 Machine Schedule
    codeforces 715B:Complete The Graph
    BZOJ1972:[SDOI2010]猪国杀
    浅谈模拟
    BZOJ2548:[CTSC2002]灭鼠行动
    BZOJ1033:[ZJOI2008]杀蚂蚁
  • 原文地址:https://www.cnblogs.com/leojun/p/2286976.html
Copyright © 2011-2022 走看看