Manipulating model views using SOLIDWORKS API

Edit ArticleEdit Article

Model view is a 3D snapshot of SOLIDWORKS model visible to the user. SOLIDWORKS API provides the IModelView interface to perform manipulation and data extraction from views.

Model views can be transformed (scaled, rotated, moved) to change the orientation of the model.

Multiple view can be presented in the document to represent various states of the model. For example the motion study tab create new views to render the motion specific user interface elements.

This section contains examples and macros for manipulating the model views using SOLIDWORKS API.


All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.

Product of Xarial Product of Xarial