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!

VB & Solidworks -- Changing K-FACTOR on SM Part

Status
Not open for further replies.

jh0401

Computer
Apr 8, 2002
32
US
Hi,

We have standard sheet metal templates set
up for 10ga, 12ga, etc in solidworks for our
new parts. I've automated the design process
& part creation through solidworks on several
of our company parts/assemblies.

I've come to some parts that need to be available
in multiple gauges of material but I am unable to
change the K-Factor for the std sheet metal part
material feature through API (so far)...

I can change the bend radius & part thickness on
the sheet metal material feature but can't seem
to access the k-factor on the standard sheet
metal feature.

Does anyone have some sample code or any ideas?

Thanks in advance.
 
Replies continue below

Recommended for you

Try:

CustomBendAllowance.KFactor = kFactor

You can get to underneath SheetMetalFeatureData and CustomBendAllowance.

Evan T. Basalik, MCSD
--------------------------------
It's all about prioritization...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top