Ask and answer engineering questions

Learn from millions of experts

Feed

How to rebuild in Solidworks API

By Rajesh kumar on 02 Jan 17:12 2 answers 0 comments

I am new to Solidworks API. I just made my first API from the Video tutorial.
http://www.youtube.com/watch?v=VbVzefDmVt0
After creating the API, I used to change the extrude boss depth. but it won't rebuild automatically.It rebuilds only after closing the API window and click the rebuild icon.
I want to make it automatically as shown in this video. Please help me.

Added images

Square Square Square

2 answers

  • CADSharp
    CADSharp over 2 years ago

    You can use IModelDoc2::EditRebuild3 to perform a rebuild of only features that need rebuilding, and IModelDoc2::ForceRebuild3 to perform a full rebuild of the feature tree.

    If you're new to the SolidWorks API, you can watch free, beginner-friendly tutorials at www.cadsharp.com.

Add your answer to: "How to rebuild in Solidworks API"

Save Cancel