Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining ALL Sketches

Status
Not open for further replies.

moleary

Computer
Mar 23, 2005
38
How can you iterate over all of the 2D/3D sketches? All of the examples I've found assume that there is an active sketch and all information is pulled from this active sketch. Any help would be appreciated!
 
Replies continue below

Recommended for you

ditto to Scott
moleary, what version/SP are you using?

Chris
Sr. Mechanical Designer, CAD
SolidWorks 05 SP2.0 / PDMWorks 05
ctopher's home site
FAQ371-376
FAQ559-1100
FAQ559-1091
FAQ559-716
 
Use ModelDocExtension::SelectByID2 and test for swSelSKETCHES.

 
If you look at the "Autodimension All Sketches Example (VB)" in the api help it shows you how to search for sketches.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor